LibreOffice Module writerfilter (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
writerfilter::dmapper::StyleSheetTable_Impl Struct Reference
Collaboration diagram for writerfilter::dmapper::StyleSheetTable_Impl:
[legend]

Public Member Functions

 StyleSheetTable_Impl (DomainMapper &rDMapper, uno::Reference< text::XTextDocument > xTextDocument, bool bIsNewDoc)
 
OUString HasListCharStyle (const PropertyValueVector_t &rCharProperties)
 
void AppendLatentStyleProperty (const OUString &aName, Value const &rValue)
 Appends the given key-value pair to the list of latent style properties of the current entry. More...
 
void ApplyClonedTOCStylesToXText (uno::Reference< text::XText > const &xText)
 

Static Public Member Functions

static void SetPropertiesToDefault (const uno::Reference< style::XStyle > &xStyle)
 Sets all properties of xStyle back to default. More...
 

Public Attributes

DomainMapperm_rDMapper
 
uno::Reference< text::XTextDocument > m_xTextDocument
 
uno::Reference< beans::XPropertySetm_xTextDefaults
 
std::vector< StyleSheetEntryPtrm_aStyleSheetEntries
 
std::map< OUString, StyleSheetEntryPtrm_aStyleSheetEntriesMap
 
std::map< OUString, OUString > m_ClonedTOCStylesMap
 
StyleSheetEntryPtr m_pCurrentEntry
 
PropertyMapPtr m_pDefaultParaProps
 
PropertyMapPtr m_pDefaultCharProps
 
OUString m_sDefaultParaStyleName
 
std::vector< ListCharStylePropertyMap_t > m_aListCharStylePropertyVector
 
bool m_bHasImportedDefaultParaProps
 
bool m_bIsNewDoc
 

Detailed Description

Definition at line 271 of file StyleSheetTable.cxx.

Constructor & Destructor Documentation

◆ StyleSheetTable_Impl()

writerfilter::dmapper::StyleSheetTable_Impl::StyleSheetTable_Impl ( DomainMapper rDMapper,
uno::Reference< text::XTextDocument >  xTextDocument,
bool  bIsNewDoc 
)

Member Function Documentation

◆ AppendLatentStyleProperty()

void writerfilter::dmapper::StyleSheetTable_Impl::AppendLatentStyleProperty ( const OUString &  aName,
Value const &  rValue 
)

Appends the given key-value pair to the list of latent style properties of the current entry.

Definition at line 348 of file StyleSheetTable.cxx.

References aName, writerfilter::Value::getString(), and m_pCurrentEntry.

◆ ApplyClonedTOCStylesToXText()

void writerfilter::dmapper::StyleSheetTable_Impl::ApplyClonedTOCStylesToXText ( uno::Reference< text::XText > const &  xText)

Definition at line 1011 of file StyleSheetTable.cxx.

References ApplyClonedTOCStylesToXText(), m_ClonedTOCStylesMap, and u.

Referenced by ApplyClonedTOCStylesToXText().

◆ HasListCharStyle()

OUString writerfilter::dmapper::StyleSheetTable_Impl::HasListCharStyle ( const PropertyValueVector_t rCharProperties)

Definition at line 321 of file StyleSheetTable.cxx.

References m_aListCharStylePropertyVector.

◆ SetPropertiesToDefault()

void writerfilter::dmapper::StyleSheetTable_Impl::SetPropertiesToDefault ( const uno::Reference< style::XStyle > &  xStyle)
static

Sets all properties of xStyle back to default.

Definition at line 356 of file StyleSheetTable.cxx.

References aProperties, comphelper::containerToSequence(), i, and TOOLS_INFO_EXCEPTION.

Referenced by writerfilter::dmapper::StyleSheetTable::ApplyStyleSheetsImpl().

Member Data Documentation

◆ m_aListCharStylePropertyVector

std::vector< ListCharStylePropertyMap_t > writerfilter::dmapper::StyleSheetTable_Impl::m_aListCharStylePropertyVector

Definition at line 282 of file StyleSheetTable.cxx.

Referenced by HasListCharStyle().

◆ m_aStyleSheetEntries

std::vector< StyleSheetEntryPtr > writerfilter::dmapper::StyleSheetTable_Impl::m_aStyleSheetEntries

Definition at line 276 of file StyleSheetTable.cxx.

◆ m_aStyleSheetEntriesMap

std::map< OUString, StyleSheetEntryPtr > writerfilter::dmapper::StyleSheetTable_Impl::m_aStyleSheetEntriesMap

Definition at line 277 of file StyleSheetTable.cxx.

◆ m_bHasImportedDefaultParaProps

bool writerfilter::dmapper::StyleSheetTable_Impl::m_bHasImportedDefaultParaProps

Definition at line 283 of file StyleSheetTable.cxx.

◆ m_bIsNewDoc

bool writerfilter::dmapper::StyleSheetTable_Impl::m_bIsNewDoc

Definition at line 284 of file StyleSheetTable.cxx.

◆ m_ClonedTOCStylesMap

std::map<OUString, OUString> writerfilter::dmapper::StyleSheetTable_Impl::m_ClonedTOCStylesMap

Definition at line 278 of file StyleSheetTable.cxx.

Referenced by ApplyClonedTOCStylesToXText().

◆ m_pCurrentEntry

StyleSheetEntryPtr writerfilter::dmapper::StyleSheetTable_Impl::m_pCurrentEntry

Definition at line 279 of file StyleSheetTable.cxx.

Referenced by AppendLatentStyleProperty().

◆ m_pDefaultCharProps

PropertyMapPtr writerfilter::dmapper::StyleSheetTable_Impl::m_pDefaultCharProps

Definition at line 280 of file StyleSheetTable.cxx.

Referenced by StyleSheetTable_Impl().

◆ m_pDefaultParaProps

PropertyMapPtr writerfilter::dmapper::StyleSheetTable_Impl::m_pDefaultParaProps

Definition at line 280 of file StyleSheetTable.cxx.

◆ m_rDMapper

DomainMapper& writerfilter::dmapper::StyleSheetTable_Impl::m_rDMapper

Definition at line 273 of file StyleSheetTable.cxx.

◆ m_sDefaultParaStyleName

OUString writerfilter::dmapper::StyleSheetTable_Impl::m_sDefaultParaStyleName

Definition at line 281 of file StyleSheetTable.cxx.

◆ m_xTextDefaults

uno::Reference< beans::XPropertySet> writerfilter::dmapper::StyleSheetTable_Impl::m_xTextDefaults

Definition at line 275 of file StyleSheetTable.cxx.

◆ m_xTextDocument

uno::Reference< text::XTextDocument> writerfilter::dmapper::StyleSheetTable_Impl::m_xTextDocument

Definition at line 274 of file StyleSheetTable.cxx.


The documentation for this struct was generated from the following file: