LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwXViewSettings Class Referencefinal

#include <unomod.hxx>

Inheritance diagram for SwXViewSettings:
[legend]
Collaboration diagram for SwXViewSettings:
[legend]

Public Member Functions

 SwXViewSettings (SwView *pView)
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
bool IsValid () const
 
void Invalidate ()
 
- Public Member Functions inherited from comphelper::ChainablePropertySet
 ChainablePropertySet (comphelper::ChainablePropertySetInfo *pInfo, SolarMutex *pMutex)
 
virtual ~ChainablePropertySet () override
 
css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
void SAL_CALL acquire () override
 
void SAL_CALL release () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 

Private Member Functions

virtual void _preSetValues () override
 
virtual void _setSingleValue (const comphelper::PropertyInfo &rInfo, const css::uno::Any &rValue) override
 
virtual void _postSetValues () override
 
virtual void _preGetValues () override
 
virtual void _getSingleValue (const comphelper::PropertyInfo &rInfo, css::uno::Any &rValue) override
 
virtual void _postGetValues () override
 
virtual ~SwXViewSettings () override throw ()
 

Private Attributes

SwViewpView
 
std::unique_ptr< SwViewOptionmpViewOption
 
const SwViewOptionmpConstViewOption
 
bool bObjectValid:1
 
bool mbApplyZoom
 
FieldUnit eHRulerUnit
 
bool mbApplyHRulerMetric
 
FieldUnit eVRulerUnit
 
bool mbApplyVRulerMetric
 

Friends

class SwXDocumentSettings
 

Additional Inherited Members

- Protected Attributes inherited from comphelper::ChainablePropertySet
SolarMutex *const mpMutex
 
rtl::Reference< ChainablePropertySetInfomxInfo
 

Detailed Description

Definition at line 100 of file unomod.hxx.

Constructor & Destructor Documentation

SwXViewSettings::~SwXViewSettings ( )
throw (
)
overrideprivatevirtual

Definition at line 536 of file unomod.cxx.

SwXViewSettings::SwXViewSettings ( SwView pView)

Definition at line 519 of file unomod.cxx.

References CM, comphelper::ChainablePropertySet::mxInfo, and pView.

Member Function Documentation

void SwXViewSettings::_getSingleValue ( const comphelper::PropertyInfo rInfo,
css::uno::Any &  rValue 
)
overrideprivatevirtual

Implements comphelper::ChainablePropertySet.

Definition at line 800 of file unomod.cxx.

References convertTwipToMm100(), SwViewOption::getBrowseMode(), SwViewOption::GetDivisionX(), SwViewOption::GetDivisionY(), SwView::GetEditWin(), vcl::Window::GetHelpId(), SwView::GetHRulerMetric(), SwMasterUsrPref::GetHScrollMetric(), SwViewOption::GetSnapSize(), SwViewShell::GetViewOptions(), SwView::GetVRulerMetric(), SwMasterUsrPref::GetVScrollMetric(), SwView::GetWrtShell(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), Size::Height(), INET_HID_SCHEME, SwViewOption::IsBlank(), SwViewOption::IsDocBoundaries(), SwViewOption::IsDraw(), SwViewOption::IsFieldName(), SwViewOption::IsFieldShadings(), SwViewOption::IsGraphic(), SwViewOption::IsGridVisible(), SwViewOption::IsHardBlank(), SwViewOption::IsHideWhitespaceMode(), SwViewOption::IsLineBreak(), SwViewOption::IsParagraph(), SwViewOption::IsPostIts(), SwViewOption::IsShowContentTips(), SwViewOption::IsShowHiddenChar(), SwViewOption::IsShowHiddenField(), SwViewOption::IsShowHiddenPara(), SwViewOption::IsShowInlineTooltips(), SwViewOption::IsShowScrollBarTips(), SwViewOption::IsSmoothScroll(), SwViewOption::IsSnap(), SwViewOption::IsSoftHyph(), SwViewOption::IsTab(), SwViewOption::IsTable(), SwViewOption::IsTableBoundaries(), SwViewOption::IsViewAnyRuler(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewMetaChars(), SwViewOption::IsViewVRuler(), SwViewOption::IsViewVScrollBar(), SwViewOption::IsVRulerRight(), comphelper::PropertyInfo::mnHandle, mpConstViewOption, pView, SW_MOD, and Size::Width().

void SwXViewSettings::_postGetValues ( )
overrideprivatevirtual

Implements comphelper::ChainablePropertySet.

Definition at line 942 of file unomod.cxx.

References mpConstViewOption.

void SwXViewSettings::_postSetValues ( )
overrideprivatevirtual
void SwXViewSettings::_preGetValues ( )
overrideprivatevirtual
void SwXViewSettings::_preSetValues ( )
overrideprivatevirtual
void SwXViewSettings::_setSingleValue ( const comphelper::PropertyInfo rInfo,
const css::uno::Any &  rValue 
)
overrideprivatevirtual
OUString SwXViewSettings::getImplementationName ( )
overridevirtual

Definition at line 947 of file unomod.cxx.

Sequence< OUString > SwXViewSettings::getSupportedServiceNames ( )
overridevirtual

Definition at line 957 of file unomod.cxx.

void SwXViewSettings::Invalidate ( )
inline

Definition at line 133 of file unomod.hxx.

bool SwXViewSettings::IsValid ( ) const
inline

Definition at line 132 of file unomod.hxx.

Referenced by _preGetValues(), and _preSetValues().

sal_Bool SwXViewSettings::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 952 of file unomod.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class SwXDocumentSettings
friend

Definition at line 102 of file unomod.hxx.

Member Data Documentation

bool SwXViewSettings::bObjectValid
private

Definition at line 107 of file unomod.hxx.

FieldUnit SwXViewSettings::eHRulerUnit
private

Definition at line 109 of file unomod.hxx.

Referenced by _postSetValues(), and _setSingleValue().

FieldUnit SwXViewSettings::eVRulerUnit
private

Definition at line 111 of file unomod.hxx.

Referenced by _postSetValues(), and _setSingleValue().

bool SwXViewSettings::mbApplyHRulerMetric
private

Definition at line 110 of file unomod.hxx.

Referenced by _postSetValues(), and _setSingleValue().

bool SwXViewSettings::mbApplyVRulerMetric
private

Definition at line 112 of file unomod.hxx.

Referenced by _postSetValues(), and _setSingleValue().

bool SwXViewSettings::mbApplyZoom
private

Definition at line 107 of file unomod.hxx.

Referenced by _postSetValues(), _preSetValues(), and _setSingleValue().

const SwViewOption* SwXViewSettings::mpConstViewOption
private

Definition at line 106 of file unomod.hxx.

Referenced by _getSingleValue(), _postGetValues(), and _preGetValues().

std::unique_ptr<SwViewOption> SwXViewSettings::mpViewOption
private

Definition at line 105 of file unomod.hxx.

Referenced by _postSetValues(), _preSetValues(), and _setSingleValue().

SwView* SwXViewSettings::pView
private

The documentation for this class was generated from the following files: