56 virtual void Notify(
const css::uno::Sequence<OUString>& aPropertyNames)
override;
58 css::uno::Sequence< css::uno::Any >
GetProperties(
const css::uno::Sequence< OUString >& rNames );
59 bool PutProperties(
const css::uno::Sequence< OUString >& rNames,
60 const css::uno::Sequence< css::uno::Any>& rValues );
71 std::unique_ptr<SdOptionsItem>
78 SAL_DLLPRIVATE css::uno::Sequence< OUString > GetPropertyNames()
const;
83 void OptionsChanged() {
if( mpCfgItem && mbEnableModify ) mpCfgItem->SetModified(); }
88 virtual bool ReadData(
const css::uno::Any* pValues ) = 0;
89 virtual bool WriteData( css::uno::Any* pValues )
const = 0;
105 static bool isMetricSystem();
122 virtual void GetPropNameArray(
const char**& ppNames,
sal_uLong& rCount )
const override;
123 virtual bool ReadData(
const css::uno::Any* pValues )
override;
124 virtual bool WriteData( css::uno::Any* pValues )
const override;
139 void SetRulerVisible(
bool bOn ) {
if( bRuler != bOn ) { OptionsChanged(); bRuler = bOn; } }
140 void SetMoveOutline(
bool bOn ) {
if( bMoveOutline != bOn ) { OptionsChanged(); bMoveOutline = bOn; } }
141 void SetDragStripes(
bool bOn ) {
if( bDragStripes != bOn ) { OptionsChanged(); bDragStripes = bOn; } }
142 void SetHandlesBezier(
bool bOn ) {
if( bHandlesBezier != bOn ) { OptionsChanged(); bHandlesBezier = bOn; } }
143 void SetHelplines(
bool bOn ) {
if( bHelplines != bOn ) { OptionsChanged(); bHelplines = bOn; } }
144 void SetMetric( sal_uInt16 nInMetric ) {
if( nMetric != nInMetric ) { OptionsChanged(); nMetric = nInMetric; } }
145 void SetDefTab( sal_uInt16 nTab ) {
if( nDefTab != nTab ) { OptionsChanged(); nDefTab = nTab; } }
158 void SetOptions(
SdOptions* pOpts )
const;
232 virtual void GetPropNameArray(
const char**& ppNames,
sal_uLong& rCount )
const override;
233 virtual bool ReadData(
const css::uno::Any* pValues )
override;
234 virtual bool WriteData( css::uno::Any* pValues )
const override;
274 sal_Int32 GetDisplay()
const;
275 void SetDisplay( sal_Int32 nDisplay );
278 void SetPresentationPenColor( sal_Int32 nPenColor ) {
if( mnPenColor != nPenColor ) { OptionsChanged(); mnPenColor = nPenColor; } }
281 void SetPresentationPenWidth(
double nPenWidth ) {
if( mnPenWidth != nPenWidth ) { OptionsChanged(); mnPenWidth = nPenWidth; } }
283 sal_Int32 GetDragThresholdPixels()
const;
284 void SetDragThreshold(sal_Int32 nDragThresholdPixels);
286 void SetStartWithTemplate(
bool bOn ) {
if( bStartWithTemplate != bOn ) { OptionsChanged(); bStartWithTemplate = bOn; } }
287 void SetMarkedHitMovesAlways(
bool bOn ) {
if( bMarkedHitMovesAlways != bOn ) { OptionsChanged(); bMarkedHitMovesAlways = bOn; } }
288 void SetMoveOnlyDragging(
bool bOn ) {
if( bMoveOnlyDragging != bOn ) { OptionsChanged(); bMoveOnlyDragging = bOn; } }
289 void SetCrookNoContortion(
bool bOn ) {
if( bCrookNoContortion != bOn ) { OptionsChanged(); bCrookNoContortion = bOn; } }
290 void SetQuickEdit(
bool bOn ) {
if( bQuickEdit != bOn ) { OptionsChanged(); bQuickEdit = bOn; } }
292 void SetDragWithCopy(
bool bOn ) {
if( bDragWithCopy != bOn ) { OptionsChanged(); bDragWithCopy = bOn; } }
293 void SetPickThrough(
bool bOn ) {
if( bPickThrough != bOn ) { OptionsChanged(); bPickThrough = bOn; } }
294 void SetDoubleClickTextEdit(
bool bOn ) {
if( bDoubleClickTextEdit != bOn ) { OptionsChanged(); bDoubleClickTextEdit = bOn; } }
295 void SetClickChangeRotation(
bool bOn ) {
if( bClickChangeRotation != bOn ) { OptionsChanged(); bClickChangeRotation = bOn; } }
296 void SetEnableSdremote(
bool bOn ) {
if( bEnableSdremote != bOn ) { OptionsChanged(); bEnableSdremote = bOn; } }
297 void SetEnablePresenterScreen(
bool bOn ) {
if( bEnablePresenterScreen != bOn ) { OptionsChanged(); bEnablePresenterScreen = bOn; } }
299 void SetSummationOfParagraphs(
bool bOn ){
if ( bOn != bSummationOfParagraphs ) { OptionsChanged(); bSummationOfParagraphs = bOn; } }
300 void SetTabBarVisible(
bool bOn ){
if ( bOn != bTabBarVisible ) { OptionsChanged(); bTabBarVisible = bOn; } }
307 void SetPrinterIndependentLayout (sal_uInt16 nOn ){
if ( nOn != mnPrinterIndependentLayout ) { OptionsChanged(); mnPrinterIndependentLayout = nOn; } }
308 void SetSolidDragging(
bool bOn ) {
if( bSolidDragging != bOn ) { OptionsChanged(); bSolidDragging = bOn; } }
309 void SetShowUndoDeleteWarning(
bool bOn ) {
if( bShowUndoDeleteWarning != bOn ) { OptionsChanged(); bShowUndoDeleteWarning = bOn; } }
310 void SetSlideshowRespectZOrder(
bool bOn ) {
if( bSlideshowRespectZOrder != bOn ) { OptionsChanged(); bSlideshowRespectZOrder = bOn; } }
311 void SetDefaultObjectSizeWidth( sal_Int32 nWidth ) {
if( nDefaultObjectSizeWidth != nWidth ) { OptionsChanged(); nDefaultObjectSizeWidth = nWidth; } }
312 void SetDefaultObjectSizeHeight( sal_Int32 nHeight ) {
if( nDefaultObjectSizeHeight != nHeight ) { OptionsChanged(); nDefaultObjectSizeHeight = nHeight; } }
314 void SetPreviewNewEffects(
bool bOn ) {
if( bPreviewNewEffects != bOn ) { OptionsChanged(); bPreviewNewEffects = bOn; } }
315 void SetPreviewChangedEffects(
bool bOn ) {
if( bPreviewChangedEffects != bOn ) { OptionsChanged(); bPreviewChangedEffects = bOn; } }
316 void SetPreviewTransitions(
bool bOn ) {
if( bPreviewTransitions != bOn ) { OptionsChanged(); bPreviewTransitions = bOn; } }
319 void SetShowComments(
bool bShow ) {
if( bShowComments != bShow ) { OptionsChanged(); bShowComments = bShow; } }
332 void SetOptions(
SdOptions* pOpts )
const;
357 virtual void GetPropNameArray(
const char**& ppNames,
sal_uLong& rCount )
const override;
358 virtual bool ReadData(
const css::uno::Any* pValues )
override;
359 virtual bool WriteData( css::uno::Any* pValues )
const override;
378 void SetSnapHelplines(
bool bOn ) {
if( bSnapHelplines != bOn ) { OptionsChanged(); bSnapHelplines = bOn; } }
379 void SetSnapBorder(
bool bOn ) {
if( bSnapBorder != bOn ) { OptionsChanged(); bSnapBorder = bOn; } }
380 void SetSnapFrame(
bool bOn ) {
if( bSnapFrame != bOn ) { OptionsChanged(); bSnapFrame = bOn; } }
381 void SetSnapPoints(
bool bOn ) {
if( bSnapPoints != bOn ) { OptionsChanged(); bSnapPoints = bOn; } }
382 void SetOrtho(
bool bOn ) {
if( bOrtho != bOn ) { OptionsChanged(); bOrtho = bOn; } }
383 void SetBigOrtho(
bool bOn ) {
if( bBigOrtho != bOn ) { OptionsChanged(); bBigOrtho = bOn; } }
384 void SetRotate(
bool bOn ) {
if( bRotate != bOn ) { OptionsChanged(); bRotate = bOn; } }
385 void SetSnapArea( sal_Int16 nIn ) {
if( nSnapArea != nIn ) { OptionsChanged(); nSnapArea = nIn; } }
400 void SetOptions(
SdOptions* pOpts )
const;
417 virtual bool ReadData(
const css::uno::Any* pValues )
override;
418 virtual bool WriteData( css::uno::Any* pValues )
const override;
503 virtual void GetPropNameArray(
const char**& ppNames,
sal_uLong& rCount )
const override;
504 virtual bool ReadData(
const css::uno::Any* pValues )
override;
505 virtual bool WriteData( css::uno::Any* pValues )
const override;
535 void SetDraw(
bool bOn ) {
if( bDraw != bOn ) { OptionsChanged(); bDraw = bOn; } }
536 void SetNotes(
bool bOn ) {
if( bNotes != bOn ) { OptionsChanged(); bNotes = bOn; } }
537 void SetHandout(
bool bOn ) {
if( bHandout != bOn ) { OptionsChanged(); bHandout = bOn; } }
538 void SetOutline(
bool bOn ) {
if( bOutline != bOn ) { OptionsChanged(); bOutline = bOn; } }
539 void SetDate(
bool bOn ) {
if( bDate != bOn ) { OptionsChanged(); bDate = bOn; } }
540 void SetTime(
bool bOn ) {
if( bTime != bOn ) { OptionsChanged(); bTime = bOn; } }
541 void SetPagename(
bool bOn ) {
if( bPagename != bOn ) { OptionsChanged(); bPagename = bOn; } }
542 void SetHiddenPages(
bool bOn ) {
if( bHiddenPages != bOn ) { OptionsChanged(); bHiddenPages = bOn; } }
543 void SetPagesize(
bool bOn ) {
if( bPagesize != bOn ) { OptionsChanged(); bPagesize = bOn; } }
544 void SetPagetile(
bool bOn ) {
if( bPagetile != bOn ) { OptionsChanged(); bPagetile = bOn; } }
545 void SetWarningPrinter(
bool bOn ) {
if( bWarningPrinter != bOn ) { OptionsChanged(); bWarningPrinter = bOn; } }
546 void SetWarningSize(
bool bOn ) {
if( bWarningSize != bOn ) { OptionsChanged(); bWarningSize = bOn; } }
547 void SetWarningOrientation(
bool bOn) {
if( bWarningOrientation != bOn ) { OptionsChanged(); bWarningOrientation = bOn; } }
548 void SetBooklet(
bool bOn ) {
if( bBooklet != bOn ) { OptionsChanged(); bBooklet = bOn; } }
549 void SetFrontPage(
bool bOn ) {
if( bFront != bOn ) { OptionsChanged(); bFront = bOn; } }
550 void SetBackPage(
bool bOn ) {
if( bBack != bOn ) { OptionsChanged(); bBack = bOn; } }
551 void SetCutPage(
bool bOn ) {
if( bCutPage != bOn ) { OptionsChanged(); bCutPage = bOn; } }
552 void SetPaperbin(
bool bOn ) {
if( bPaperbin != bOn ) { OptionsChanged(); bPaperbin = bOn; } }
553 void SetOutputQuality( sal_uInt16 nInQuality ) {
if( nQuality != nInQuality ) { OptionsChanged(); nQuality = nInQuality; } }
554 void SetHandoutHorizontal(
bool bHandoutHorizontal ) {
if( mbHandoutHorizontal != bHandoutHorizontal ) { OptionsChanged(); mbHandoutHorizontal = bHandoutHorizontal; } }
555 void SetHandoutPages( sal_uInt16 nHandoutPages ) {
if( nHandoutPages != mnHandoutPages ) { OptionsChanged(); mnHandoutPages = nHandoutPages; } }
568 void SetOptions(
SdOptions* pOpts )
const;
const PropertyValue * pValues
virtual void GetPropNameArray(const char **&ppNames, sal_uLong &rCount) const override
bool operator==(const SdOptionsContents &rOpt) const
SdOptionsContents(bool bImpress)
virtual bool WriteData(css::uno::Any *pValues) const override
virtual bool ReadData(const css::uno::Any *pValues) override
virtual bool WriteData(css::uno::Any *pValues) const =0
std::unique_ptr< SdOptionsItem > mpCfgItem
virtual bool ReadData(const css::uno::Any *pValues)=0
virtual void GetPropNameArray(const char **&ppNames, sal_uLong &rCount) const =0
void EnableModify(bool bModify)
void SetOptions(SdOptions *pOpts) const
SdOptionsGridItem(SdOptions const *pOpts)
sal_uInt32 GetFieldDrawX() const
sal_uInt32 GetFieldDivisionX() const
sal_uInt32 GetFieldSnapY() const
void SetFieldDrawY(sal_uInt32 nSet)
void SetFieldDrawX(sal_uInt32 nSet)
virtual ~SdOptionsGrid() override
void SetFieldSnapY(sal_uInt32 nSet)
virtual bool ReadData(const css::uno::Any *pValues) override
sal_uInt32 GetFieldSnapX() const
void SetFieldDivisionX(sal_uInt32 nSet)
bool IsGridVisible() const
bool IsUseGridSnap() const
virtual bool WriteData(css::uno::Any *pValues) const override
sal_uInt32 GetFieldDivisionY() const
void SetFieldDivisionY(sal_uInt32 nSet)
void SetEqualGrid(bool bSet)
SdOptionsGrid(bool bImpress)
void SetUseGridSnap(bool bSet)
sal_uInt32 GetFieldDrawY() const
bool IsSynchronize() const
void SetSynchronize(bool bSet)
virtual void GetPropNameArray(const char **&ppNames, sal_uLong &rCount) const override
void SetGridVisible(bool bSet)
void SetFieldSnapX(sal_uInt32 nSet)
SdOptionsItem(SdOptionsItem &&)=default
const SdOptionsGeneric & mrParent
SdOptionsItem(SdOptionsItem const &)=default
SdOptionsLayout maOptionsLayout
SdOptionsLayout & GetOptionsLayout()
void SetMetric(sal_uInt16 nInMetric)
bool IsMoveOutline() const
bool IsRulerVisible() const
void SetHandlesBezier(bool bOn)
sal_uInt16 GetDefTab() const
bool IsDragStripes() const
void SetDragStripes(bool bOn)
sal_uInt16 GetMetric() const
bool IsHandlesBezier() const
void SetMoveOutline(bool bOn)
void SetRulerVisible(bool bOn)
void SetHelplines(bool bOn)
void SetDefTab(sal_uInt16 nTab)
SdOptionsMisc maOptionsMisc
SdOptionsMisc & GetOptionsMisc()
const SdOptionsMisc & GetOptionsMisc() const
bool IsPreviewChangedEffects() const
bool IsMasterPagePaintCaching() const
bool IsCrookNoContortion() const
void SetShowUndoDeleteWarning(bool bOn)
void SetSummationOfParagraphs(bool bOn)
void SetDefaultObjectSizeHeight(sal_Int32 nHeight)
void SetPresentationPenColor(sal_Int32 nPenColor)
sal_uInt16 mnPrinterIndependentLayout
This value controls the device to use for formatting documents.
bool IsShowUndoDeleteWarning() const
void SetSlideshowRespectZOrder(bool bOn)
bool IsShowComments() const
bool IsEnableSdremote() const
bool IsSlideshowRespectZOrder() const
bool IsDragWithCopy() const
void SetPreviewChangedEffects(bool bOn)
bool IsDoubleClickTextEdit() const
bool IsPresenterScreenFullScreen() const
void SetPrinterIndependentLayout(sal_uInt16 nOn)
Set the printer independent layout mode.
bool bPresenterScreenFullScreen
bool IsEnablePresenterScreen() const
bool bSlideshowRespectZOrder
bool bPreviewChangedEffects
void SetPresenterScreenFullScreen(bool bOn)
bool IsMarkedHitMovesAlways() const
double GetPresentationPenWidth() const
bool bClickChangeRotation
bool bDoubleClickTextEdit
bool IsStartWithTemplate() const
bool bShowUndoDeleteWarning
sal_Int32 nDefaultObjectSizeHeight
bool IsPreviewNewEffects() const
void SetMarkedHitMovesAlways(bool bOn)
void SetShowComments(bool bShow)
sal_Int32 mnDragThresholdPixels
Minimum mouse move distance for it to register as a drag action.
void SetDoubleClickTextEdit(bool bOn)
bool IsSummationOfParagraphs() const
void SetStartWithTemplate(bool bOn)
sal_Int32 GetDefaultObjectSizeWidth() const
void SetDefaultObjectSizeWidth(sal_Int32 nWidth)
bool IsTabBarVisible() const
void SetSolidDragging(bool bOn)
void SetCrookNoContortion(bool bOn)
bool IsPreviewTransitions() const
sal_Int32 GetDefaultObjectSizeHeight() const
void SetQuickEdit(bool bOn)
void SetPresentationPenWidth(double nPenWidth)
bool bSummationOfParagraphs
void SetMasterPagePaintCaching(bool bOn)
void SetEnablePresenterScreen(bool bOn)
void SetEnableSdremote(bool bOn)
bool IsMoveOnlyDragging() const
void SetPreviewTransitions(bool bOn)
void SetDragWithCopy(bool bOn)
void SetTabBarVisible(bool bOn)
void SetPickThrough(bool bOn)
void SetMoveOnlyDragging(bool bOn)
void SetClickChangeRotation(bool bOn)
void SetPreviewNewEffects(bool bOn)
sal_uInt16 GetPrinterIndependentLayout() const
Return the currently selected printer independent layout mode.
bool bMarkedHitMovesAlways
sal_Int32 nDefaultObjectSizeWidth
sal_Int32 GetPresentationPenColor() const
bool bEnablePresenterScreen
bool IsPickThrough() const
bool IsClickChangeRotation() const
bool IsSolidDragging() const
SdOptionsPrint & GetOptionsPrint()
SdOptionsPrint maOptionsPrint
const SdOptionsPrint & GetOptionsPrint() const
sal_uInt16 GetHandoutPages() const
void SetWarningPrinter(bool bOn)
void SetPaperbin(bool bOn)
void SetHandoutHorizontal(bool bHandoutHorizontal)
sal_uInt16 mnHandoutPages
void SetFrontPage(bool bOn)
void SetCutPage(bool bOn)
void SetBackPage(bool bOn)
void SetBooklet(bool bOn)
void SetPagesize(bool bOn)
void SetWarningSize(bool bOn)
void SetHiddenPages(bool bOn)
bool IsWarningSize() const
void SetPagename(bool bOn)
void SetWarningOrientation(bool bOn)
void SetOutline(bool bOn)
bool IsWarningOrientation() const
void SetOutputQuality(sal_uInt16 nInQuality)
bool IsHandoutHorizontal() const
bool IsWarningPrinter() const
void SetPagetile(bool bOn)
void SetHandoutPages(sal_uInt16 nHandoutPages)
bool IsHiddenPages() const
void SetHandout(bool bOn)
sal_uInt16 GetOutputQuality() const
SdOptionsSnap maOptionsSnap
SdOptionsSnap & GetOptionsSnap()
void SetAngle(Degree100 nIn)
void SetSnapFrame(bool bOn)
void SetSnapArea(sal_Int16 nIn)
void SetSnapPoints(bool bOn)
bool IsSnapHelplines() const
void SetSnapHelplines(bool bOn)
void SetEliminatePolyPointLimitAngle(Degree100 nIn)
bool IsSnapPoints() const
Degree100 GetAngle() const
void SetSnapBorder(bool bOn)
bool IsSnapBorder() const
Degree100 GetEliminatePolyPointLimitAngle() const
void SetBigOrtho(bool bOn)
sal_Int16 GetSnapArea() const
virtual void GetPropNameArray(const char **&ppNames, sal_uLong &rCount) const override
void GetScale(sal_Int32 &rX, sal_Int32 &rY) const
virtual bool WriteData(css::uno::Any *pValues) const override
void SetScale(sal_Int32 nInX, sal_Int32 nInY)
SdOptionsZoom(bool bImpress)
virtual bool ReadData(const css::uno::Any *pValues) override
virtual ~SdOptions() override
static FieldUnit GetCurrentFieldUnit()
bool GetGridVisible() const
bool GetUseGridSnap() const
sal_uInt32 GetFieldSnapY() const
void SetFieldSnapY(sal_uInt32 nSet)
void SetFieldDrawX(sal_uInt32 nSet)
void SetUseGridSnap(bool bSet)
void SetFieldDrawY(sal_uInt32 nSet)
sal_uInt32 GetFieldDivisionY() const
bool GetSynchronize() const
void SetSynchronize(bool bSet)
void SetEqualGrid(bool bSet)
sal_uInt32 GetFieldDrawY() const
void SetGridVisible(bool bSet)
void SetFieldSnapX(sal_uInt32 nSet)
void SetFieldDivisionY(sal_uInt32 nSet)
sal_uInt32 GetFieldSnapX() const
bool GetEqualGrid() const
void SetFieldDivisionX(sal_uInt32 nSet)
sal_uInt32 GetFieldDrawX() const
sal_uInt32 GetFieldDivisionX() const
static bool PutProperties(css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
ConfigItem & operator=(ConfigItem const &)=delete
virtual void Notify(const css::uno::Sequence< OUString > &aPropertyNames)=0
virtual void ImplCommit()=0
static css::uno::Sequence< css::uno::Any > GetProperties(css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
bool operator==(const SharedUNOComponent< INTERFACE, COMPONENT > &_rLHS, const css::uno::Reference< INTERFACE > &_rRHS)