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

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 187 of file lokandroid.cxx.

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

Definition at line 201 of file lokandroid.cxx.

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

Definition at line 402 of file lokandroid.cxx.

References NULL.

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

Definition at line 271 of file lokandroid.cxx.

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

Definition at line 253 of file lokandroid.cxx.

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

Definition at line 281 of file lokandroid.cxx.

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

Definition at line 215 of file lokandroid.cxx.

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

Definition at line 237 of file lokandroid.cxx.

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

Definition at line 222 of file lokandroid.cxx.

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

Definition at line 230 of file lokandroid.cxx.

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

Definition at line 354 of file lokandroid.cxx.

References NULL.

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

Definition at line 291 of file lokandroid.cxx.

References NULL.

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 260 of file lokandroid.cxx.

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

Definition at line 371 of file lokandroid.cxx.

References NULL, and result.

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

Definition at line 316 of file lokandroid.cxx.

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 323 of file lokandroid.cxx.

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

Definition at line 330 of file lokandroid.cxx.

References NULL.

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

Definition at line 395 of file lokandroid.cxx.

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

Definition at line 298 of file lokandroid.cxx.

References NULL, and result.

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 416 of file lokandroid.cxx.

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

Definition at line 388 of file lokandroid.cxx.

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

Definition at line 208 of file lokandroid.cxx.

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

Definition at line 245 of file lokandroid.cxx.

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

Definition at line 347 of file lokandroid.cxx.

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 170 of file lokandroid.cxx.

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

Definition at line 59 of file lokandroid.cxx.

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

Definition at line 65 of file lokandroid.cxx.

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

Definition at line 129 of file lokandroid.cxx.

References NULL.

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

Definition at line 51 of file lokandroid.cxx.

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

Definition at line 145 of file lokandroid.cxx.

References NULL.

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

Definition at line 159 of file lokandroid.cxx.