Kaydet (Commit) 958d26e1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

The mode lines says we use 4-column indentation steps, so do that then

Also, be consistent in spacing, indentation and alignment. Inconsistency is
infuritating.

In this case, I decided to drop the attempts to align the names of "methods",
and their parameter lists. They were not all aligned anyway, and some of those
that tried to be in fact were off by one column. Also, consistently use a
blank line between the method pointers,

If you feel strongly about this and *want* such inter-line alignment, by all
means re-introduce it, but at least try to be consistent then, and do it for
all methods.

Change-Id: I382ca0eaf8533ebc3f829ebd978a9676ebcefaf0
üst 1d2ade49
......@@ -41,8 +41,12 @@ struct _LibreOfficeKitClass
size_t nSize;
void (*destroy) (LibreOfficeKit* pThis);
LibreOfficeKitDocument* (*documentLoad) (LibreOfficeKit* pThis, const char* pURL);
LibreOfficeKitDocument* (*documentLoad) (LibreOfficeKit* pThis,
const char* pURL);
char* (*getError) (LibreOfficeKit* pThis);
LibreOfficeKitDocument* (*documentLoadWithOptions) (LibreOfficeKit* pThis,
const char* pURL,
const char* pOptions);
......@@ -60,10 +64,12 @@ struct _LibreOfficeKitDocumentClass
size_t nSize;
void (*destroy) (LibreOfficeKitDocument* pThis);
int (*saveAs) (LibreOfficeKitDocument* pThis,
const char* pUrl,
const char* pFormat,
const char* pFilterOptions);
#ifdef LOK_USE_UNSTABLE_API
/// @see lok::Document::getDocumentType().
int (*getDocumentType) (LibreOfficeKitDocument* pThis);
......@@ -73,6 +79,7 @@ struct _LibreOfficeKitDocumentClass
/// @see lok::Document::getPart().
int (*getPart) (LibreOfficeKitDocument* pThis);
/// @see lok::Document::setPart().
void (*setPart) (LibreOfficeKitDocument* pThis,
int nPart);
......@@ -111,32 +118,36 @@ struct _LibreOfficeKitDocumentClass
void* pData);
/// @see lok::Document::postKeyEvent
void (*postKeyEvent)(LibreOfficeKitDocument* pThis,
void (*postKeyEvent) (LibreOfficeKitDocument* pThis,
int nType,
int nCharCode,
int nKeyCode);
/// @see lok::Document::postMouseEvent
void (*postMouseEvent)(LibreOfficeKitDocument* pThis,
void (*postMouseEvent) (LibreOfficeKitDocument* pThis,
int nType,
int nX,
int nY,
int nCount);
/// @see lok::Document::postUnoCommand
void (*postUnoCommand)(LibreOfficeKitDocument* pThis,
void (*postUnoCommand) (LibreOfficeKitDocument* pThis,
const char* pCommand);
/// @see lok::Document::setTextSelection
void (*setTextSelection)(LibreOfficeKitDocument* pThis,
void (*setTextSelection) (LibreOfficeKitDocument* pThis,
int nType,
int nX,
int nY);
/// @see lok::Document::setGraphicSelection
void (*setGraphicSelection)(LibreOfficeKitDocument* pThis,
void (*setGraphicSelection) (LibreOfficeKitDocument* pThis,
int nType,
int nX,
int nY);
/// @see lok::Document::resetSelection
void (*resetSelection)(LibreOfficeKitDocument* pThis);
void (*resetSelection) (LibreOfficeKitDocument* pThis);
#endif // LOK_USE_UNSTABLE_API
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment