LibreOffice Module desktop (master) 1
|
#include <sfx2/lokhelper.hxx>
#include <config_buildconfig.h>
#include <config_features.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.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 <utility>
#include <vcl/errinf.hxx>
#include <vcl/lok.hxx>
#include <o3tl/any.hxx>
#include <o3tl/unit_conversion.hxx>
#include <o3tl/string_view.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 <linguistic/misc.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/propertyvalue.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/threadpool.hxx>
#include <comphelper/servicehelper.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/document/XDocumentLanguages.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/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/LanguageGuessing.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/lokcomponenthelpers.hxx>
#include <sfx2/DocumentSigner.hxx>
#include <sfx2/sidebar/SidebarDockingWindow.hxx>
#include <sfx2/sidebar/SidebarController.hxx>
#include <svl/numformat.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/GestureEventPan.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/virdev.hxx>
#include <vcl/ImageTree.hxx>
#include <vcl/ITiledRenderable.hxx>
#include <vcl/dialoghelper.hxx>
#include <unicode/uchar.h>
#include <unotools/securityoptions.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 <comphelper/diagnose_ex.hxx>
#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 <com/sun/star/document/XLinkTargetSupplier.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/Common.hxx>
#include <officecfg/Office/Impress.hxx>
#include <officecfg/Office/Linguistic.hxx>
#include <unotools/optionsdlg.hxx>
#include <svl/ctloptions.hxx>
#include <svtools/accessibilityoptions.hxx>
#include <svtools/colorcfg.hxx>
#include <svtools/miscopt.hxx>
#include <svtools/slidesorterbaropt.hxx>
#include <unotools/cmdoptions.hxx>
#include <unotools/compatibility.hxx>
#include <unotools/fltrcfg.hxx>
#include <unotools/lingucfg.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/searchopt.hxx>
#include <unotools/useroptions.hxx>
#include <unotools/viewoptions.hxx>
#include <vcl/settings.hxx>
Go to the source code of this file.
Namespaces | |
namespace | desktop |
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 bool | extractLinks (const uno::Reference< container::XNameAccess > &xLinks, bool subcontent, OUStringBuffer &jsonText) |
static void | unoAnyToJson (tools::JsonWriter &rJson, const char *pNodeName, const uno::Any &anyItem) |
static int | lcl_getViewId (const std::string &payload) |
static bool | lcl_isViewCallbackType (const int type) |
static bool | isUpdatedType (int type) |
static bool | isUpdatedTypePerViewId (int type) |
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 int | doc_getEditMode (LibreOfficeKitDocument *pThis) |
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 nMode, 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_getDataArea (LibreOfficeKitDocument *pThis, long nTab, long *pCol, long *pRow) |
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_setBlockedCommandList (LibreOfficeKitDocument *pThis, int nViewId, const char *blockedCommandList) |
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_getSelectionTypeAndText (LibreOfficeKitDocument *pThis, const char *pMimeType, char **pText, char **pUsedMimeType) |
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 bool | doc_renderSearchResult (LibreOfficeKitDocument *pThis, const char *pSearchResult, unsigned char **pBitmapBuffer, int *pWidth, int *pHeight, size_t *pByteSize) |
static void | doc_sendContentControlEvent (LibreOfficeKitDocument *pThis, const char *pArguments) |
static void | doc_setViewTimezone (LibreOfficeKitDocument *pThis, int nId, const char *timezone) |
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 char * | lo_extractRequest (LibreOfficeKit *pThis, const char *pFilePath) |
static void | lo_trimMemory (LibreOfficeKit *pThis, int nTarget) |
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 | lo_setOption (LibreOfficeKit *pThis, const char *pOption, const char *pValue) |
static void | lo_dumpState (LibreOfficeKit *pThis, const char *pOptions, char **pState) |
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 | getFromTransferable (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 void | getDocLanguages (LibreOfficeKitDocument *pThis, uno::Sequence< lang::Locale > &rSeq) |
static char * | getLanguages (LibreOfficeKitDocument *pThis, 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 *pThis, 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 void | doc_setViewTimezone (SAL_UNUSED_PARAMETER LibreOfficeKitDocument *, int nId, const char *pTimezone) |
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, const char *pText) |
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) |
SAL_JNI_EXPORT int | lok_preinit_2 (const char *install_path, const char *user_profile_url, LibreOfficeKit **kit) |
Variables | |
static LibLibreOffice_Impl * | gImpl = nullptr |
static bool | lok_preinit_2_called = false |
static std::weak_ptr< LibreOfficeKitClass > | gOfficeClass |
static std::weak_ptr< LibreOfficeKitDocumentClass > | gDocumentClass |
static TraceEventDumper * | traceEventDumper = nullptr |
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 |
|
static |
Definition at line 7068 of file init.cxx.
References aBuffer, and OUStringToOString().
Referenced by lo_initialize().
|
static |
Definition at line 355 of file init.cxx.
Referenced by convertOUString(), doc_getClipboard(), doc_getCommandValues(), doc_getSelectionTypeAndText(), and doc_getTextSelection().
|
static |
Definition at line 363 of file init.cxx.
References aStr, convertOString(), and OUStringToOString().
Referenced by doc_getPartHash(), doc_getPartInfo(), doc_getPartName(), doc_getPartPageRectangles(), lo_extractRequest(), lo_getError(), and lo_getVersionInfo().
|
static |
Definition at line 6734 of file init.cxx.
References dp_registry::backend::bundle::create(), comphelper::Base64::decode(), SfxBaseModel::GetObjectShell(), desktop::LibLODocument_Impl::mxComponent, SAL_INFO, and xContext.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6833 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6350 of file init.cxx.
References doc_createViewWithOptions().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6315 of file init.cxx.
References SfxLokHelper::createView(), desktop::extractParameter(), getUString(), SfxLokHelper::getViewsCount(), desktop::LibLODocument_Impl::mnDocumentId, nId, vcl::lok::numberOfViewsChanged(), SfxLokHelper::setDeviceFormFactor(), comphelper::LibreOfficeKit::setLanguageTag(), SetLastExceptionMsg(), comphelper::LibreOfficeKit::setLocale(), and u.
Referenced by doc_createView(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 2482 of file init.cxx.
References LOKClipboardFactory::releaseClipboardForView().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6355 of file init.cxx.
References SfxLokHelper::destroyView(), SfxLokHelper::getViewsCount(), desktop::LibLODocument_Impl::mnDocumentId, nId, vcl::lok::numberOfViewsChanged(), LOKClipboardFactory::releaseClipboardForView(), and SetLastExceptionMsg().
|
static |
Definition at line 5388 of file init.cxx.
References convertOString(), LOKClipboardFactory::getClipboardForCurView(), getFromTransferable(), i, OUStringToOString(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6074 of file init.cxx.
References aArguments, aCommand, convertOString(), o3tl::equalsIgnoreAsciiCase(), tools::JsonWriter::extractData(), getFonts(), getFontSubset(), getLanguages(), getPostIts(), getPostItsPos(), getRulerState(), getStyles(), o3tl::getToken(), getTrackedChangeAuthors(), getTrackedChanges(), getUndoOrRedo(), o3tl::make_unsigned(), nIndex, SetLastExceptionMsg(), o3tl::starts_with(), and o3tl::toInt32().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4229 of file init.cxx.
References Size::Height(), SetLastExceptionMsg(), and Size::Width().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4207 of file init.cxx.
References Size::Height(), SetLastExceptionMsg(), and Size::Width().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3643 of file init.cxx.
References desktop::LibLODocument_Impl::mxComponent, and SetLastExceptionMsg().
Referenced by doc_paintPartTile(), doc_renderSearchResult(), doc_renderShapeSelection(), doc_saveAs(), doc_sendContentControlEvent(), doc_sendFormFieldEvent(), getStyles(), getTrackedChanges(), desktop::LibLODocument_Impl::LibLODocument_Impl(), and desktop::CallbackFlushHandler::queue().
|
static |
Definition at line 3876 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3700 of file init.cxx.
References SetLastExceptionMsg().
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3820 of file init.cxx.
References convertOUString(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3739 of file init.cxx.
References convertOUString(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3803 of file init.cxx.
References convertOUString(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3786 of file init.cxx.
References convertOUString(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3684 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5296 of file init.cxx.
References getFromTransferable(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5332 of file init.cxx.
References convertOString(), getFromTransferable(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6792 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 5255 of file init.cxx.
References convertOString(), getFromTransferable(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4201 of file init.cxx.
References SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6382 of file init.cxx.
References SfxLokHelper::getView(), and SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6403 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 6392 of file init.cxx.
References SfxLokHelper::getViewsCount(), desktop::LibLODocument_Impl::mnDocumentId, and SetLastExceptionMsg().
|
static |
Definition at line 4252 of file init.cxx.
References comphelper::containerToSequence(), doc_iniUnoCommands(), 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 3373 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, SetLastExceptionMsg(), and xContext.
Referenced by doc_initializeForRendering().
|
static |
Definition at line 6661 of file init.cxx.
References dp_registry::backend::bundle::create(), comphelper::Base64::decode(), SfxBaseModel::GetObjectShell(), desktop::LibLODocument_Impl::mxComponent, SfxObjectShell::SignDocumentContentUsingCertificate(), and xContext.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3770 of file init.cxx.
References gImpl, and desktop::LibLibreOffice_Impl::maLastExceptionMsg.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4019 of file init.cxx.
References SfxViewShell::Current(), doc_getDocumentType(), doc_getPart(), doc_getView(), doc_getViewIds(), doc_getViewsCount(), doc_paintTile(), doc_setPartImpl(), doc_setView(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SfxViewShell::GetDrawView(), SfxViewShell::getEditMode(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), SfxViewShell::getPart(), SdrObjEditView::GetTextEditOutliner(), SfxViewShell::GetViewShellId(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, SAL_INFO, SfxLokHelper::setEditMode(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3893 of file init.cxx.
References COL_LIGHTRED(), COL_TRANSPARENT(), BitmapEx::GetAlphaMask(), BitmapEx::GetBitmap(), p, Point, SAL_INFO, comphelper::LibreOfficeKit::setDPIScale(), SetLastExceptionMsg(), x, and y.
Referenced by doc_paintPartTile(), doc_renderSearchResult(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6526 of file init.cxx.
References doc_paintWindowDPI().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6534 of file init.cxx.
References doc_paintWindowForView().
Referenced by doc_paintWindow(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6543 of file init.cxx.
References aData, COL_TRANSPARENT(), doc_setView(), vcl::Window::FindLOKWindow(), VclPtr< class reference_type >::get(), Point, comphelper::LibreOfficeKit::setDialogPainting(), comphelper::LibreOfficeKit::setDPIScale(), SetLastExceptionMsg(), and MapMode::SetOrigin().
Referenced by doc_paintWindowDPI(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5527 of file init.cxx.
References aPropertyValues, comphelper::dispatchCommand(), doc_setClipboard(), comphelper::InitPropertySequence(), pData, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4393 of file init.cxx.
References nType, SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4992 of file init.cxx.
References nCount, nType, SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4786 of file init.cxx.
References aCommand, aMimeType, aURL, SfxObjectShell::Current(), doc_saveAs(), tools::JsonWriter::extractData(), SfxLokHelper::getView(), gImpl, SfxObjectShell::IsModified(), vcl::lok::isUnipoll(), desktop::jsonToPropertyValuesVector(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, desktop::LibLODocument_Impl::mxComponent, OUStringToOString(), tools::JsonWriter::put(), SetLastExceptionMsg(), and tools::JsonWriter::startNode().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6611 of file init.cxx.
References aData, aEvent, aMimeType, vcl::CloseTopLevel(), vcl::Window::FindLOKWindow(), desktop::jsonToPropertyValuesVector(), KEY_PASTE, Name, pData, Application::PostKeyEvent(), SetLastExceptionMsg(), and Value.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4424 of file init.cxx.
References vcl::Window::FindLOKWindow(), nType, SfxLokHelper::postExtTextEventAsync(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5053 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 4509 of file init.cxx.
References aEvent, vcl::Window::FindLOKWindow(), nType, Application::PostKeyEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5016 of file init.cxx.
References aEvent, vcl::EnableDialogInput(), vcl::Window::FindLOKWindow(), nCount, nType, Point, Application::PostMouseEvent(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4269 of file init.cxx.
References SfxViewShell::Current(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SfxLokHelper::getView(), SfxViewShell::GetViewShellId(), desktop::LibLODocument_Impl::maFontsMissing, desktop::LibLODocument_Impl::mpCallbackFlushHandlers, nId, pData, SetLastExceptionMsg(), and SfxViewShell::setLibreOfficeKitViewCallback().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4454 of file init.cxx.
References vcl::Window::FindLOKWindow(), gImpl, i, desktop::LibLibreOffice_Impl::maLastExceptionMsg, and SfxLokHelper::postKeyEventAsync().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6428 of file init.cxx.
References doc_renderFontOrientation(), and pChar.
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 6437 of file init.cxx.
References tools::Rectangle::Bottom(), COL_TRANSPARENT(), tools::Rectangle::IsEmpty(), pChar, Point, tools::Rectangle::Right(), and SetLastExceptionMsg().
|
static |
Definition at line 6875 of file init.cxx.
References o3tl::convert(), doc_getDocumentType(), doc_paintTile(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), o3tl::px, SetLastExceptionMsg(), and o3tl::twip.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4539 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 5700 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6816 of file init.cxx.
References vcl::Window::FindLOKWindow(), gImpl, and desktop::LibLibreOffice_Impl::maLastExceptionMsg.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3168 of file init.cxx.
References aCalcExtensionMap, aDrawExtensionMap, aImpressExtensionMap, aIndex, aURL, aWriterExtensionMap, comphelper::string::convertCommaSeparated(), doc_getDocumentType(), comphelper::SequenceAsHashMap::empty(), o3tl::equalsIgnoreAsciiCase(), getAbsoluteURL(), comphelper::SequenceAsHashMap::getAsConstPropertyValueList(), getUString(), gImpl, i, idx, desktop::LibLODocument_Impl::mxComponent, SAL_INFO, SetLastExceptionMsg(), and u.
Referenced by doc_postUnoCommand(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
Definition at line 3754 of file init.cxx.
References gImpl, and desktop::LibLibreOffice_Impl::maLastExceptionMsg.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6925 of file init.cxx.
References aMap, doc_getDocumentType(), jsdialog::jsonToStringMap(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4688 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6849 of file init.cxx.
References aMap, doc_getDocumentType(), jsdialog::jsonToStringMap(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4418 of file init.cxx.
References SfxLokHelper::setBlockedCommandList().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6280 of file init.cxx.
References Point, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6262 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5486 of file init.cxx.
References SAL_INFO, and SetLastExceptionMsg().
Referenced by doc_paste(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5557 of file init.cxx.
References nType, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6298 of file init.cxx.
References nIndex, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3734 of file init.cxx.
References doc_setPartImpl().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3717 of file init.cxx.
References SetLastExceptionMsg().
Referenced by doc_paintPartTile(), and doc_setPart().
|
static |
Definition at line 3837 of file init.cxx.
References SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5088 of file init.cxx.
References nType, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by doc_paintPartTile(), doc_paintWindowForView(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6372 of file init.cxx.
References nId, SetLastExceptionMsg(), and SfxLokHelper::setView().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6414 of file init.cxx.
References nId, SetLastExceptionMsg(), SfxLokHelper::setViewLanguage(), and SfxLokHelper::setViewLocale().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6953 of file init.cxx.
References nId, SetLastExceptionMsg(), and SfxLokHelper::setViewTimezone().
|
static |
Definition at line 5105 of file init.cxx.
References vcl::Window::FindLOKWindow(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, Point, Application::PostMouseEvent(), SetLastExceptionMsg(), and swap().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5134 of file init.cxx.
References aMimeType, aSeq, comphelper::Base64::encode(), getFromTransferable(), and getGenerator().
Referenced by getFromTransferable().
|
static |
Definition at line 5160 of file init.cxx.
References aMimeType, getFromTransferable(), and getGenerator().
Referenced by getFromTransferable().
|
static |
Definition at line 402 of file init.cxx.
References extractLinks(), i, SAL_WARN, and xTarget.
Referenced by extractLinks(), and lo_extractRequest().
|
static |
Try to convert a relative URL to an absolute one, unless it already looks like a URL.
Definition at line 369 of file init.cxx.
References aURL, and getUString().
Referenced by doc_saveAs(), lo_documentLoadWithOptions(), lo_extractRequest(), and lo_signDocument().
|
static |
Definition at line 5574 of file init.cxx.
References LanguageTag::convertToLocale(), dp_registry::backend::bundle::create(), SfxViewFrame::Current(), SfxViewFrame::GetBindings(), SfxBindings::GetDispatcher(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), SvtLanguageTable::GetLanguageType(), SvtLanguageOptions::GetScriptTypeOfLanguage(), Application::GetSettings(), AllSettings::GetUILanguageTag(), LANGUAGE_DONTKNOW, desktop::LibLODocument_Impl::mxComponent, SfxDispatcher::QueryState(), and xContext.
Referenced by getLanguages().
|
static |
Definition at line 5768 of file init.cxx.
References SfxObjectShell::Current(), vcl::Font::GetFamilyName(), SvxFontListItem::GetFontList(), FontList::GetFontName(), FontList::GetFontNameCount(), SfxShell::GetItem(), FontList::GetStdSizeAry(), and i.
Referenced by doc_getCommandValues().
|
static |
Definition at line 5809 of file init.cxx.
References SubsetMap::GetSubsetMap().
Referenced by doc_getCommandValues().
|
static |
Definition at line 5178 of file init.cxx.
References aMimeType, encodeImageAsHTML(), encodeTextAsHTML(), cppu::UnoType< typename T >::get(), o3tl::getToken(), nIndex, OUStringToOString(), and SetLastExceptionMsg().
Referenced by doc_getClipboard(), doc_getSelectionType(), doc_getSelectionTypeAndText(), doc_getTextSelection(), encodeImageAsHTML(), and encodeTextAsHTML().
|
static |
Definition at line 1482 of file init.cxx.
References Translate::ExpandVariables().
Referenced by encodeImageAsHTML(), and encodeTextAsHTML().
|
static |
Definition at line 5717 of file init.cxx.
References aSeq, dp_registry::backend::bundle::create(), LanguageTag::getBcp47(), getDocLanguages(), SvtLanguageTable::GetLanguageString(), LanguageTag::getLanguageType(), and xContext.
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of all the comments in the document.
Definition at line 4350 of file init.cxx.
References tools::JsonWriter::extractData(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of the positions of all the comments in the document.
Definition at line 4365 of file init.cxx.
References tools::JsonWriter::extractData(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 4379 of file init.cxx.
References tools::JsonWriter::extractData(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 5844 of file init.cxx.
References aCommand, aName, 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 6061 of file init.cxx.
References tools::JsonWriter::extractData(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Returns the JSON representation of the redline stack.
Definition at line 6004 of file init.cxx.
References doc_getDocumentType(), tools::JsonWriter::extractData(), 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 5978 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 345 of file init.cxx.
Referenced by doc_createViewWithOptions(), doc_saveAs(), getAbsoluteURL(), and lo_documentLoadWithOptions().
|
static |
Definition at line 7078 of file init.cxx.
References cppu::defaultBootstrap_InitialComponentContext(), SAL_CONFIGFILE, SAL_INFO, SetLastExceptionMsg(), comphelper::setProcessServiceFactory(), xContext, xFactory, and xSFactory.
Referenced by lo_initialize().
|
static |
Definition at line 741 of file init.cxx.
References type.
Referenced by desktop::CallbackFlushHandler::libreOfficeKitViewUpdatedCallback(), desktop::CallbackFlushHandler::queue(), and desktop::CallbackFlushHandler::setUpdatedType().
|
static |
Definition at line 754 of file init.cxx.
References type.
Referenced by desktop::CallbackFlushHandler::libreOfficeKitViewUpdatedCallbackPerViewId(), desktop::CallbackFlushHandler::queue(), desktop::CallbackFlushHandler::resetUpdatedTypePerViewId(), and desktop::CallbackFlushHandler::setUpdatedTypePerViewId().
|
static |
Definition at line 767 of file init.cxx.
Referenced by desktop::CallbackFlushHandler::CallbackData::getViewId(), and desktop::CallbackFlushHandler::CallbackData::validate().
|
static |
Definition at line 725 of file init.cxx.
References type.
Referenced by desktop::CallbackFlushHandler::Invoke().
|
static |
Definition at line 4648 of file init.cxx.
References aMap, SfxViewShell::Current(), jsdialog::ExecuteAction(), jsdialog::jsonToStringMap(), OUStringToOString(), and jsdialog::SendFullUpdate().
Referenced by doc_sendDialogEvent(), and lo_sendDialogEvent().
SAL_JNI_EXPORT LibreOfficeKit * libreofficekit_hook | ( | const char * | install_path | ) |
Definition at line 7795 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 7772 of file init.cxx.
References gImpl, lo_destroy(), lo_initialize(), lok_preinit_2_called, and SAL_INFO.
Referenced by libreofficekit_hook().
|
static |
Definition at line 7816 of file init.cxx.
References bInitialized, dp_registry::backend::bundle::create(), GetpApp(), gImpl, pLib, 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 2642 of file init.cxx.
References lo_documentLoadWithOptions().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2647 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), doc_getSignatureState(), desktop::extractParameter(), OutputDevice::FinishTrackingFontMappingUse(), getAbsoluteURL(), getUString(), i, SvNumberFormatter::IsNumberFormat(), LanguageTag::isValidBcp47(), LANGUAGE_ENGLISH_US, comphelper::makePropertyValue(), nState, pLib, SvNumberFormatter::resetTheCurrencyTable(), SAL_INFO, SfxViewShell::SetCurrentDocId(), SfxLokHelper::setDefaultLanguage(), SfxLokHelper::setDefaultTimezone(), SfxLokHelper::setDeviceFormFactor(), Application::SetDialogCancelMode(), comphelper::LibreOfficeKit::setLanguageTag(), SfxLokHelper::setLoadLanguage(), comphelper::LibreOfficeKit::setLocale(), SvtSecurityOptions::SetMacroSecurityLevel(), OutputDevice::StartTrackingFontMappingUse(), u, x, and xContext.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl(), and lo_documentLoad().
|
static |
Definition at line 4751 of file init.cxx.
References aStr, pLib, and SetLastExceptionMsg().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 3085 of file init.cxx.
References aURL, convertOUString(), dp_registry::backend::bundle::create(), ex, extractLinks(), getAbsoluteURL(), comphelper::InitPropertySequence(), result, SAL_WARN, and xContext.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6979 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6969 of file init.cxx.
References convertOUString(), and pLib.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6984 of file init.cxx.
References aTypes, tools::JsonWriter::extractData(), comphelper::getProcessServiceFactory(), desktop::LibLibreOffice_Impl::maLastExceptionMsg, tools::JsonWriter::put(), SetLastExceptionMsg(), tools::JsonWriter::startNode(), and xSFactory.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 7055 of file init.cxx.
References convertOUString(), desktop::ReplaceStringHookProc(), and SetLastExceptionMsg().
|
static |
Definition at line 7434 of file init.cxx.
References aBasicErrorFunc(), 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(), gImpl, initialize_uno(), InitVCL(), lo_initialize(), lo_startmain(), lo_status_indicator_callback(), lok_preinit_2_called, OUStringToOString(), pLib, preloadData(), ErrorRegistry::RegisterDisplay(), comphelper::SolarMutex::release(), Application::ReleaseSolarMutex(), utl::Bootstrap::reloadData(), SAL_INFO, SAL_WARN, comphelper::LibreOfficeKit::setActive(), comphelper::LibreOfficeKit::setCompatFlag(), SfxLokHelper::setDefaultTimezone(), desktop::CommandLineArgs::setHeadless(), desktop::RequestHandler::SetReady(), comphelper::LibreOfficeKit::setStatusIndicatorCallback(), SvtPathOptions::SetTempPath(), comphelper::ThreadPool::shutdown(), comphelper::string::split(), comphelper::TraceEvent::startRecording(), desktop::Desktop::SynchronizeExtensionRepositories(), traceEventDumper, u, VclBuilderPreload(), desktop::RequestHandler::WaitForReady(), and xContext.
Referenced by libreofficekit_hook_2(), lo_initialize(), lok_preinit(), and lok_preinit_2().
|
static |
Definition at line 3152 of file init.cxx.
References GetpApp(), Application::m_pCallback, Application::m_pCallbackData, pData, and pLib.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 7136 of file init.cxx.
References comphelper::SolarMutex::acquire(), Application::GetSolarMutex(), pData, vcl::lok::registerPollCallbacks(), Application::ReleaseSolarMutex(), soffice_main(), vcl::lok::unregisterPollCallbacks(), and Application::UpdateMainThread().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2929 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), pLib, SAL_INFO, uno::Any::Value, xContext, xFactory, and xSFactory.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 4693 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 7040 of file init.cxx.
References pLib, and SetLastExceptionMsg().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 4698 of file init.cxx.
References OutputDevice::AddTempDevFont(), Application::GetDefaultDevice(), OutputDevice::ImplClearAllFontData(), OutputDevice::ImplRefreshAllFontData(), comphelper::TraceEvent::setBufferSizeAndCallback(), comphelper::TraceEvent::startRecording(), comphelper::TraceEvent::stopRecording(), and traceEventDumper.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 7021 of file init.cxx.
References 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 3016 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), comphelper::Base64::decode(), getAbsoluteURL(), sfx2::DocumentSigner::signDocument(), and xContext.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 7121 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 7160 of file init.cxx.
References comphelper::LibreOfficeKit::Finish, percent, pLib, comphelper::LibreOfficeKit::SetValue, comphelper::LibreOfficeKit::Start, and type.
Referenced by lo_initialize().
|
static |
Definition at line 3147 of file init.cxx.
References vcl::lok::trimMemory().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
SAL_JNI_EXPORT int lok_preinit | ( | const char * | install_path, |
const char * | user_profile_url | ||
) |
Definition at line 7801 of file init.cxx.
References lo_initialize().
SAL_JNI_EXPORT int lok_preinit_2 | ( | const char * | install_path, |
const char * | user_profile_url, | ||
LibreOfficeKit ** | kit | ||
) |
Definition at line 7807 of file init.cxx.
References gImpl, lo_initialize(), lok_preinit_2_called, and result.
|
static |
Used only by LibreOfficeKit when used by Online to pre-initialize.
Definition at line 7183 of file init.cxx.
References ASIAN, desktop::Desktop::CheckExtensionDependencies(), COMPLEX, LanguageTag::convertToBcp47(), LanguageTag::convertToLanguageType(), dp_registry::backend::bundle::create(), utl::TempFileNamed::EnableKillingFile(), ImageTree::get(), OutputDevice::GetDefaultFont(), ImageTree::getImageUrl(), comphelper::getProcessComponentContext(), utl::TempFileNamed::GetURL(), SvtLanguageTable::HasLanguageType(), LanguageTag::isValidBcp47(), LANGUAGE_SYSTEM, LATIN, MsLangId::resolveSystemLanguageByScriptType(), desktop::Desktop::SynchronizeExtensionRepositories(), and xContext.
Referenced by lo_initialize().
|
static |
Definition at line 224 of file init.cxx.
References gImpl, desktop::LibLibreOffice_Impl::maLastExceptionMsg, and SAL_WARN_IF.
Referenced by doc_completeFunction(), doc_createViewWithOptions(), doc_destroyView(), doc_getClipboard(), doc_getCommandValues(), doc_getDataArea(), doc_getDocumentSize(), doc_getDocumentType(), doc_getEditMode(), doc_getPart(), doc_getPartHash(), doc_getPartInfo(), doc_getPartName(), doc_getPartPageRectangles(), doc_getParts(), doc_getSelectionType(), doc_getSelectionTypeAndText(), 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_renderSearchResult(), doc_renderShapeSelection(), doc_resetSelection(), doc_saveAs(), doc_sendContentControlEvent(), doc_sendFormFieldEvent(), doc_setClientVisibleArea(), doc_setClientZoom(), doc_setClipboard(), doc_setGraphicSelection(), doc_setOutlineState(), doc_setPartImpl(), doc_setPartMode(), doc_setTextSelection(), doc_setView(), doc_setViewLanguage(), doc_setViewTimezone(), doc_setWindowTextSelection(), getFromTransferable(), getPostIts(), getPostItsPos(), getRulerState(), getTrackedChangeAuthors(), getTrackedChanges(), initialize_uno(), lo_dumpState(), lo_getFilterTypes(), lo_getVersionInfo(), lo_setDocumentPassword(), and lo_setOptionalFeatures().
|
static |
Definition at line 493 of file init.cxx.
References aSeq, i, tools::JsonWriter::put(), tools::JsonWriter::startNode(), and unoAnyToJson().
Referenced by unoAnyToJson().
const ExtensionMap aCalcExtensionMap[] |
Definition at line 297 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aDrawExtensionMap[] |
Definition at line 333 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aImpressExtensionMap[] |
Definition at line 313 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aWriterExtensionMap[] |
Definition at line 278 of file init.cxx.
Referenced by doc_saveAs().
|
static |
Definition at line 7158 of file init.cxx.
Referenced by lo_destroy(), and lo_initialize().
|
static |
Definition at line 222 of file init.cxx.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 219 of file init.cxx.
Referenced by doc_moveSelectedParts(), doc_postUnoCommand(), doc_removeTextContext(), doc_resizeWindow(), doc_saveAs(), doc_selectPart(), libreofficekit_hook_2(), lo_destroy(), lo_initialize(), lok_preinit_2(), and SetLastExceptionMsg().
|
static |
Definition at line 221 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 220 of file init.cxx.
Referenced by libreofficekit_hook_2(), lo_initialize(), and lok_preinit_2().
|
static |
Definition at line 276 of file init.cxx.
Referenced by lo_initialize(), and lo_setOption().
|
static |
Definition at line 2638 of file init.cxx.
Referenced by desktop::Desktop::CheckExtensionDependencies(), desktop::Desktop::CheckFirstRun(), desktop::Desktop::createAcceptor(), unopkg::createCmdEnv(), dp_gui::UpdateDialog::createNotifyJob(), dp_gui::DialogHelper::DialogHelper(), doc_addCertificate(), doc_iniUnoCommands(), doc_insertCertificate(), desktop::MigrationImpl::doMigration(), dp_gui::TheExtensionManager::get(), dp_registry::backend::script::LibraryContainer::get_libname(), getDocLanguages(), getLanguages(), dp_misc::getOnlineUpdateInfos(), desktop::Desktop::HandleAppEvent(), dp_gui::handleInteractionRequest(), impl_checkDependencies(), impl_showExtensionDialog(), initialize_uno(), lo_documentLoadWithOptions(), lo_extractRequest(), lo_initialize(), lo_runMacro(), lo_signDocument(), desktop::Desktop::Main(), desktop::Desktop::OpenSplashScreen(), dp_registry::backend::PackageRegistryBackend::PackageRegistryBackend(), preloadData(), desktop::MigrationImpl::runServices(), desktop::Desktop::ShowBackingComponent(), dp_gui::ExtensionCmdQueue::syncRepositories(), dp_gui::TheExtensionManager::TheExtensionManager(), and dp_misc::xml_parse().
|
static |
Definition at line 2640 of file init.cxx.
Referenced by initialize_uno(), and lo_runMacro().
|
static |
Definition at line 2639 of file init.cxx.
Referenced by initialize_uno(), lo_getFilterTypes(), and lo_runMacro().