LibreOffice Module unotools (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
SvtCompatibilityEntry Class Reference

#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 >
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
 

Detailed Description

Definition at line 34 of file compatibility.hxx.

Member Enumeration Documentation

◆ Index

enum class SvtCompatibilityEntry::Index
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.

Constructor & Destructor Documentation

◆ SvtCompatibilityEntry()

SvtCompatibilityEntry::SvtCompatibilityEntry ( )

Member Function Documentation

◆ getElementCount()

static size_t SvtCompatibilityEntry::getElementCount ( )
inlinestatic

◆ getName()

OUString SvtCompatibilityEntry::getName ( const Index  rIdx)
static

◆ getValue() [1/2]

css::uno::Any SvtCompatibilityEntry::getValue ( const Index  rIdx) const
inline

◆ getValue() [2/2]

template<typename T >
T SvtCompatibilityEntry::getValue ( const Index  rIdx) const
inline

Definition at line 100 of file compatibility.hxx.

References getElementCount(), and m_aPropertyValue.

◆ setValue() [1/2]

void SvtCompatibilityEntry::setValue ( const Index  rIdx,
css::uno::Any const &  rValue 
)
inline

◆ setValue() [2/2]

template<typename T >
void SvtCompatibilityEntry::setValue ( const Index  rIdx,
rValue 
)
inline

Definition at line 129 of file compatibility.hxx.

References setValue().

Member Data Documentation

◆ DEFAULT_ENTRY_NAME

constexpr OUStringLiteral SvtCompatibilityEntry::DEFAULT_ENTRY_NAME = u"_default"
staticconstexpr

◆ m_aPropertyValue

std::vector<css::uno::Any> SvtCompatibilityEntry::m_aPropertyValue
private

Definition at line 135 of file compatibility.hxx.

Referenced by getValue(), and setValue().

◆ USER_ENTRY_NAME

constexpr OUStringLiteral SvtCompatibilityEntry::USER_ENTRY_NAME = u"_user"
staticconstexpr

Definition at line 78 of file compatibility.hxx.


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