LibreOffice Module sfx2 (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <sfx2/lokcomponenthelpers.hxx>
#include <sfx2/lokhelper.hxx>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/ui/ContextChangeEventObject.hpp>
#include <comphelper/processfactory.hxx>
#include <o3tl/string_view.hxx>
#include <rtl/strbuf.hxx>
#include <vcl/lok.hxx>
#include <vcl/svapp.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/window.hxx>
#include <sal/log.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/request.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/viewfrm.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <sfx2/msgpool.hxx>
#include <boost/property_tree/json_parser.hpp>
Go to the source code of this file.
Functions | |
static OString | lcl_sanitizeJSONAsValue (const OString &rStr) |
static OString | lcl_generateJSON (const SfxViewShell *pView, const boost::property_tree::ptree &rTree) |
static OString | lcl_generateJSON (const SfxViewShell *pView, int nViewId, std::string_view rKey, const OString &rPayload) |
static OString | lcl_generateJSON (const SfxViewShell *pView, std::string_view rKey, const OString &rPayload) |
|
static |
Definition at line 422 of file lokhelper.cxx.
References SfxViewShell::getEditMode(), SfxViewShell::getPart(), SfxLokHelper::getView(), and o3tl::trim().
Referenced by lcl_generateJSON(), SfxLokHelper::makePayloadJSON(), SfxLokHelper::notifyOtherView(), and SfxLokHelper::notifyOtherViews().
|
inlinestatic |
Definition at line 434 of file lokhelper.cxx.
References SfxViewShell::getEditMode(), SfxViewShell::getPart(), and lcl_sanitizeJSONAsValue().
|
inlinestatic |
Definition at line 444 of file lokhelper.cxx.
References SfxLokHelper::getView(), and lcl_generateJSON().
|
static |
Definition at line 405 of file lokhelper.cxx.
Referenced by lcl_generateJSON().