|
LibreOffice Module sd (master) 1
|
#include <sal/config.h>#include <initializer_list>#include <string_view>#include <com/sun/star/awt/XBitmap.hpp>#include <com/sun/star/lang/DisposedException.hpp>#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>#include <com/sun/star/presentation/FadeEffect.hpp>#include <com/sun/star/presentation/AnimationSpeed.hpp>#include <com/sun/star/view/PaperOrientation.hpp>#include <com/sun/star/beans/PropertyAttribute.hpp>#include <com/sun/star/util/XTheme.hpp>#include <cppuhelper/implbase.hxx>#include <comphelper/profilezone.hxx>#include <comphelper/servicehelper.hxx>#include <cppuhelper/supportsservice.hxx>#include <rtl/ustrbuf.hxx>#include <vcl/bitmapex.hxx>#include <vcl/filter/SvmWriter.hxx>#include <vcl/metaact.hxx>#include <toolkit/helper/vclunohelper.hxx>#include <comphelper/diagnose_ex.hxx>#include <vcl/svapp.hxx>#include <AnnotationEnumeration.hxx>#include <createunopageimpl.hxx>#include <unomodel.hxx>#include <unopage.hxx>#include <svl/itemset.hxx>#include <svx/svdmodel.hxx>#include <sdresid.hxx>#include <strings.hrc>#include <sdpage.hxx>#include <unoprnms.hxx>#include <drawdoc.hxx>#include <svx/unoshape.hxx>#include <svl/style.hxx>#include <comphelper/extract.hxx>#include <comphelper/sequence.hxx>#include <svx/svditer.hxx>#include <vcl/wmf.hxx>#include <svx/svdoole2.hxx>#include <svx/svdpool.hxx>#include <svx/svdview.hxx>#include <svx/xfillit0.hxx>#include <DrawDocShell.hxx>#include <ViewShell.hxx>#include <DrawViewShell.hxx>#include <editeng/unoprnms.hxx>#include "unoobj.hxx"#include <strings.hxx>#include <bitmaps.hlst>#include <unokywds.hxx>#include "unopback.hxx"#include <vcl/dibtools.hxx>#include <tools/debug.hxx>#include <tools/stream.hxx>#include <docmodel/uno/UnoTheme.hxx>#include <docmodel/theme/Theme.hxx>#include <o3tl/string_view.hxx>Go to the source code of this file.
Macros | |
| #define | DRAW_PAGE_NOTES_PROPERTIES |
| #define | GRAPHIC_PAGE_PROPERTIES |
Functions | |
| static const SvxItemPropertySet * | ImplGetDrawPagePropertySet (bool bImpress, PageKind ePageKind) |
| static const SvxItemPropertySet * | ImplGetMasterPagePropertySet (PageKind ePageKind) |
| this function stores the property map for master pages in impress and draw More... | |
| static void | refreshpage (SdDrawDocument *pDoc, const PageKind ePageKind) |
| UNO3_GETIMPLEMENTATION2_IMPL (SdDrawPage, SdGenericDrawPage) | |
| OUString | getPageApiName (SdPage const *pPage) |
| OUString | getPageApiNameFromUiName (const OUString &rUIName) |
| OUString | getUiNameFromPageApiNameImpl (const OUString &rApiName) |
| UNO3_GETIMPLEMENTATION2_IMPL (SdMasterPage, SdGenericDrawPage) | |
| Reference< uno::XInterface > | createUnoPageImpl (SdPage *pPage) |
Variables | |
| constexpr OUStringLiteral | sEmptyPageName = u"page" |
| #define DRAW_PAGE_NOTES_PROPERTIES |
| #define GRAPHIC_PAGE_PROPERTIES |
| Reference< uno::XInterface > createUnoPageImpl | ( | SdPage * | pPage | ) |
Definition at line 3063 of file unopage.cxx.
References SdrPage::getSdrModelFromSdrPage(), SdrModel::getUnoModel(), and SdrPage::IsMasterPage().
Referenced by SdPage::createUnoPage().
| OUString getPageApiName | ( | SdPage const * | pPage | ) |
Definition at line 2156 of file unopage.cxx.
References SdrPage::GetPageNum(), SdPage::GetRealName(), and sEmptyPageName.
Referenced by SdDrawPage::getPageApiName().
| OUString getPageApiNameFromUiName | ( | const OUString & | rUIName | ) |
Definition at line 2174 of file unopage.cxx.
References SdResId(), and sEmptyPageName.
Referenced by SdUnoEventsAccess::getByName(), SdDrawPage::getPageApiNameFromUiName(), and sd::SlideShow::getPropertyValue().
| OUString getUiNameFromPageApiNameImpl | ( | const OUString & | rApiName | ) |
Definition at line 2197 of file unopage.cxx.
References SdResId(), sEmptyPageName, and o3tl::toInt32().
Referenced by sd::SlideshowImpl::click(), sd::SlideshowImpl::getSlideNumberForBookmark(), SdDrawPage::getUiNameFromPageApiName(), sd::SlideshowImpl::hyperLinkClicked(), SdUnoEventsAccess::replaceByName(), sd::SlideShow::setPropertyValue(), and sd::PresentationSettingsEx::SetPropertyValue().
|
static |
Definition at line 114 of file unopage.cxx.
References DRAW_PAGE_NOTES_PROPERTIES, cppu::UnoType< typename T >::get(), SdrObject::GetGlobalDrawObjectItemPool(), GRAPHIC_PAGE_PROPERTIES, Handout, Standard, sUNO_Prop_BookmarkURL, sUNO_Prop_IsBackgroundObjectsVisible, sUNO_Prop_IsBackgroundVisible, sUNO_Prop_UserDefinedAttributes, u, UNO_NAME_LINKDISPLAYBITMAP, UNO_NAME_LINKDISPLAYNAME, UNO_NAME_OBJ_SOUNDFILE, UNO_NAME_PAGE_BACKGROUND, UNO_NAME_PAGE_BOTTOM, UNO_NAME_PAGE_CHANGE, UNO_NAME_PAGE_DURATION, UNO_NAME_PAGE_EFFECT, UNO_NAME_PAGE_HEIGHT, UNO_NAME_PAGE_LAYOUT, UNO_NAME_PAGE_LEFT, UNO_NAME_PAGE_NUMBER, UNO_NAME_PAGE_ORIENTATION, UNO_NAME_PAGE_PREVIEW, UNO_NAME_PAGE_PREVIEWBITMAP, UNO_NAME_PAGE_PREVIEWMETAFILE, UNO_NAME_PAGE_RIGHT, UNO_NAME_PAGE_SPEED, UNO_NAME_PAGE_TOP, UNO_NAME_PAGE_TRANSITION_DURATION, UNO_NAME_PAGE_VISIBLE, UNO_NAME_PAGE_WIDTH, WID_NAVORDER, WID_PAGE_BOTTOM, WID_PAGE_HEIGHT, WID_PAGE_ISDARK, WID_PAGE_LEFT, WID_PAGE_NUMBER, WID_PAGE_ORIENT, WID_PAGE_RIGHT, WID_PAGE_TOP, WID_PAGE_USERATTRIBS, and WID_PAGE_WIDTH.
|
static |
this function stores the property map for master pages in impress and draw
Definition at line 267 of file unopage.cxx.
References cppu::UnoType< typename T >::get(), SdrObject::GetGlobalDrawObjectItemPool(), Handout, sUNO_Prop_UserDefinedAttributes, u, UNO_NAME_LINKDISPLAYBITMAP, UNO_NAME_LINKDISPLAYNAME, UNO_NAME_PAGE_BACKGROUND, UNO_NAME_PAGE_BOTTOM, UNO_NAME_PAGE_HEIGHT, UNO_NAME_PAGE_LAYOUT, UNO_NAME_PAGE_LEFT, UNO_NAME_PAGE_NUMBER, UNO_NAME_PAGE_ORIENTATION, UNO_NAME_PAGE_RIGHT, UNO_NAME_PAGE_TOP, UNO_NAME_PAGE_WIDTH, WID_PAGE_BACKFULL, WID_PAGE_BOTTOM, WID_PAGE_HEIGHT, WID_PAGE_ISDARK, WID_PAGE_LEFT, WID_PAGE_NUMBER, WID_PAGE_ORIENT, WID_PAGE_RIGHT, WID_PAGE_THEME, WID_PAGE_TOP, WID_PAGE_USERATTRIBS, and WID_PAGE_WIDTH.
|
static |
Definition at line 1797 of file unopage.cxx.
References SdDrawDocument::GetDocSh(), SdDrawDocument::GetSdPage(), SdrPage::GetSize(), sd::DrawDocShell::GetViewShell(), Size::Height(), sd::ViewShell::InitWindows(), SdrModel::SetMaxObjSize(), sd::ViewShell::UpdateScrollBars(), and Size::Width().
Referenced by SdGenericDrawPage::SetHeight(), and SdGenericDrawPage::SetWidth().
| UNO3_GETIMPLEMENTATION2_IMPL | ( | SdDrawPage | , |
| SdGenericDrawPage | |||
| ) |
| UNO3_GETIMPLEMENTATION2_IMPL | ( | SdMasterPage | , |
| SdGenericDrawPage | |||
| ) |
|
constexpr |
Definition at line 111 of file unopage.cxx.
Referenced by getPageApiName(), getPageApiNameFromUiName(), getUiNameFromPageApiNameImpl(), and SdDrawPage::setName().