|
LibreOffice Module unotools (master) 1
|
#include <compatibility.hxx>
Public Types | |
| enum class | Index { Name , Module , AddSpacing , AddSpacingAtPages , UseOurTabStops , NoExtLeading , UseLineSpacing , AddTableSpacing , UseObjectPositioning , UseOurTextWrapping , ConsiderWrappingStyle , ExpandWordSpace , ProtectForm , MsWordTrailingBlanks , SubtractFlysAnchoredAtFlys , EmptyDbFieldHidesPara , UseVariableWidthNBSP , AddTableLineSpacing , INVALID } |
Public Member Functions | |
| SvtCompatibilityEntry () | |
| css::uno::Any | getValue (const Index rIdx) const |
| template<typename T > | |
| T | getValue (const Index rIdx) const |
| void | setValue (const Index rIdx, css::uno::Any const &rValue) |
| template<typename T > | |
| void | setValue (const Index rIdx, T rValue) |
Static Public Member Functions | |
| static OUString | getName (const Index rIdx) |
| static size_t | getElementCount () |
Static Public Attributes | |
| static constexpr OUStringLiteral | USER_ENTRY_NAME = u"_user" |
| static constexpr OUStringLiteral | DEFAULT_ENTRY_NAME = u"_default" |
Private Attributes | |
| std::vector< css::uno::Any > | m_aPropertyValue |
Definition at line 34 of file compatibility.hxx.
|
strong |
| Enumerator | |
|---|---|
| Name | |
| Module | |
| AddSpacing | |
| AddSpacingAtPages | |
| UseOurTabStops | |
| NoExtLeading | |
| UseLineSpacing | |
| AddTableSpacing | |
| UseObjectPositioning | |
| UseOurTextWrapping | |
| ConsiderWrappingStyle | |
| ExpandWordSpace | |
| ProtectForm | |
| MsWordTrailingBlanks | |
| SubtractFlysAnchoredAtFlys | |
| EmptyDbFieldHidesPara | |
| UseVariableWidthNBSP | |
| AddTableLineSpacing | special entry: optcomp.cxx converts the other values to integers but not this one because it doesn't have its own checkbox, so keep it at the end! |
| INVALID | |
Definition at line 42 of file compatibility.hxx.
| SvtCompatibilityEntry::SvtCompatibilityEntry | ( | ) |
Definition at line 44 of file compatibility.cxx.
References AddSpacing, AddSpacingAtPages, AddTableLineSpacing, AddTableSpacing, ConsiderWrappingStyle, EmptyDbFieldHidesPara, ExpandWordSpace, Module, MsWordTrailingBlanks, Name, NoExtLeading, ProtectForm, SubtractFlysAnchoredAtFlys, UseLineSpacing, UseObjectPositioning, UseOurTabStops, UseOurTextWrapping, and UseVariableWidthNBSP.
|
inlinestatic |
Definition at line 81 of file compatibility.hxx.
References INVALID.
Referenced by getName(), getValue(), SvtCompatibilityOptions_Impl::impl_GetPropertyNames(), SvtCompatibilityOptions_Impl::ImplCommit(), and setValue().
|
static |
Definition at line 70 of file compatibility.cxx.
References getElementCount().
Referenced by SvtCompatibilityOptions_Impl::impl_GetPropertyNames(), and SvtCompatibilityOptions_Impl::ImplCommit().
|
inline |
Definition at line 86 of file compatibility.hxx.
References getElementCount(), and m_aPropertyValue.
Referenced by SvtCompatibilityOptions_Impl::AppendItem(), SvtCompatibilityOptions_Impl::GetDefault(), SvtCompatibilityOptions_Impl::ImplCommit(), and SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl().
|
inline |
Definition at line 100 of file compatibility.hxx.
References getElementCount(), and m_aPropertyValue.
|
inline |
Definition at line 116 of file compatibility.hxx.
References getElementCount(), and m_aPropertyValue.
Referenced by SvtCompatibilityOptions_Impl::SetDefault(), setValue(), and SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl().
|
inline |
Definition at line 129 of file compatibility.hxx.
References setValue().
|
staticconstexpr |
Definition at line 79 of file compatibility.hxx.
Referenced by SvtCompatibilityOptions_Impl::AppendItem(), and SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl().
|
private |
Definition at line 135 of file compatibility.hxx.
Referenced by getValue(), and setValue().
|
staticconstexpr |
Definition at line 78 of file compatibility.hxx.