LibreOffice Module sd (master) 1
Functions | Variables
unomodel.cxx File Reference
#include <memory>
#include <com/sun/star/presentation/XPresentation2.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/awt/XDevice.hpp>
#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/util/XTheme.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <officecfg/Office/Common.hxx>
#include <comphelper/indexedpropertyvalues.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/profilezone.hxx>
#include <sal/log.hxx>
#include <editeng/unofield.hxx>
#include <notifydocumentevent.hxx>
#include <tpaction.hxx>
#include <unomodel.hxx>
#include "unopool.hxx"
#include <sfx2/lokhelper.hxx>
#include <sfx2/dispatch.hxx>
#include <vcl/svapp.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <editeng/UnoForbiddenCharsTable.hxx>
#include <svx/svdoutl.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/string_view.hxx>
#include <o3tl/unit_conversion.hxx>
#include <svx/UnoNamespaceMap.hxx>
#include <svx/svdlayer.hxx>
#include <svx/svdsob.hxx>
#include <svx/svdundo.hxx>
#include <svx/unoapi.hxx>
#include <svx/unofill.hxx>
#include <svx/sdrpagewindow.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <editeng/fontitem.hxx>
#include <toolkit/awt/vclxdevice.hxx>
#include <svx/svdpool.hxx>
#include <svx/svdpagv.hxx>
#include <svtools/unoimap.hxx>
#include <svtools/slidesorterbaropt.hxx>
#include <svx/unoshape.hxx>
#include <editeng/unonrule.hxx>
#include <editeng/eeitem.hxx>
#include <unotools/datetime.hxx>
#include <xmloff/autolayout.hxx>
#include <svx/xmleohlp.hxx>
#include <svx/xmlgrhlp.hxx>
#include <DrawDocShell.hxx>
#include <ViewShellBase.hxx>
#include "UnoDocumentSettings.hxx"
#include <Annotation.hxx>
#include <drawdoc.hxx>
#include <sdmod.hxx>
#include <sdresid.hxx>
#include <sdpage.hxx>
#include <strings.hrc>
#include <strings.hxx>
#include "unolayer.hxx"
#include <unopage.hxx>
#include "unocpres.hxx"
#include "unoobj.hxx"
#include <stlpool.hxx>
#include "unopback.hxx"
#include <unokywds.hxx>
#include <FrameView.hxx>
#include <ClientView.hxx>
#include <DrawViewShell.hxx>
#include <ViewShell.hxx>
#include <Window.hxx>
#include <optsitem.hxx>
#include <vcl/pdfextoutdevdata.hxx>
#include <com/sun/star/presentation/AnimationSpeed.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
#include <com/sun/star/office/XAnnotation.hpp>
#include <com/sun/star/office/XAnnotationAccess.hpp>
#include <com/sun/star/office/XAnnotationEnumeration.hpp>
#include <com/sun/star/geometry/RealPoint2D.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <drawinglayer/primitive2d/structuretagprimitive2d.hxx>
#include <sfx2/lokcomponenthelpers.hxx>
#include <sfx2/LokControlHandler.hxx>
#include <tools/gen.hxx>
#include <tools/debug.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/json_writer.hxx>
#include <tools/UnitConversion.hxx>
#include <svx/ColorSets.hxx>
#include <docmodel/theme/Theme.hxx>
#include <app.hrc>
Include dependency graph for unomodel.cxx:

Go to the source code of this file.

Functions

static const SvxItemPropertySetImplGetDrawModelPropertySet ()
 
static sal_Int32 ImplPDFGetBookmarkPage (const OUString &rBookmark, SdDrawDocument const &rDoc)
 
static void ImplPDFExportComments (const uno::Reference< drawing::XDrawPage > &xPage, vcl::PDFExtOutDevData &rPDFExtOutDevData)
 
static void ImplPDFExportShapeInteraction (const uno::Reference< drawing::XShape > &xShape, SdDrawDocument &rDoc, vcl::PDFExtOutDevData &rPDFExtOutDevData)
 
void NotifyDocumentEvent (SdDrawDocument const &rDocument, const OUString &rEventName)
 
void NotifyDocumentEvent (SdDrawDocument const &rDocument, const OUString &rEventName, const uno::Reference< uno::XInterface > &xSource)
 

Variables

const TranslateId aTypeResIds [SdLinkTargetType::Count]
 
const sal_uInt16 WID_MODEL_LANGUAGE = 1
 
const sal_uInt16 WID_MODEL_TABSTOP = 2
 
const sal_uInt16 WID_MODEL_VISAREA = 3
 
const sal_uInt16 WID_MODEL_MAPUNIT = 4
 
const sal_uInt16 WID_MODEL_FORBCHARS = 5
 
const sal_uInt16 WID_MODEL_CONTFOCUS = 6
 
const sal_uInt16 WID_MODEL_DSGNMODE = 7
 
const sal_uInt16 WID_MODEL_BASICLIBS = 8
 
const sal_uInt16 WID_MODEL_RUNTIMEUID = 9
 
const sal_uInt16 WID_MODEL_BUILDID = 10
 
const sal_uInt16 WID_MODEL_HASVALIDSIGNATURES = 11
 
const sal_uInt16 WID_MODEL_DIALOGLIBS = 12
 
const sal_uInt16 WID_MODEL_FONTS = 13
 
const sal_uInt16 WID_MODEL_INTEROPGRABBAG = 14
 
const sal_uInt16 WID_MODEL_THEME = 15
 

Function Documentation

◆ ImplGetDrawModelPropertySet()

static const SvxItemPropertySet * ImplGetDrawModelPropertySet ( )
static

◆ ImplPDFExportComments()

static void ImplPDFExportComments ( const uno::Reference< drawing::XDrawPage > &  xPage,
vcl::PDFExtOutDevData rPDFExtOutDevData 
)
static

◆ ImplPDFExportShapeInteraction()

static void ImplPDFExportShapeInteraction ( const uno::Reference< drawing::XShape > &  xShape,
SdDrawDocument rDoc,
vcl::PDFExtOutDevData rPDFExtOutDevData 
)
static

◆ ImplPDFGetBookmarkPage()

static sal_Int32 ImplPDFGetBookmarkPage ( const OUString &  rBookmark,
SdDrawDocument const &  rDoc 
)
static

◆ NotifyDocumentEvent() [1/2]

void NotifyDocumentEvent ( SdDrawDocument const &  rDocument,
const OUString &  rEventName 
)

◆ NotifyDocumentEvent() [2/2]

void NotifyDocumentEvent ( SdDrawDocument const &  rDocument,
const OUString &  rEventName,
const uno::Reference< uno::XInterface > &  xSource 
)

Definition at line 3766 of file unomodel.cxx.

References aEvent, SdXImpressDocument::GetModel(), and xModel.

Variable Documentation

◆ aTypeResIds

Initial value:
=
{
STR_SD_PAGE,
STR_NOTES_MODE,
STR_HANDOUT,
STR_MASTERPAGE_NAME,
}

Definition at line 142 of file unomodel.cxx.

Referenced by SdDocLinkTargets::SdDocLinkTargets(), and SdDocLinkTargetType::SdDocLinkTargetType().

◆ WID_MODEL_BASICLIBS

const sal_uInt16 WID_MODEL_BASICLIBS = 8

◆ WID_MODEL_BUILDID

const sal_uInt16 WID_MODEL_BUILDID = 10

◆ WID_MODEL_CONTFOCUS

const sal_uInt16 WID_MODEL_CONTFOCUS = 6

◆ WID_MODEL_DIALOGLIBS

const sal_uInt16 WID_MODEL_DIALOGLIBS = 12

◆ WID_MODEL_DSGNMODE

const sal_uInt16 WID_MODEL_DSGNMODE = 7

◆ WID_MODEL_FONTS

const sal_uInt16 WID_MODEL_FONTS = 13

◆ WID_MODEL_FORBCHARS

const sal_uInt16 WID_MODEL_FORBCHARS = 5

◆ WID_MODEL_HASVALIDSIGNATURES

const sal_uInt16 WID_MODEL_HASVALIDSIGNATURES = 11

◆ WID_MODEL_INTEROPGRABBAG

const sal_uInt16 WID_MODEL_INTEROPGRABBAG = 14

◆ WID_MODEL_LANGUAGE

const sal_uInt16 WID_MODEL_LANGUAGE = 1

◆ WID_MODEL_MAPUNIT

const sal_uInt16 WID_MODEL_MAPUNIT = 4

◆ WID_MODEL_RUNTIMEUID

const sal_uInt16 WID_MODEL_RUNTIMEUID = 9

◆ WID_MODEL_TABSTOP

const sal_uInt16 WID_MODEL_TABSTOP = 2

◆ WID_MODEL_THEME

const sal_uInt16 WID_MODEL_THEME = 15

◆ WID_MODEL_VISAREA

const sal_uInt16 WID_MODEL_VISAREA = 3