LibreOffice Module desktop (master)
1
|
#include <config_features.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <algorithm>
#include <memory>
#include <iostream>
#include <string_view>
#include <boost/property_tree/json_parser.hpp>
#include <boost/algorithm/string.hpp>
#include <LibreOfficeKit/LibreOfficeKit.h>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <sal/log.hxx>
#include <vcl/errinf.hxx>
#include <vcl/lok.hxx>
#include <o3tl/any.hxx>
#include <osl/file.hxx>
#include <osl/process.h>
#include <osl/thread.h>
#include <rtl/bootstrap.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/uri.hxx>
#include <svl/zforlist.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <comphelper/base64.hxx>
#include <comphelper/dispatchcommand.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <comphelper/profilezone.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/threadpool.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/DispatchResultEvent.hpp>
#include <com/sun/star/frame/DispatchResultState.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XDispatchResultListener.hpp>
#include <com/sun/star/frame/XSynchronousDispatch.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/reflection/theCoreReflection.hpp>
#include <com/sun/star/reflection/XIdlClass.hpp>
#include <com/sun/star/reflection/XIdlReflection.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp>
#include <com/sun/star/datatransfer/XTransferable2.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/document/XRedlinesSupplier.hpp>
#include <com/sun/star/ui/GlobalAcceleratorConfiguration.hpp>
#include <com/sun/star/xml/crypto/SEInitializer.hpp>
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
#include <com/sun/star/xml/crypto/XCertificateCreator.hpp>
#include <com/sun/star/security/XCertificate.hpp>
#include <com/sun/star/linguistic2/LinguServiceManager.hpp>
#include <com/sun/star/linguistic2/XSpellChecker.hpp>
#include <com/sun/star/i18n/LocaleCalendar2.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <editeng/flstitem.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/msgpool.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/lokcharthelper.hxx>
#include <sfx2/DocumentSigner.hxx>
#include <sfx2/sidebar/SidebarDockingWindow.hxx>
#include <sfx2/sidebar/SidebarController.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <svx/svdview.hxx>
#include <svx/svxids.hrc>
#include <svx/ucsubset.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/GestureEvent.hxx>
#include <vcl/svapp.hxx>
#include <unotools/resmgr.hxx>
#include <tools/fract.hxx>
#include <tools/json_writer.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/langtab.hxx>
#include <vcl/fontcharmap.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/virdev.hxx>
#include <vcl/ImageTree.hxx>
#include <vcl/ITiledRenderable.hxx>
#include <vcl/dialoghelper.hxx>
#include <unicode/uchar.h>
#include <unotools/securityoptions.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/confignode.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <unotools/mediadescriptor.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/streamwrap.hxx>
#include <osl/module.hxx>
#include <comphelper/sequence.hxx>
#include <sfx2/sfxbasemodel.hxx>
#include <svl/undo.hxx>
#include <unotools/datetime.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/abstdlg.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/uitest/uiobject.hxx>
#include <vcl/jsdialog/executor.hxx>
#include <com/sun/star/document/XUndoManager.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <editeng/sizeitem.hxx>
#include <svx/rulritem.hxx>
#include <svx/pageitem.hxx>
#include <app.hxx>
#include "../app/cmdlineargs.hxx"
#include "../app/sofficemain.h"
#include "../app/officeipcthread.hxx"
#include <lib/init.hxx>
#include "lokinteractionhandler.hxx"
#include "lokclipboard.hxx"
#include <officecfg/Office/Impress.hxx>
Go to the source code of this file.
Namespaces | |
desktop | |
Enumerations | |
enum | UndoOrRedo |
Functions | |
static void | SetLastExceptionMsg (const OUString &s=OUString()) |
static OUString | getUString (const char *pString) |
static char * | convertOString (const OString &rStr) |
static char * | convertOUString (std::u16string_view aStr) |
static OUString | getAbsoluteURL (const char *pURL) |
Try to convert a relative URL to an absolute one, unless it already looks like a URL. More... | |
static uno::Any | jsonToUnoAny (const boost::property_tree::ptree &aTree) |
static boost::property_tree::ptree | unoAnyToPropertyTree (const uno::Any &anyItem) |
static void | doc_destroy (LibreOfficeKitDocument *pThis) |
static int | doc_saveAs (LibreOfficeKitDocument *pThis, const char *pUrl, const char *pFormat, const char *pFilterOptions) |
static int | doc_getDocumentType (LibreOfficeKitDocument *pThis) |
static int | doc_getParts (LibreOfficeKitDocument *pThis) |
static char * | doc_getPartPageRectangles (LibreOfficeKitDocument *pThis) |
static int | doc_getPart (LibreOfficeKitDocument *pThis) |
static void | doc_setPart (LibreOfficeKitDocument *pThis, int nPart) |
static void | doc_selectPart (LibreOfficeKitDocument *pThis, int nPart, int nSelect) |
static void | doc_moveSelectedParts (LibreOfficeKitDocument *pThis, int nPosition, bool bDuplicate) |
static char * | doc_getPartName (LibreOfficeKitDocument *pThis, int nPart) |
static void | doc_setPartMode (LibreOfficeKitDocument *pThis, int nPartMode) |
static void | doc_paintTile (LibreOfficeKitDocument *pThis, unsigned char *pBuffer, const int nCanvasWidth, const int nCanvasHeight, const int nTilePosX, const int nTilePosY, const int nTileWidth, const int nTileHeight) |
static void | doc_paintPartTile (LibreOfficeKitDocument *pThis, unsigned char *pBuffer, const int nPart, const int nCanvasWidth, const int nCanvasHeight, const int nTilePosX, const int nTilePosY, const int nTileWidth, const int nTileHeight) |
static int | doc_getTileMode (LibreOfficeKitDocument *pThis) |
static void | doc_getDocumentSize (LibreOfficeKitDocument *pThis, long *pWidth, long *pHeight) |
static void | doc_initializeForRendering (LibreOfficeKitDocument *pThis, const char *pArguments) |
static void | doc_registerCallback (LibreOfficeKitDocument *pThis, LibreOfficeKitCallback pCallback, void *pData) |
static void | doc_postKeyEvent (LibreOfficeKitDocument *pThis, int nType, int nCharCode, int nKeyCode) |
static void | doc_postWindowExtTextInputEvent (LibreOfficeKitDocument *pThis, unsigned nWindowId, int nType, const char *pText) |
static void | doc_removeTextContext (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, int nCharBefore, int nCharAfter) |
static void | doc_sendDialogEvent (LibreOfficeKitDocument *pThis, unsigned long long int nLOKWindowId, const char *pArguments) |
static void | doc_postWindowKeyEvent (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, int nType, int nCharCode, int nKeyCode) |
static void | doc_postMouseEvent (LibreOfficeKitDocument *pThis, int nType, int nX, int nY, int nCount, int nButtons, int nModifier) |
static void | doc_postWindowMouseEvent (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, int nType, int nX, int nY, int nCount, int nButtons, int nModifier) |
static void | doc_postWindowGestureEvent (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, const char *pType, int nX, int nY, int nOffset) |
static void | doc_postUnoCommand (LibreOfficeKitDocument *pThis, const char *pCommand, const char *pArguments, bool bNotifyWhenFinished) |
static void | doc_setWindowTextSelection (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, bool swap, int nX, int nY) |
static void | doc_setTextSelection (LibreOfficeKitDocument *pThis, int nType, int nX, int nY) |
static char * | doc_getTextSelection (LibreOfficeKitDocument *pThis, const char *pMimeType, char **pUsedMimeType) |
static int | doc_getSelectionType (LibreOfficeKitDocument *pThis) |
static int | doc_getClipboard (LibreOfficeKitDocument *pThis, const char **pMimeTypes, size_t *pOutCount, char ***pOutMimeTypes, size_t **pOutSizes, char ***pOutStreams) |
static int | doc_setClipboard (LibreOfficeKitDocument *pThis, const size_t nInCount, const char **pInMimeTypes, const size_t *pInSizes, const char **pInStreams) |
static bool | doc_paste (LibreOfficeKitDocument *pThis, const char *pMimeType, const char *pData, size_t nSize) |
static void | doc_setGraphicSelection (LibreOfficeKitDocument *pThis, int nType, int nX, int nY) |
static void | doc_resetSelection (LibreOfficeKitDocument *pThis) |
static char * | doc_getCommandValues (LibreOfficeKitDocument *pThis, const char *pCommand) |
static void | doc_setClientZoom (LibreOfficeKitDocument *pThis, int nTilePixelWidth, int nTilePixelHeight, int nTileTwipWidth, int nTileTwipHeight) |
static void | doc_setClientVisibleArea (LibreOfficeKitDocument *pThis, int nX, int nY, int nWidth, int nHeight) |
static void | doc_setOutlineState (LibreOfficeKitDocument *pThis, bool bColumn, int nLevel, int nIndex, bool bHidden) |
static int | doc_createView (LibreOfficeKitDocument *pThis) |
static int | doc_createViewWithOptions (LibreOfficeKitDocument *pThis, const char *pOptions) |
static void | doc_destroyView (LibreOfficeKitDocument *pThis, int nId) |
static void | doc_setView (LibreOfficeKitDocument *pThis, int nId) |
static int | doc_getView (LibreOfficeKitDocument *pThis) |
static int | doc_getViewsCount (LibreOfficeKitDocument *pThis) |
static bool | doc_getViewIds (LibreOfficeKitDocument *pThis, int *pArray, size_t nSize) |
static void | doc_setViewLanguage (LibreOfficeKitDocument *pThis, int nId, const char *language) |
static unsigned char * | doc_renderFontOrientation (LibreOfficeKitDocument *pThis, const char *pFontName, const char *pChar, int *pFontWidth, int *pFontHeight, int pOrientation) |
static unsigned char * | doc_renderFont (LibreOfficeKitDocument *pThis, const char *pFontName, const char *pChar, int *pFontWidth, int *pFontHeight) |
static char * | doc_getPartHash (LibreOfficeKitDocument *pThis, int nPart) |
static void | doc_paintWindow (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, unsigned char *pBuffer, const int nX, const int nY, const int nWidth, const int nHeight) |
static void | doc_paintWindowDPI (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, unsigned char *pBuffer, const int nX, const int nY, const int nWidth, const int nHeight, const double fDPIScale) |
static void | doc_paintWindowForView (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, unsigned char *pBuffer, const int nX, const int nY, const int nWidth, const int nHeight, const double fDPIScale, int viewId) |
static void | doc_postWindow (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, int nAction, const char *pData) |
static char * | doc_getPartInfo (LibreOfficeKitDocument *pThis, int nPart) |
static bool | doc_insertCertificate (LibreOfficeKitDocument *pThis, const unsigned char *pCertificateBinary, const int nCertificateBinarySize, const unsigned char *pPrivateKeyBinary, const int nPrivateKeyBinarySize) |
static bool | doc_addCertificate (LibreOfficeKitDocument *pThis, const unsigned char *pCertificateBinary, const int nCertificateBinarySize) |
static int | doc_getSignatureState (LibreOfficeKitDocument *pThis) |
static size_t | doc_renderShapeSelection (LibreOfficeKitDocument *pThis, char **pOutput) |
static void | doc_resizeWindow (LibreOfficeKitDocument *pThis, unsigned nLOKWindowId, const int nWidth, const int nHeight) |
static void | doc_completeFunction (LibreOfficeKitDocument *pThis, const char *) |
static void | doc_sendFormFieldEvent (LibreOfficeKitDocument *pThis, const char *pArguments) |
static OUString | getGenerator () |
static void | lo_destroy (LibreOfficeKit *pThis) |
static int | lo_initialize (LibreOfficeKit *pThis, const char *pInstallPath, const char *pUserProfilePath) |
static LibreOfficeKitDocument * | lo_documentLoad (LibreOfficeKit *pThis, const char *pURL) |
static char * | lo_getError (LibreOfficeKit *pThis) |
static void | lo_freeError (char *pFree) |
static LibreOfficeKitDocument * | lo_documentLoadWithOptions (LibreOfficeKit *pThis, const char *pURL, const char *pOptions) |
static void | lo_registerCallback (LibreOfficeKit *pThis, LibreOfficeKitCallback pCallback, void *pData) |
static char * | lo_getFilterTypes (LibreOfficeKit *pThis) |
static void | lo_setOptionalFeatures (LibreOfficeKit *pThis, unsigned long long features) |
static void | lo_setDocumentPassword (LibreOfficeKit *pThis, const char *pURL, const char *pPassword) |
static char * | lo_getVersionInfo (LibreOfficeKit *pThis) |
static int | lo_runMacro (LibreOfficeKit *pThis, const char *pURL) |
static bool | lo_signDocument (LibreOfficeKit *pThis, const char *pUrl, const unsigned char *pCertificateBinary, const int nCertificateBinarySize, const unsigned char *pPrivateKeyBinary, const int nPrivateKeyBinarySize) |
static void | lo_runLoop (LibreOfficeKit *pThis, LibreOfficeKitPollCallback pPollCallback, LibreOfficeKitWakeCallback pWakeCallback, void *pData) |
static void | lo_sendDialogEvent (LibreOfficeKit *pThis, unsigned long long int nLOKWindowId, const char *pArguments) |
static void | doc_iniUnoCommands () |
Initialize UNO commands, in the sense that from now on, the LOK client gets updates for status changes of these commands. More... | |
static void | doc_setPartImpl (LibreOfficeKitDocument *pThis, int nPart, bool bAllowChangeFocus=true) |
static int | doc_getTileMode (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *) |
static char * | getPostIts (LibreOfficeKitDocument *pThis) |
Returns the JSON representation of all the comments in the document. More... | |
static char * | getPostItsPos (LibreOfficeKitDocument *pThis) |
Returns the JSON representation of the positions of all the comments in the document. More... | |
static char * | getRulerState (LibreOfficeKitDocument *pThis) |
static void | lcl_sendDialogEvent (unsigned long long int nWindowId, const char *pArguments) |
static bool | getFromTransferrable (const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, const OString &aInMimeType, OString &aRet) |
static bool | encodeImageAsHTML (const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, const OString &aMimeType, OString &aRet) |
static bool | encodeTextAsHTML (const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, const OString &aMimeType, OString &aRet) |
static char * | getLanguages (const char *pCommand) |
static char * | getFonts (const char *pCommand) |
static char * | getFontSubset (std::string_view aFontName) |
static char * | getStyles (LibreOfficeKitDocument *pThis, const char *pCommand) |
static char * | getUndoOrRedo (LibreOfficeKitDocument *pThis, UndoOrRedo eCommand) |
Returns the JSON representation of either an undo or a redo stack. More... | |
static char * | getTrackedChanges (LibreOfficeKitDocument *pThis) |
Returns the JSON representation of the redline stack. More... | |
static char * | getTrackedChangeAuthors (LibreOfficeKitDocument *pThis) |
Returns the JSON representation of the redline author table. More... | |
static void | doc_destroyView (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *, int nId) |
static void | doc_setView (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *, int nId) |
static int | doc_getView (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *) |
static int | doc_getViewsCount (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *pThis) |
static bool | doc_getViewIds (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *pThis, int *pArray, size_t nSize) |
static void | doc_setViewLanguage (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *, int nId, const char *language) |
unsigned char * | doc_renderFontOrientation (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *, const char *pFontName, const char *pChar, int *pFontWidth, int *pFontHeight, int pOrientation) |
static char * | lo_getVersionInfo (SAL_UNUSED_PARAMETER LibreOfficeKit *) |
static void | aBasicErrorFunc (const OUString &rError, const OUString &rAction) |
static bool | initialize_uno (const OUString &aAppProgramURL) |
static void | lo_startmain (void *) |
static void | lo_status_indicator_callback (void *data, comphelper::LibreOfficeKit::statusIndicatorCallbackType type, int percent) |
static void | preloadData () |
Used only by LibreOfficeKit when used by Online to pre-initialize. More... | |
SAL_JNI_EXPORT LibreOfficeKit * | libreofficekit_hook_2 (const char *install_path, const char *user_profile_url) |
SAL_JNI_EXPORT LibreOfficeKit * | libreofficekit_hook (const char *install_path) |
SAL_JNI_EXPORT int | lok_preinit (const char *install_path, const char *user_profile_url) |
Variables | |
static LibLibreOffice_Impl * | gImpl = nullptr |
static std::weak_ptr< LibreOfficeKitClass > | gOfficeClass |
static std::weak_ptr< LibreOfficeKitDocumentClass > | gDocumentClass |
const ExtensionMap | aWriterExtensionMap [] |
const ExtensionMap | aCalcExtensionMap [] |
const ExtensionMap | aImpressExtensionMap [] |
const ExtensionMap | aDrawExtensionMap [] |
static uno::Reference< css::uno::XComponentContext > | xContext |
static uno::Reference< css::lang::XMultiServiceFactory > | xSFactory |
static uno::Reference< css::lang::XMultiComponentFactory > | xFactory |
static bool | bInitialized = false |
|
strong |
|
static |
Definition at line 5844 of file init.cxx.
References aBuffer, and OUStringToOString().
Referenced by lo_initialize().
|
static |
Definition at line 281 of file init.cxx.
References assert().
Referenced by convertOUString(), doc_getClipboard(), doc_getCommandValues(), and doc_getTextSelection().
|
static |
Definition at line 289 of file init.cxx.
References convertOString(), and OUStringToOString().
Referenced by doc_getPartHash(), doc_getPartInfo(), doc_getPartName(), doc_getPartPageRectangles(), lo_getError(), and lo_getVersionInfo().
|
static |
Definition at line 5603 of file init.cxx.
References dp_registry::backend::bundle::create(), comphelper::Base64::decode(), SfxBaseModel::GetObjectShell(), desktop::LibLODocument_Impl::mxComponent, and SAL_INFO.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5702 of file init.cxx.
References vcl::ITiledRenderable::completeFunction(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5211 of file init.cxx.
References doc_createViewWithOptions().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5178 of file init.cxx.
References SfxLokHelper::createView(), desktop::extractParameter(), getUString(), desktop::LibLODocument_Impl::mnDocumentId, nId, SfxLokHelper::setDeviceFormFactor(), comphelper::LibreOfficeKit::setLanguageTag(), SetLastExceptionMsg(), comphelper::LibreOfficeKit::setLocale(), u, and void().
Referenced by doc_createView(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2032 of file init.cxx.
References LOKClipboardFactory::releaseClipboardForView().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
Definition at line 5216 of file init.cxx.
References SfxLokHelper::destroyView(), LOKClipboardFactory::releaseClipboardForView(), and SetLastExceptionMsg().
|
static |
Definition at line 4377 of file init.cxx.
References assert(), convertOString(), LOKClipboardFactory::getClipboardForCurView(), getFromTransferrable(), i, OUStringToOString(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4930 of file init.cxx.
References aArguments, aCommand, convertOString(), tools::JsonWriter::extractData(), vcl::ITiledRenderable::getCellCursor(), getFonts(), getFontSubset(), getLanguages(), getPostIts(), getPostItsPos(), vcl::ITiledRenderable::getRowColumnHeaders(), getRulerState(), vcl::ITiledRenderable::getSheetGeometryData(), getStyles(), getTrackedChangeAuthors(), getTrackedChanges(), getUndoOrRedo(), nIndex, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3343 of file init.cxx.
References vcl::ITiledRenderable::getDocumentSize(), Size::Height(), SetLastExceptionMsg(), and Size::Width().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2902 of file init.cxx.
References desktop::LibLODocument_Impl::mxComponent, and SetLastExceptionMsg().
Referenced by doc_paintPartTile(), doc_renderShapeSelection(), doc_saveAs(), doc_sendFormFieldEvent(), getStyles(), getTrackedChanges(), desktop::LibLODocument_Impl::LibLODocument_Impl(), and desktop::CallbackFlushHandler::queue().
|
static |
Definition at line 2959 of file init.cxx.
References vcl::ITiledRenderable::getPart(), and SetLastExceptionMsg().
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3079 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartHash(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2998 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartInfo(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3062 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartName(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3045 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartPageRectangles(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2943 of file init.cxx.
References vcl::ITiledRenderable::getParts(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4342 of file init.cxx.
References getFromTransferrable(), vcl::ITiledRenderable::getSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5661 of file init.cxx.
References SfxObjectShell::GetDocumentSignatureState(), SfxBaseModel::GetObjectShell(), desktop::LibLODocument_Impl::mxComponent, and SfxObjectShell::RecheckSignature().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl(), and lo_documentLoadWithOptions().
|
static |
Definition at line 4301 of file init.cxx.
References convertOString(), getFromTransferrable(), vcl::ITiledRenderable::getSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3337 of file init.cxx.
References SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5238 of file init.cxx.
References SfxLokHelper::getView(), and SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5259 of file init.cxx.
References SfxLokHelper::getViewIds(), desktop::LibLODocument_Impl::mnDocumentId, and SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5248 of file init.cxx.
References SfxLokHelper::getViewsCount(), desktop::LibLODocument_Impl::mnDocumentId, and SetLastExceptionMsg().
|
static |
Definition at line 3365 of file init.cxx.
References comphelper::containerToSequence(), doc_iniUnoCommands(), vcl::ITiledRenderable::initializeForTiledRendering(), desktop::jsonToPropertyValuesVector(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Initialize UNO commands, in the sense that from now on, the LOK client gets updates for status changes of these commands.
This is necessary, because (unlike in the desktop case) there are no toolbars hosting widgets these UNO commands, so no such status updates would be sent to the headless LOK clients out of the box.
Definition at line 2671 of file init.cxx.
References dp_registry::backend::bundle::create(), SfxViewShell::Current(), SfxViewFrame::GetBindings(), SfxBindings::GetDispatch(), comphelper::getProcessComponentContext(), SfxSlotPool::GetSlotPool(), SfxSlotPool::GetUnoSlot(), SfxViewShell::GetViewFrame(), SAL_WARN, and SetLastExceptionMsg().
Referenced by doc_initializeForRendering().
|
static |
Definition at line 5530 of file init.cxx.
References dp_registry::backend::bundle::create(), comphelper::Base64::decode(), SfxBaseModel::GetObjectShell(), desktop::LibLODocument_Impl::mxComponent, and SfxObjectShell::SignDocumentContentUsingCertificate().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3029 of file init.cxx.
References desktop::LibLibreOffice_Impl::maLastExceptionMsg, and vcl::ITiledRenderable::moveSelectedParts().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3235 of file init.cxx.
References doc_getDocumentType(), doc_getPart(), doc_getView(), doc_getViewIds(), doc_getViewsCount(), doc_paintTile(), doc_setPartImpl(), doc_setView(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), SfxViewShell::getPart(), SfxViewShell::GetViewShellId(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3135 of file init.cxx.
References COL_LIGHTRED, COL_TRANSPARENT(), vcl::ITiledRenderable::paintTile(), Point, SAL_INFO, comphelper::LibreOfficeKit::setDPIScale(), SetLastExceptionMsg(), and void().
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5400 of file init.cxx.
References doc_paintWindowDPI().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5408 of file init.cxx.
References doc_paintWindowForView().
Referenced by doc_paintWindow(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5417 of file init.cxx.
References COL_TRANSPARENT(), doc_setView(), vcl::Window::FindLOKWindow(), VclPtr< reference_type >::get(), vcl::Window::PaintToDevice(), Point, comphelper::LibreOfficeKit::setDialogPainting(), comphelper::LibreOfficeKit::setDPIScale(), and SetLastExceptionMsg().
Referenced by doc_paintWindowDPI(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4503 of file init.cxx.
References aPropertyValues, comphelper::dispatchCommand(), doc_setClipboard(), comphelper::InitPropertySequence(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3488 of file init.cxx.
References vcl::ITiledRenderable::postKeyEvent(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4038 of file init.cxx.
References vcl::ITiledRenderable::postMouseEvent(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3834 of file init.cxx.
References aCommand, aMimeType, aURL, comphelper::containerToSequence(), SfxObjectShell::Current(), SfxViewShell::Current(), comphelper::dispatchCommand(), doc_saveAs(), LokChartHelper::GetChartBoundingBox(), SfxViewShell::GetDrawView(), SfxLokHelper::getView(), LokChartHelper::GetWindow(), LokChartHelper::GetXDispatcher(), SfxObjectShell::IsModified(), vcl::lok::isUnipoll(), desktop::jsonToPropertyValuesVector(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, desktop::LibLODocument_Impl::mxComponent, Name, OUStringToOString(), SetLastExceptionMsg(), tools::Rectangle::Top(), u, unoAnyToPropertyTree(), and value.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5485 of file init.cxx.
References aEvent, aMimeType, vcl::CloseTopLevel(), vcl::Window::FindLOKWindow(), desktop::jsonToPropertyValuesVector(), KEY_PASTE, Name, Application::PostKeyEvent(), vcl::Window::SetClipboard(), SetLastExceptionMsg(), and Value.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3513 of file init.cxx.
References vcl::Window::FindLOKWindow(), vcl::ITiledRenderable::getDocWindow(), SfxLokHelper::postExtTextEventAsync(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4099 of file init.cxx.
References aEvent, vcl::EnableDialogInput(), vcl::Window::FindLOKWindow(), Application::PostGestureEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3598 of file init.cxx.
References aEvent, assert(), vcl::Window::FindLOKWindow(), Application::PostKeyEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4062 of file init.cxx.
References aEvent, assert(), vcl::EnableDialogInput(), vcl::Window::FindLOKWindow(), Point, Application::PostMouseEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3382 of file init.cxx.
References desktop::CallbackFlushHandler::callback(), SfxViewShell::Current(), SfxLokHelper::getView(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, nId, SfxViewShell::registerLibreOfficeKitViewCallback(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3543 of file init.cxx.
References vcl::Window::FindLOKWindow(), vcl::ITiledRenderable::getDocWindow(), i, vcl::Window::KeyInput(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, and SfxLokHelper::postKeyEventAsync().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5284 of file init.cxx.
References doc_renderFontOrientation().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by doc_renderFont(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
unsigned char* doc_renderFontOrientation | ( | SAL_UNUSED_PARAMETER LibreOfficeKitDocument * | , |
const char * | pFontName, | ||
const char * | pChar, | ||
int * | pFontWidth, | ||
int * | pFontHeight, | ||
int | pOrientation | ||
) |
Definition at line 5293 of file init.cxx.
References tools::Rectangle::Bottom(), COL_TRANSPARENT(), SfxObjectShell::Current(), vcl::Font::GetFamilyName(), SvxFontListItem::GetFontList(), FontList::GetFontName(), FontList::GetFontNameCount(), SfxShell::GetItem(), i, tools::Rectangle::IsEmpty(), Point, tools::Rectangle::Right(), vcl::Font::SetFontSize(), SetLastExceptionMsg(), and vcl::Font::SetOrientation().
|
static |
Definition at line 3628 of file init.cxx.
References SfxViewShell::Current(), doc_getDocumentType(), exceptionToString(), cppu::getCaughtException(), SvMemoryStream::GetData(), SvMemoryStream::GetEndOfData(), LokChartHelper::GetWindow(), desktop::LibLODocument_Impl::mxComponent, SAL_WARN, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4550 of file init.cxx.
References vcl::ITiledRenderable::resetSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5685 of file init.cxx.
References vcl::Window::FindLOKWindow(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, and vcl::Window::SetSizePixel().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2501 of file init.cxx.
References aCalcExtensionMap, aDrawExtensionMap, aImpressExtensionMap, aIndex, aURL, aWriterExtensionMap, comphelper::string::convertCommaSeparated(), doc_getDocumentType(), comphelper::SequenceAsHashMap::empty(), getAbsoluteURL(), comphelper::SequenceAsHashMap::getAsConstPropertyValueList(), getUString(), i, idx, desktop::LibLODocument_Impl::mxComponent, SAL_INFO, and SetLastExceptionMsg().
Referenced by doc_postUnoCommand(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
Definition at line 3013 of file init.cxx.
References desktop::LibLibreOffice_Impl::maLastExceptionMsg, and vcl::ITiledRenderable::selectPart().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3824 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5718 of file init.cxx.
References aMap, doc_getDocumentType(), vcl::ITiledRenderable::executeFromFieldEvent(), jsdialog::jsonToStringMap(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5143 of file init.cxx.
References Point, vcl::ITiledRenderable::setClientVisibleArea(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5125 of file init.cxx.
References vcl::ITiledRenderable::setClientZoom(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4462 of file init.cxx.
References vcl::ITiledRenderable::isMimeTypeSupported(), SAL_INFO, SetLastExceptionMsg(), and void().
Referenced by doc_paste(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4533 of file init.cxx.
References vcl::ITiledRenderable::setGraphicSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5161 of file init.cxx.
References SetLastExceptionMsg(), and vcl::ITiledRenderable::setOutlineState().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
Definition at line 2993 of file init.cxx.
References doc_setPartImpl().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2976 of file init.cxx.
References SetLastExceptionMsg(), and vcl::ITiledRenderable::setPart().
Referenced by doc_paintPartTile(), and doc_setPart().
Definition at line 3096 of file init.cxx.
References vcl::ITiledRenderable::getPart(), SetLastExceptionMsg(), vcl::ITiledRenderable::setPart(), and vcl::ITiledRenderable::setPartMode().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4134 of file init.cxx.
References SetLastExceptionMsg(), and vcl::ITiledRenderable::setTextSelection().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
Referenced by doc_paintPartTile(), doc_paintWindowForView(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
Definition at line 5228 of file init.cxx.
References SetLastExceptionMsg(), and SfxLokHelper::setView().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5270 of file init.cxx.
References SetLastExceptionMsg(), SfxLokHelper::setViewLanguage(), and SfxLokHelper::setViewLocale().
|
static |
Definition at line 4151 of file init.cxx.
References vcl::Window::FindLOKWindow(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutOffYPixel(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, Point, Application::PostMouseEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4180 of file init.cxx.
References aSeq, comphelper::Base64::encode(), getFromTransferrable(), and getGenerator().
Referenced by getFromTransferrable().
|
static |
Definition at line 4206 of file init.cxx.
References getFromTransferrable(), and getGenerator().
Referenced by getFromTransferrable().
|
static |
Try to convert a relative URL to an absolute one, unless it already looks like a URL.
Definition at line 295 of file init.cxx.
References aURL, and getUString().
Referenced by doc_saveAs(), lo_documentLoadWithOptions(), and lo_signDocument().
|
static |
Definition at line 4608 of file init.cxx.
References assert(), SfxObjectShell::Current(), vcl::Font::GetFamilyName(), SvxFontListItem::GetFontList(), FontList::GetFontName(), FontList::GetFontNameCount(), SfxShell::GetItem(), FontList::GetSizeAry(), and i.
Referenced by doc_getCommandValues().
|
static |
Definition at line 4647 of file init.cxx.
References assert(), SfxObjectShell::Current(), vcl::Font::GetFamilyName(), SvxFontListItem::GetFontList(), FontList::GetFontName(), FontList::GetFontNameCount(), SfxShell::GetItem(), and SubsetMap::GetSubsetMap().
Referenced by doc_getCommandValues().
|
static |
Definition at line 4224 of file init.cxx.
References aMimeType, encodeImageAsHTML(), encodeTextAsHTML(), cppu::UnoType< class >::get(), nIndex, OUStringToOString(), and SetLastExceptionMsg().
Referenced by doc_getClipboard(), doc_getSelectionType(), doc_getTextSelection(), encodeImageAsHTML(), and encodeTextAsHTML().
|
static |
Definition at line 1322 of file init.cxx.
References Translate::ExpandVariables().
Referenced by encodeImageAsHTML(), and encodeTextAsHTML().
|
static |
Definition at line 4567 of file init.cxx.
References assert(), dp_registry::backend::bundle::create(), LanguageTag::getBcp47(), SvtLanguageTable::GetLanguageString(), and LanguageTag::getLanguageType().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of all the comments in the document.
Definition at line 3445 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getPostIts(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of the positions of all the comments in the document.
Definition at line 3460 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getPostItsPos(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 3474 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getRulerState(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 4700 of file init.cxx.
References aCommand, aName, assert(), doc_getDocumentType(), desktop::LibLODocument_Impl::mxComponent, sName, SvxResId(), and u.
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of the redline author table.
Definition at line 4917 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getTrackedChangeAuthors(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of the redline stack.
Definition at line 4860 of file init.cxx.
References doc_getDocumentType(), tools::JsonWriter::extractData(), vcl::ITiledRenderable::getTrackedChanges(), desktop::LibLODocument_Impl::mxComponent, nIndex, tools::JsonWriter::put(), SetLastExceptionMsg(), tools::JsonWriter::startArray(), tools::JsonWriter::startStruct(), sType, and utl::toISO8601().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of either an undo or a redo stack.
Definition at line 4834 of file init.cxx.
References SfxBaseModel::GetObjectShell(), SfxUndoManager::GetRedoActionsInfo(), SfxUndoManager::GetUndoActionsInfo(), SfxShell::GetUndoManager(), and desktop::LibLODocument_Impl::mxComponent.
Referenced by doc_getCommandValues().
|
static |
Definition at line 271 of file init.cxx.
Referenced by doc_createViewWithOptions(), doc_saveAs(), getAbsoluteURL(), and lo_documentLoadWithOptions().
|
static |
Definition at line 5854 of file init.cxx.
References cppu::defaultBootstrap_InitialComponentContext(), SAL_CONFIGFILE, SAL_INFO, SetLastExceptionMsg(), and comphelper::setProcessServiceFactory().
Referenced by lo_initialize().
|
static |
Definition at line 318 of file init.cxx.
References comphelper::getProcessComponentContext(), rValue, toDouble(), and toInt32().
Referenced by desktop::jsonToPropertyValuesVector().
|
static |
Definition at line 3740 of file init.cxx.
References aMap, SfxViewShell::Current(), jsdialog::ExecuteAction(), vcl::Window::FindLOKWindow(), WindowUIObject::get_visible_child(), jsdialog::jsonToStringMap(), OUStringToOString(), vcl::Window::Resize(), SetLastExceptionMsg(), and u.
Referenced by doc_sendDialogEvent(), and lo_sendDialogEvent().
SAL_JNI_EXPORT LibreOfficeKit* libreofficekit_hook | ( | const char * | install_path | ) |
Definition at line 6433 of file init.cxx.
References libreofficekit_hook_2().
SAL_JNI_EXPORT LibreOfficeKit* libreofficekit_hook_2 | ( | const char * | install_path, |
const char * | user_profile_url | ||
) |
Definition at line 6417 of file init.cxx.
References gImpl, lo_destroy(), lo_initialize(), and SAL_INFO.
Referenced by libreofficekit_hook().
|
static |
Definition at line 6444 of file init.cxx.
References dp_registry::backend::bundle::create(), GetpApp(), comphelper::getProcessComponentContext(), desktop::LibLibreOffice_Impl::maThread, Application::QueryExit(), Application::Quit(), SAL_INFO, and comphelper::LibreOfficeKit::setStatusIndicatorCallback().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl(), and libreofficekit_hook_2().
|
static |
Definition at line 2177 of file init.cxx.
References lo_documentLoadWithOptions().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2182 of file init.cxx.
References assert(), aURL, dp_registry::backend::bundle::create(), doc_getSignatureState(), desktop::extractParameter(), getAbsoluteURL(), comphelper::getProcessComponentContext(), getUString(), SvNumberFormatter::IsNumberFormat(), LanguageTag::isValidBcp47(), LANGUAGE_ENGLISH_US, desktop::LibLibreOffice_Impl::maLastExceptionMsg, desktop::LibLibreOffice_Impl::mInteractionMap, desktop::LibLibreOffice_Impl::mpCallback, desktop::LibLibreOffice_Impl::mpCallbackData, nState, pLib, SvNumberFormatter::resetTheCurrencyTable(), SAL_INFO, SfxViewShell::SetCurrentDocId(), SfxLokHelper::setDefaultLanguage(), SfxLokHelper::setDeviceFormFactor(), Application::SetDialogCancelMode(), comphelper::LibreOfficeKit::setLanguageTag(), comphelper::LibreOfficeKit::setLocale(), TOOLS_INFO_EXCEPTION, and u.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl(), and lo_documentLoad().
|
static |
Definition at line 5754 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5744 of file init.cxx.
References convertOUString(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, and pLib.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5759 of file init.cxx.
References aTypes, comphelper::getProcessServiceFactory(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, rValue, and SetLastExceptionMsg().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5832 of file init.cxx.
References convertOUString(), desktop::ReplaceStringHookProc(), and SetLastExceptionMsg().
|
static |
Definition at line 6097 of file init.cxx.
References aBasicErrorFunc(), assert(), bInitialized, desktop::Desktop::CheckExtensionDependencies(), close, comphelper::ConfigurationChanges::create(), VclAbstractDialogFactory::Create(), desktop::Desktop::CreateTemporaryDirectory(), desktop::RequestHandler::Enable(), desktop::Desktop::GetCommandLineArgs(), SfxApplication::GetOrCreate(), comphelper::ThreadPool::getSharedOptimalPool(), Application::GetSolarMutex(), initialize_uno(), InitVCL(), lo_startmain(), lo_status_indicator_callback(), desktop::LibLibreOffice_Impl::maThread, OUStringToOString(), pLib, preloadData(), ErrorRegistry::RegisterDisplay(), comphelper::SolarMutex::release(), Application::ReleaseSolarMutex(), utl::Bootstrap::reloadData(), SAL_INFO, SAL_WARN, comphelper::LibreOfficeKit::setActive(), comphelper::LibreOfficeKit::setCompatFlag(), desktop::CommandLineArgs::setHeadless(), desktop::RequestHandler::SetReady(), comphelper::LibreOfficeKit::setStatusIndicatorCallback(), SvtPathOptions::SetTempPath(), comphelper::ThreadPool::shutdown(), comphelper::string::split(), comphelper::ProfileRecording::startRecording(), desktop::Desktop::SynchronizeExtensionRepositories(), u, VclBuilderPreload(), and desktop::RequestHandler::WaitForReady().
Referenced by libreofficekit_hook_2(), and lok_preinit().
|
static |
Definition at line 2485 of file init.cxx.
References assert(), GetpApp(), Application::m_pCallback, Application::m_pCallbackData, desktop::LibLibreOffice_Impl::maLastExceptionMsg, desktop::LibLibreOffice_Impl::mpCallback, desktop::LibLibreOffice_Impl::mpCallbackData, and pLib.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5912 of file init.cxx.
References comphelper::SolarMutex::acquire(), Application::GetSolarMutex(), vcl::lok::registerPollCallbacks(), Application::ReleaseSolarMutex(), soffice_main(), vcl::lok::unregisterPollCallbacks(), and Application::UpdateMainThread().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2328 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, pLib, SAL_INFO, and uno::Any::Value.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 3829 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5817 of file init.cxx.
References assert(), desktop::LibLibreOffice_Impl::mInteractionMap, pLib, and SetLastExceptionMsg().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 5798 of file init.cxx.
References desktop::LibLibreOffice_Impl::mOptionalFeatures, pLib, SetLastExceptionMsg(), comphelper::LibreOfficeKit::setPartInInvalidation(), comphelper::LibreOfficeKit::setRangeHeaders(), comphelper::LibreOfficeKit::setTiledAnnotations(), and comphelper::LibreOfficeKit::setViewIdForVisCursorInvalidation().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2417 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), comphelper::Base64::decode(), getAbsoluteURL(), and sfx2::DocumentSigner::signDocument().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
Definition at line 5897 of file init.cxx.
References comphelper::SolarMutex::get(), Application::GetSolarMutex(), Application::ReleaseSolarMutex(), soffice_main(), comphelper::SolarMutex::tryToAcquire(), and Application::UpdateMainThread().
Referenced by lo_initialize().
|
static |
Definition at line 5936 of file init.cxx.
References comphelper::LibreOfficeKit::Finish, desktop::LibLibreOffice_Impl::mpCallback, desktop::LibLibreOffice_Impl::mpCallbackData, pLib, comphelper::LibreOfficeKit::SetValue, and comphelper::LibreOfficeKit::Start.
Referenced by lo_initialize().
SAL_JNI_EXPORT int lok_preinit | ( | const char * | install_path, |
const char * | user_profile_url | ||
) |
Definition at line 6439 of file init.cxx.
References lo_initialize().
|
static |
Used only by LibreOfficeKit when used by Online to pre-initialize.
Definition at line 5959 of file init.cxx.
References ASIAN, desktop::Desktop::CheckExtensionDependencies(), COMPLEX, LanguageTag::convertToLanguageType(), dp_registry::backend::bundle::create(), utl::TempFile::EnableKillingFile(), ImageTree::get(), OutputDevice::GetDefaultFont(), ImageTree::getImageUrl(), comphelper::getProcessComponentContext(), utl::TempFile::GetURL(), SvtLanguageTable::HasLanguageType(), LanguageTag::isValidBcp47(), LANGUAGE_SYSTEM, LATIN, MsLangId::resolveSystemLanguageByScriptType(), desktop::Desktop::SynchronizeExtensionRepositories(), and void().
Referenced by lo_initialize().
|
static |
Definition at line 188 of file init.cxx.
References desktop::LibLibreOffice_Impl::maLastExceptionMsg, and SAL_WARN_IF.
Referenced by doc_completeFunction(), doc_createViewWithOptions(), doc_destroyView(), doc_getClipboard(), doc_getCommandValues(), doc_getDocumentSize(), doc_getDocumentType(), doc_getPart(), doc_getPartHash(), doc_getPartInfo(), doc_getPartName(), doc_getPartPageRectangles(), doc_getParts(), doc_getSelectionType(), doc_getTextSelection(), doc_getTileMode(), doc_getView(), doc_getViewIds(), doc_getViewsCount(), doc_initializeForRendering(), doc_iniUnoCommands(), doc_paintPartTile(), doc_paintTile(), doc_paintWindowForView(), doc_paste(), doc_postKeyEvent(), doc_postMouseEvent(), doc_postUnoCommand(), doc_postWindow(), doc_postWindowExtTextInputEvent(), doc_postWindowGestureEvent(), doc_postWindowKeyEvent(), doc_postWindowMouseEvent(), doc_registerCallback(), doc_renderFontOrientation(), doc_renderShapeSelection(), doc_resetSelection(), doc_saveAs(), doc_sendFormFieldEvent(), doc_setClientVisibleArea(), doc_setClientZoom(), doc_setClipboard(), doc_setGraphicSelection(), doc_setOutlineState(), doc_setPartImpl(), doc_setPartMode(), doc_setTextSelection(), doc_setView(), doc_setViewLanguage(), doc_setWindowTextSelection(), getFromTransferrable(), getPostIts(), getPostItsPos(), getRulerState(), getTrackedChangeAuthors(), getTrackedChanges(), initialize_uno(), lcl_sendDialogEvent(), lo_getFilterTypes(), lo_getVersionInfo(), lo_setDocumentPassword(), and lo_setOptionalFeatures().
|
static |
Definition at line 447 of file init.cxx.
Referenced by doc_postUnoCommand().
const ExtensionMap aCalcExtensionMap[] |
Definition at line 223 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aDrawExtensionMap[] |
Definition at line 259 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aImpressExtensionMap[] |
Definition at line 239 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aWriterExtensionMap[] |
Definition at line 205 of file init.cxx.
Referenced by doc_saveAs().
|
static |
Definition at line 5934 of file init.cxx.
Referenced by lo_initialize().
|
static |
Definition at line 186 of file init.cxx.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 184 of file init.cxx.
Referenced by libreofficekit_hook_2().
|
static |
Definition at line 185 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2173 of file init.cxx.
Referenced by desktop::Desktop::CheckExtensionDependencies(), desktop::Desktop::createAcceptor(), dp_gui::UpdateDialog::createNotifyJob(), dp_gui::DialogHelper::DialogHelper(), desktop::MigrationImpl::doMigration(), and desktop::MigrationImpl::runServices().
|
static |