Update to match core master
Change-Id: I8932f9ea8ebd1addd9679f2f325b4dbafa48578c
This commit is contained in:
parent
fe702b1d11
commit
d0186aadee
2 changed files with 25 additions and 0 deletions
|
@ -356,10 +356,19 @@ struct _LibreOfficeKitDocumentClass
|
|||
|
||||
/// @see lok::Document::getSignatureState().
|
||||
int (*getSignatureState) (LibreOfficeKitDocument* pThis);
|
||||
// END CERTIFICATE AND SIGNING
|
||||
|
||||
/// @see lok::Document::renderShapeSelection
|
||||
size_t (*renderShapeSelection)(LibreOfficeKitDocument* pThis, char** pOutput);
|
||||
|
||||
/// @see lok::Document::postWindowGestureEvent().
|
||||
void (*postWindowGestureEvent) (LibreOfficeKitDocument* pThis,
|
||||
unsigned nWindowId,
|
||||
const char* pType,
|
||||
int nX,
|
||||
int nY,
|
||||
int nOffset);
|
||||
|
||||
#endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
|
||||
};
|
||||
|
||||
|
|
|
@ -629,6 +629,22 @@ public:
|
|||
return mpDoc->pClass->renderShapeSelection(mpDoc, pOutput);
|
||||
}
|
||||
|
||||
/**
|
||||
* Posts a gesture event to the window with given id.
|
||||
*
|
||||
* @param nWindowId
|
||||
* @param pType Event type, like panStart, panEnd, panUpdate.
|
||||
* @param nX horizontal position in document coordinates
|
||||
* @param nY vertical position in document coordinates
|
||||
* @param nOffset difference value from when the gesture started to current value
|
||||
*/
|
||||
void postWindowGestureEvent(unsigned nWindowId,
|
||||
const char* pType,
|
||||
int nX, int nY, int nOffset)
|
||||
{
|
||||
return mpDoc->pClass->postWindowGestureEvent(mpDoc, nWindowId, pType, nX, nY, nOffset);
|
||||
}
|
||||
|
||||
#endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue