LibreOffice Module desktop (master) 1
Functions
lokandroid.cxx File Reference
#include <unistd.h>
#include <jni.h>
#include <sal/types.h>
#include <vcl/event.hxx>
#include <android/log.h>
#include <osl/detail/android-bootstrap.h>
#include <LibreOfficeKit/LibreOfficeKit.h>
Include dependency graph for lokandroid.cxx:

Go to the source code of this file.

Functions

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Office_getError (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_destroy (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_destroyAndExit (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jobject JNICALL Java_org_libreoffice_kit_Office_documentLoadNative (JNIEnv *pEnv, jobject aObject, jstring documentPath)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_setDocumentPassword (JNIEnv *pEnv, jobject aObject, jstring sUrl, jstring sPassword)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_setOptionalFeatures (JNIEnv *pEnv, jobject aObject, jlong options)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_bindMessageCallback (JNIEnv *pEnv, jobject aObject)
 Implementation of org.libreoffice.kit.Office.bindMessageCallback method. More...
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_bindMessageCallback (JNIEnv *pEnv, jobject aObject)
 Implementation of org.libreoffice.kit.Document.bindMessageCallback method. More...
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_destroy (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setPart (JNIEnv *pEnv, jobject aObject, jint aPart)
 
SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getPart (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getPartPageRectangles (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getParts (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getPartName (JNIEnv *pEnv, jobject aObject, jint nPartIndex)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setPartMode (JNIEnv *pEnv, jobject aObject, jint nPartMode)
 
SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getDocumentTypeNative (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_paintTileNative (JNIEnv *pEnv, jobject aObject, jobject aByteBuffer, jint nCanvasWidth, jint nCanvasHeight, jint nTilePosX, jint nTilePosY, jint nTileWidth, jint nTileHeight)
 
SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentHeight (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentWidth (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_initializeForRendering (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_saveAs (JNIEnv *pEnv, jobject aObject, jstring sUrl, jstring sFormat, jstring sOptions)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postKeyEvent (JNIEnv *pEnv, jobject aObject, jint nType, jint nCharCode, jint nKeyCode)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postMouseEvent (JNIEnv *pEnv, jobject aObject, jint type, jint x, jint y, jint count, jint button, jint modifier)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postUnoCommand (JNIEnv *pEnv, jobject aObject, jstring command, jstring arguments, jboolean bNotifyWhenFinished)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setTextSelection (JNIEnv *pEnv, jobject aObject, jint type, jint x, jint y)
 
SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getTextSelection (JNIEnv *pEnv, jobject aObject, jstring mimeType)
 
SAL_JNI_EXPORT jboolean JNICALL Java_org_libreoffice_kit_Document_paste (JNIEnv *pEnv, jobject aObject, jstring mimeType, jstring data)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setGraphicSelection (JNIEnv *pEnv, jobject aObject, jint type, jint x, jint y)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_resetSelection (JNIEnv *pEnv, jobject aObject)
 
SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getCommandValues (JNIEnv *pEnv, jobject aObject, jstring command)
 
SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setClientZoom (JNIEnv *pEnv, jobject aObject, jint nTilePixelWidth, jint nTilePixelHeight, jint nTileTwipWidth, jint nTileTwipHeight)
 

Function Documentation

◆ Java_org_libreoffice_kit_Document_bindMessageCallback()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_bindMessageCallback ( JNIEnv *  pEnv,
jobject  aObject 
)

Implementation of org.libreoffice.kit.Document.bindMessageCallback method.

Definition at line 186 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_destroy()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_destroy ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 200 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getCommandValues()

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getCommandValues ( JNIEnv *  pEnv,
jobject  aObject,
jstring  command 
)

Definition at line 401 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Document_getDocumentHeight()

SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentHeight ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 270 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getDocumentTypeNative()

SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getDocumentTypeNative ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 252 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getDocumentWidth()

SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentWidth ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 280 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getPart()

SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getPart ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 214 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getPartName()

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getPartName ( JNIEnv *  pEnv,
jobject  aObject,
jint  nPartIndex 
)

Definition at line 236 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getPartPageRectangles()

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getPartPageRectangles ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 221 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getParts()

SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_getParts ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 229 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_getTextSelection()

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getTextSelection ( JNIEnv *  pEnv,
jobject  aObject,
jstring  mimeType 
)

Definition at line 353 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Document_initializeForRendering()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_initializeForRendering ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 290 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Document_paintTileNative()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_paintTileNative ( JNIEnv *  pEnv,
jobject  aObject,
jobject  aByteBuffer,
jint  nCanvasWidth,
jint  nCanvasHeight,
jint  nTilePosX,
jint  nTilePosY,
jint  nTileWidth,
jint  nTileHeight 
)

Definition at line 259 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_paste()

SAL_JNI_EXPORT jboolean JNICALL Java_org_libreoffice_kit_Document_paste ( JNIEnv *  pEnv,
jobject  aObject,
jstring  mimeType,
jstring  data 
)

Definition at line 370 of file lokandroid.cxx.

References NULL, pData, and result.

◆ Java_org_libreoffice_kit_Document_postKeyEvent()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postKeyEvent ( JNIEnv *  pEnv,
jobject  aObject,
jint  nType,
jint  nCharCode,
jint  nKeyCode 
)

Definition at line 315 of file lokandroid.cxx.

References nType.

◆ Java_org_libreoffice_kit_Document_postMouseEvent()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postMouseEvent ( JNIEnv *  pEnv,
jobject  aObject,
jint  type,
jint  x,
jint  y,
jint  count,
jint  button,
jint  modifier 
)

Definition at line 322 of file lokandroid.cxx.

References count, type, x, and y.

◆ Java_org_libreoffice_kit_Document_postUnoCommand()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postUnoCommand ( JNIEnv *  pEnv,
jobject  aObject,
jstring  command,
jstring  arguments,
jboolean  bNotifyWhenFinished 
)

Definition at line 329 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Document_resetSelection()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_resetSelection ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 394 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_saveAs()

SAL_JNI_EXPORT jint JNICALL Java_org_libreoffice_kit_Document_saveAs ( JNIEnv *  pEnv,
jobject  aObject,
jstring  sUrl,
jstring  sFormat,
jstring  sOptions 
)

Definition at line 297 of file lokandroid.cxx.

References NULL, and result.

◆ Java_org_libreoffice_kit_Document_setClientZoom()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setClientZoom ( JNIEnv *  pEnv,
jobject  aObject,
jint  nTilePixelWidth,
jint  nTilePixelHeight,
jint  nTileTwipWidth,
jint  nTileTwipHeight 
)

Definition at line 415 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_setGraphicSelection()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setGraphicSelection ( JNIEnv *  pEnv,
jobject  aObject,
jint  type,
jint  x,
jint  y 
)

Definition at line 387 of file lokandroid.cxx.

References type, x, and y.

◆ Java_org_libreoffice_kit_Document_setPart()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setPart ( JNIEnv *  pEnv,
jobject  aObject,
jint  aPart 
)

Definition at line 207 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_setPartMode()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setPartMode ( JNIEnv *  pEnv,
jobject  aObject,
jint  nPartMode 
)

Definition at line 244 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Document_setTextSelection()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setTextSelection ( JNIEnv *  pEnv,
jobject  aObject,
jint  type,
jint  x,
jint  y 
)

Definition at line 346 of file lokandroid.cxx.

References type, x, and y.

◆ Java_org_libreoffice_kit_Office_bindMessageCallback()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_bindMessageCallback ( JNIEnv *  pEnv,
jobject  aObject 
)

Implementation of org.libreoffice.kit.Office.bindMessageCallback method.

Definition at line 169 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Office_destroy()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_destroy ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 58 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Office_destroyAndExit()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_destroyAndExit ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 65 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Office_documentLoadNative()

SAL_JNI_EXPORT jobject JNICALL Java_org_libreoffice_kit_Office_documentLoadNative ( JNIEnv *  pEnv,
jobject  aObject,
jstring  documentPath 
)

Definition at line 128 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Office_getError()

SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Office_getError ( JNIEnv *  pEnv,
jobject  aObject 
)

Definition at line 50 of file lokandroid.cxx.

◆ Java_org_libreoffice_kit_Office_setDocumentPassword()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_setDocumentPassword ( JNIEnv *  pEnv,
jobject  aObject,
jstring  sUrl,
jstring  sPassword 
)

Definition at line 144 of file lokandroid.cxx.

References NULL.

◆ Java_org_libreoffice_kit_Office_setOptionalFeatures()

SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Office_setOptionalFeatures ( JNIEnv *  pEnv,
jobject  aObject,
jlong  options 
)

Definition at line 158 of file lokandroid.cxx.