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 <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 <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/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/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/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/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/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 <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/Common.hxx>
#include <officecfg/Office/Impress.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 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 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_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 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 | lo_setOption (LibreOfficeKit *pThis, const char *pOption, const char *pValue) |
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 *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 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 6283 of file init.cxx.
References aBuffer, and OUStringToOString().
Referenced by lo_initialize().
|
static |
Definition at line 335 of file init.cxx.
Referenced by convertOUString(), doc_getClipboard(), doc_getCommandValues(), doc_getSelectionTypeAndText(), and doc_getTextSelection().
|
static |
Definition at line 343 of file init.cxx.
References aStr, convertOString(), and OUStringToOString().
Referenced by doc_getPartHash(), doc_getPartInfo(), doc_getPartName(), doc_getPartPageRectangles(), lo_getError(), and lo_getVersionInfo().
|
static |
Definition at line 5966 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 6065 of file init.cxx.
References vcl::ITiledRenderable::completeFunction(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5582 of file init.cxx.
References doc_createViewWithOptions().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5547 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 2289 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 5587 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 4751 of file init.cxx.
References convertOString(), LOKClipboardFactory::getClipboardForCurView(), getFromTransferrable(), i, OUStringToOString(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5299 of file init.cxx.
References aArguments, aCommand, convertOString(), o3tl::equalsIgnoreAsciiCase(), tools::JsonWriter::extractData(), vcl::ITiledRenderable::getCellCursor(), getFonts(), getFontSubset(), getLanguages(), getPostIts(), getPostItsPos(), vcl::ITiledRenderable::getRowColumnHeaders(), getRulerState(), vcl::ITiledRenderable::getSheetGeometryData(), 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 3665 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 3213 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 3270 of file init.cxx.
References vcl::ITiledRenderable::getPart(), and SetLastExceptionMsg().
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3390 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartHash(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3309 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartInfo(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3373 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartName(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3356 of file init.cxx.
References convertOUString(), vcl::ITiledRenderable::getPartPageRectangles(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3254 of file init.cxx.
References vcl::ITiledRenderable::getParts(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4659 of file init.cxx.
References getFromTransferrable(), vcl::ITiledRenderable::getSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4695 of file init.cxx.
References convertOString(), getFromTransferrable(), vcl::ITiledRenderable::getSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6024 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 4618 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 3659 of file init.cxx.
References SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5614 of file init.cxx.
References SfxLokHelper::getView(), and SetLastExceptionMsg().
|
static |
Referenced by doc_paintPartTile(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5635 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 5624 of file init.cxx.
References SfxLokHelper::getViewsCount(), desktop::LibLODocument_Impl::mnDocumentId, and SetLastExceptionMsg().
|
static |
Definition at line 3687 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 2968 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 5893 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 3340 of file init.cxx.
References gImpl, desktop::LibLibreOffice_Impl::maLastExceptionMsg, and vcl::ITiledRenderable::moveSelectedParts().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3542 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::GetFirst(), SfxViewShell::GetNext(), SfxViewShell::getPart(), SdrObjEditView::GetTextEditOutliner(), SfxViewShell::GetViewShellId(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3446 of file init.cxx.
References COL_LIGHTRED(), COL_TRANSPARENT(), vcl::ITiledRenderable::paintTile(), Point, SAL_INFO, comphelper::LibreOfficeKit::setDPIScale(), and SetLastExceptionMsg().
Referenced by doc_paintPartTile(), doc_renderSearchResult(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5758 of file init.cxx.
References doc_paintWindowDPI().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5766 of file init.cxx.
References doc_paintWindowForView().
Referenced by doc_paintWindow(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5775 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 4890 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 3811 of file init.cxx.
References nType, vcl::ITiledRenderable::postKeyEvent(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4355 of file init.cxx.
References nCount, nType, vcl::ITiledRenderable::postMouseEvent(), SAL_INFO, and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4155 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 5843 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 3842 of file init.cxx.
References vcl::Window::FindLOKWindow(), vcl::ITiledRenderable::getDocWindow(), nType, SfxLokHelper::postExtTextEventAsync(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4416 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 3927 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 4379 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 3704 of file init.cxx.
References SfxViewShell::Current(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SfxLokHelper::getView(), SfxViewShell::GetViewShellId(), desktop::LibLODocument_Impl::mpCallbackFlushHandlers, nId, pData, SetLastExceptionMsg(), and SfxViewShell::setLibreOfficeKitViewCallback().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3872 of file init.cxx.
References vcl::Window::FindLOKWindow(), vcl::ITiledRenderable::getDocWindow(), gImpl, i, desktop::LibLibreOffice_Impl::maLastExceptionMsg, and SfxLokHelper::postKeyEventAsync().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5660 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 5669 of file init.cxx.
References tools::Rectangle::Bottom(), COL_TRANSPARENT(), tools::Rectangle::IsEmpty(), pChar, Point, tools::Rectangle::Right(), and SetLastExceptionMsg().
|
static |
Definition at line 6107 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(), vcl::ITiledRenderable::getSearchResultRectangles(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), o3tl::px, SetLastExceptionMsg(), and o3tl::twip.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3957 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 4937 of file init.cxx.
References vcl::ITiledRenderable::resetSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6048 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 2763 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 3324 of file init.cxx.
References gImpl, desktop::LibLibreOffice_Impl::maLastExceptionMsg, and vcl::ITiledRenderable::selectPart().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6157 of file init.cxx.
References aMap, doc_getDocumentType(), vcl::ITiledRenderable::executeContentControlEvent(), jsdialog::jsonToStringMap(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4106 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 6081 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 3836 of file init.cxx.
References SfxLokHelper::setBlockedCommandList().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5512 of file init.cxx.
References Point, vcl::ITiledRenderable::setClientVisibleArea(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5494 of file init.cxx.
References vcl::ITiledRenderable::setClientZoom(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4849 of file init.cxx.
References vcl::ITiledRenderable::isMimeTypeSupported(), SAL_INFO, and SetLastExceptionMsg().
Referenced by doc_paste(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 4920 of file init.cxx.
References nType, vcl::ITiledRenderable::setGraphicSelection(), and SetLastExceptionMsg().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5530 of file init.cxx.
References nIndex, SetLastExceptionMsg(), and vcl::ITiledRenderable::setOutlineState().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3304 of file init.cxx.
References doc_setPartImpl().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 3287 of file init.cxx.
References SetLastExceptionMsg(), and vcl::ITiledRenderable::setPart().
Referenced by doc_paintPartTile(), and doc_setPart().
|
static |
Definition at line 3407 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 4451 of file init.cxx.
References nType, SetLastExceptionMsg(), and vcl::ITiledRenderable::setTextSelection().
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Referenced by doc_paintPartTile(), doc_paintWindowForView(), and desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5604 of file init.cxx.
References nId, SetLastExceptionMsg(), and SfxLokHelper::setView().
|
static |
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 5646 of file init.cxx.
References nId, SetLastExceptionMsg(), SfxLokHelper::setViewLanguage(), and SfxLokHelper::setViewLocale().
|
static |
Definition at line 4468 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 4497 of file init.cxx.
References aMimeType, aSeq, comphelper::Base64::encode(), getFromTransferrable(), and getGenerator().
Referenced by getFromTransferrable().
|
static |
Definition at line 4523 of file init.cxx.
References aMimeType, 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 349 of file init.cxx.
References aURL, and getUString().
Referenced by doc_saveAs(), lo_documentLoadWithOptions(), and lo_signDocument().
|
static |
Definition at line 4995 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 5034 of file init.cxx.
References SubsetMap::GetSubsetMap().
Referenced by doc_getCommandValues().
|
static |
Definition at line 4541 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 1320 of file init.cxx.
References Translate::ExpandVariables().
Referenced by encodeImageAsHTML(), and encodeTextAsHTML().
|
static |
Definition at line 4954 of file init.cxx.
References dp_registry::backend::bundle::create(), LanguageTag::getBcp47(), 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 3768 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 3783 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getPostItsPos(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 3797 of file init.cxx.
References tools::JsonWriter::extractData(), vcl::ITiledRenderable::getRulerState(), and SetLastExceptionMsg().
Referenced by doc_getCommandValues().
|
static |
Definition at line 5069 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 5286 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 5229 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 5203 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 325 of file init.cxx.
Referenced by doc_createViewWithOptions(), doc_saveAs(), getAbsoluteURL(), and lo_documentLoadWithOptions().
|
static |
Definition at line 6293 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 605 of file init.cxx.
References type.
Referenced by desktop::CallbackFlushHandler::libreOfficeKitViewUpdatedCallback(), desktop::CallbackFlushHandler::queue(), and desktop::CallbackFlushHandler::setUpdatedType().
|
static |
Definition at line 618 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 631 of file init.cxx.
Referenced by desktop::CallbackFlushHandler::CallbackData::getViewId(), and desktop::CallbackFlushHandler::CallbackData::validate().
|
static |
Definition at line 589 of file init.cxx.
References type.
Referenced by desktop::CallbackFlushHandler::Invoke().
|
static |
Definition at line 4066 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 6913 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 6890 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 6934 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 2439 of file init.cxx.
References lo_documentLoadWithOptions().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 2444 of file init.cxx.
References aURL, dp_registry::backend::bundle::create(), doc_getSignatureState(), desktop::extractParameter(), getAbsoluteURL(), getUString(), SvNumberFormatter::IsNumberFormat(), LanguageTag::isValidBcp47(), LANGUAGE_ENGLISH_US, comphelper::makePropertyValue(), nState, pLib, SvNumberFormatter::resetTheCurrencyTable(), SAL_INFO, SfxViewShell::SetCurrentDocId(), SfxLokHelper::setDefaultLanguage(), SfxLokHelper::setDeviceFormFactor(), Application::SetDialogCancelMode(), comphelper::LibreOfficeKit::setLanguageTag(), comphelper::LibreOfficeKit::setLocale(), SvtSecurityOptions::SetMacroSecurityLevel(), TOOLS_INFO_EXCEPTION, u, and xContext.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl(), and lo_documentLoad().
|
static |
Definition at line 6195 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6185 of file init.cxx.
References convertOUString(), and pLib.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6200 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 6271 of file init.cxx.
References convertOUString(), desktop::ReplaceStringHookProc(), and SetLastExceptionMsg().
|
static |
Definition at line 6561 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(), 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 2747 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 6351 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 2592 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 4111 of file init.cxx.
References lcl_sendDialogEvent().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 6256 of file init.cxx.
References pLib, and SetLastExceptionMsg().
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 4116 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 6237 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 2679 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 6336 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 6375 of file init.cxx.
References comphelper::LibreOfficeKit::Finish, percent, pLib, comphelper::LibreOfficeKit::SetValue, comphelper::LibreOfficeKit::Start, and type.
Referenced by lo_initialize().
SAL_JNI_EXPORT int lok_preinit | ( | const char * | install_path, |
const char * | user_profile_url | ||
) |
Definition at line 6919 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 6925 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 6398 of file init.cxx.
References ASIAN, desktop::Desktop::CheckExtensionDependencies(), COMPLEX, LanguageTag::convertToBcp47(), 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 xContext.
Referenced by lo_initialize().
|
static |
Definition at line 204 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_getDocumentSize(), doc_getDocumentType(), 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_setWindowTextSelection(), getFromTransferrable(), getPostIts(), getPostItsPos(), getRulerState(), getTrackedChangeAuthors(), getTrackedChanges(), initialize_uno(), lo_getFilterTypes(), lo_getVersionInfo(), lo_setDocumentPassword(), and lo_setOptionalFeatures().
|
static |
Definition at line 382 of file init.cxx.
References aSeq, i, tools::JsonWriter::put(), tools::JsonWriter::startNode(), and unoAnyToJson().
Referenced by unoAnyToJson().
const ExtensionMap aCalcExtensionMap[] |
Definition at line 277 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aDrawExtensionMap[] |
Definition at line 313 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aImpressExtensionMap[] |
Definition at line 293 of file init.cxx.
Referenced by doc_saveAs().
const ExtensionMap aWriterExtensionMap[] |
Definition at line 258 of file init.cxx.
Referenced by doc_saveAs().
|
static |
Definition at line 6373 of file init.cxx.
Referenced by lo_destroy(), and lo_initialize().
|
static |
Definition at line 202 of file init.cxx.
Referenced by desktop::LibLODocument_Impl::LibLODocument_Impl().
|
static |
Definition at line 199 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 201 of file init.cxx.
Referenced by desktop::LibLibreOffice_Impl::LibLibreOffice_Impl().
|
static |
Definition at line 200 of file init.cxx.
Referenced by libreofficekit_hook_2(), lo_initialize(), and lok_preinit_2().
|
static |
Definition at line 256 of file init.cxx.
Referenced by lo_initialize(), and lo_setOption().
|
static |
Definition at line 2435 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(), getLanguages(), dp_misc::getOnlineUpdateInfos(), desktop::Desktop::HandleAppEvent(), dp_gui::handleInteractionRequest(), impl_checkDependencies(), impl_showExtensionDialog(), initialize_uno(), lo_documentLoadWithOptions(), 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 2437 of file init.cxx.
Referenced by initialize_uno(), and lo_runMacro().
|
static |
Definition at line 2436 of file init.cxx.
Referenced by initialize_uno(), lo_getFilterTypes(), and lo_runMacro().