|
LibreOffice Module sd (master) 1
|
#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>Go to the source code of this file.
Functions | |
| static const SvxItemPropertySet * | ImplGetDrawModelPropertySet () |
| 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 |
|
static |
Definition at line 240 of file unomodel.cxx.
References cppu::UnoType< typename T >::get(), SdrObject::GetGlobalDrawObjectItemPool(), sUNO_Prop_ApplyFrmDsgnMode, sUNO_Prop_AutomContFocus, sUNO_Prop_CharLocale, sUNO_Prop_ForbiddenCharacters, sUNO_Prop_HasValidSignatures, sUNO_Prop_InteropGrabBag, sUNO_Prop_MapUnit, sUNO_Prop_RuntimeUID, sUNO_Prop_TabStop, sUNO_Prop_Theme, sUNO_Prop_VisibleArea, u, WID_MODEL_BASICLIBS, WID_MODEL_BUILDID, WID_MODEL_CONTFOCUS, WID_MODEL_DIALOGLIBS, WID_MODEL_DSGNMODE, WID_MODEL_FONTS, WID_MODEL_FORBCHARS, WID_MODEL_HASVALIDSIGNATURES, WID_MODEL_INTEROPGRABBAG, WID_MODEL_LANGUAGE, WID_MODEL_MAPUNIT, WID_MODEL_RUNTIMEUID, WID_MODEL_TABSTOP, WID_MODEL_THEME, and WID_MODEL_VISAREA.
|
static |
Definition at line 1596 of file unomodel.cxx.
References vcl::PDFNote::annotColor, vcl::PDFNote::Contents, vcl::PDFExtOutDevData::CreateNote(), vcl::PDFNote::interiorColor, vcl::PDFNote::isFreeText, vcl::PDFNote::maModificationDate, vcl::PDFNote::maPolygons, and vcl::PDFNote::Title.
Referenced by SdXImpressDocument::render().
|
static |
Definition at line 1637 of file unomodel.cxx.
References vcl::PDFExtOutDevData::CreateDest(), vcl::PDFExtOutDevData::CreateLink(), vcl::PDFExtOutDevData::CreateScreen(), SdTPAction::GetClickActionSdResId(), vcl::PDFExtOutDevData::GetCurrentPageNumber(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrObject::getSdrObjectFromXShape(), SdrPage::GetSize(), i, ImplPDFExportShapeInteraction(), ImplPDFGetBookmarkPage(), nCount, SdResId(), vcl::PDFExtOutDevData::SetLinkDest(), vcl::PDFExtOutDevData::SetLinkURL(), vcl::PDFExtOutDevData::SetScreenStream(), vcl::PDFExtOutDevData::SetScreenURL(), and Standard.
Referenced by ImplPDFExportShapeInteraction(), and SdXImpressDocument::render().
|
static |
Definition at line 1571 of file unomodel.cxx.
References SdDrawDocument::GetObj(), SdDrawDocument::GetPageByName(), SdrPage::GetPageNum(), SdrObject::getSdrPageFromSdrObject(), and SDRPAGE_NOTFOUND.
Referenced by ImplPDFExportShapeInteraction(), and SdXImpressDocument::render().
| void NotifyDocumentEvent | ( | SdDrawDocument const & | rDocument, |
| const OUString & | rEventName | ||
| ) |
Definition at line 3754 of file unomodel.cxx.
References aEvent, SdXImpressDocument::GetModel(), and xModel.
Referenced by SdPage::addAnnotation(), sd::Annotation::createChangeUndo(), sd::SlideshowImpl::disposing(), SdPage::removeAnnotation(), and sd::SlideshowImpl::startShowImpl().
| 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.
| const TranslateId aTypeResIds[SdLinkTargetType::Count] |
Definition at line 142 of file unomodel.cxx.
Referenced by SdDocLinkTargets::SdDocLinkTargets(), and SdDocLinkTargetType::SdDocLinkTargetType().
| const sal_uInt16 WID_MODEL_BASICLIBS = 8 |
Definition at line 231 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_BUILDID = 10 |
Definition at line 233 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_CONTFOCUS = 6 |
Definition at line 229 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_DIALOGLIBS = 12 |
Definition at line 235 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_DSGNMODE = 7 |
Definition at line 230 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_FONTS = 13 |
Definition at line 236 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_FORBCHARS = 5 |
Definition at line 228 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), and ImplGetDrawModelPropertySet().
| const sal_uInt16 WID_MODEL_HASVALIDSIGNATURES = 11 |
Definition at line 234 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), and ImplGetDrawModelPropertySet().
| const sal_uInt16 WID_MODEL_INTEROPGRABBAG = 14 |
Definition at line 237 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_LANGUAGE = 1 |
Definition at line 224 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_MAPUNIT = 4 |
Definition at line 227 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_RUNTIMEUID = 9 |
Definition at line 232 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_TABSTOP = 2 |
Definition at line 225 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_THEME = 15 |
Definition at line 238 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().
| const sal_uInt16 WID_MODEL_VISAREA = 3 |
Definition at line 226 of file unomodel.cxx.
Referenced by SdXImpressDocument::getPropertyValue(), ImplGetDrawModelPropertySet(), and SdXImpressDocument::setPropertyValue().