LibreOffice Module sw (master) 1
|
Implements com.sun.star.text.ViewSettings: UNO access to per-view settings (e.g. More...
#include <unomod.hxx>
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) noexcept | |
virtual | ~ChainablePropertySet () noexcept override |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
void SAL_CALL | acquire () noexcept override |
void SAL_CALL | release () noexcept 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 () noexcept override |
Private Attributes | |
SwView * | m_pView |
std::unique_ptr< SwViewOption > | mpViewOption |
const SwViewOption * | mpConstViewOption |
bool | m_bObjectValid:1 |
bool | mbApplyZoom |
FieldUnit | m_eHRulerUnit |
bool | mbApplyHRulerMetric |
FieldUnit | m_eVRulerUnit |
bool | mbApplyVRulerMetric |
Friends | |
class | SwXDocumentSettings |
Additional Inherited Members | |
virtual void | _preSetValues ()=0 |
virtual void | _setSingleValue (const comphelper::PropertyInfo &rInfo, const css::uno::Any &rValue)=0 |
virtual void | _postSetValues ()=0 |
virtual void | _preGetValues ()=0 |
virtual void | _getSingleValue (const comphelper::PropertyInfo &rInfo, css::uno::Any &rValue)=0 |
virtual void | _postGetValues ()=0 |
Protected Attributes inherited from comphelper::ChainablePropertySet | |
SolarMutex *const | mpMutex |
rtl::Reference< ChainablePropertySetInfo > | mxInfo |
Implements com.sun.star.text.ViewSettings: UNO access to per-view settings (e.g.
if formatting marks are visible or not.)
Definition at line 103 of file unomod.hxx.
|
overrideprivatevirtualnoexcept |
Definition at line 538 of file unomod.cxx.
SwXViewSettings::SwXViewSettings | ( | SwView * | pView | ) |
Definition at line 521 of file unomod.cxx.
References CM, m_pView, and comphelper::ChainablePropertySet::mxInfo.
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 806 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::IsShowBookmarks(), SwViewOption::IsShowChangesInMargin(), 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(), m_pView, comphelper::PropertyInfo::mnHandle, mpConstViewOption, SW_MOD, and Size::Width().
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 948 of file unomod.cxx.
References mpConstViewOption.
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 767 of file unomod.cxx.
References SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), DestText, DestViewOnly, m_eHRulerUnit, m_eVRulerUnit, m_pView, mbApplyHRulerMetric, mbApplyVRulerMetric, mbApplyZoom, mpViewOption, SwView::SetZoom(), and SW_MOD.
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 794 of file unomod.cxx.
References SwViewShell::GetViewOptions(), SwView::GetWrtShell(), IsValid(), m_pView, mpConstViewOption, and SW_MOD.
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 544 of file unomod.cxx.
References SwViewShell::GetViewOptions(), SwView::GetWrtShell(), IsValid(), m_pView, mbApplyZoom, mpViewOption, and SW_MOD.
|
overrideprivatevirtual |
Implements comphelper::ChainablePropertySet.
Definition at line 562 of file unomod.cxx.
References SwWrtShell::ApplyViewOptions(), FieldShadings, SwViewOption::getBrowseMode(), SwView::GetDocShell(), SwView::GetEditWin(), INetURLObject::GetProtocol(), INetURLObject::GetURLPath(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), SwViewOption::IsHideWhitespaceMode(), m_eHRulerUnit, m_eVRulerUnit, m_pView, MAXZOOM, mbApplyHRulerMetric, mbApplyVRulerMetric, mbApplyZoom, MINZOOM, o3tl::mm100, comphelper::PropertyInfo::mnHandle, mpViewOption, SwViewOption::setBrowseMode(), Size::setHeight(), vcl::Window::SetHelpId(), SwViewOption::SetHideWhitespaceMode(), Size::setWidth(), TableBoundaries, SwDocShell::ToggleLayoutMode(), and o3tl::toTwips().
|
overridevirtual |
Definition at line 953 of file unomod.cxx.
|
overridevirtual |
Definition at line 963 of file unomod.cxx.
|
inline |
Definition at line 136 of file unomod.hxx.
|
inline |
Definition at line 135 of file unomod.hxx.
Referenced by _preGetValues(), and _preSetValues().
|
overridevirtual |
Definition at line 958 of file unomod.cxx.
References cppu::supportsService().
|
friend |
Definition at line 105 of file unomod.hxx.
|
private |
Definition at line 110 of file unomod.hxx.
|
private |
Definition at line 112 of file unomod.hxx.
Referenced by _postSetValues(), and _setSingleValue().
|
private |
Definition at line 114 of file unomod.hxx.
Referenced by _postSetValues(), and _setSingleValue().
|
private |
Definition at line 107 of file unomod.hxx.
Referenced by _getSingleValue(), _postSetValues(), _preGetValues(), _preSetValues(), _setSingleValue(), and SwXViewSettings().
|
private |
Definition at line 113 of file unomod.hxx.
Referenced by _postSetValues(), and _setSingleValue().
|
private |
Definition at line 115 of file unomod.hxx.
Referenced by _postSetValues(), and _setSingleValue().
|
private |
Definition at line 110 of file unomod.hxx.
Referenced by _postSetValues(), _preSetValues(), and _setSingleValue().
|
private |
Definition at line 109 of file unomod.hxx.
Referenced by _getSingleValue(), _postGetValues(), and _preGetValues().
|
private |
Definition at line 108 of file unomod.hxx.
Referenced by _postSetValues(), _preSetValues(), and _setSingleValue().