25#include <com/sun/star/beans/PropertyValues.hpp>
48struct StyleSheetTable_Impl;
88 std::unique_ptr<StyleSheetTable_Impl>
m_pImpl;
101 OUString
ConvertStyleName(
const OUString& rWWName,
bool bExtendedSearch =
false );
std::vector< css::beans::PropertyValue > PropertyValueVector_t
void sprm(Sprm &sprm) override
Receives a SPRM.
An SPRM: Section, Paragraph and Run Modifier.
bool m_bAssignedAsChapterNumbering
OUString m_sConvertedStyleName
OUString m_sLinkStyleIdentifier
OUString m_sNextStyleIdentifier
virtual ~StyleSheetEntry() override
OUString m_sBaseStyleIdentifier
bool m_bAutoRedefine
Writer calls this auto-update.
css::beans::PropertyValue GetInteropGrabBag()
Used for table styles, has a name.
StyleSheetEntry(StyleSheetEntry const &)=default
std::vector< css::beans::PropertyValue > m_aLsdExceptions
List of lsdException attribute lists.
css::beans::PropertyValues GetInteropGrabBagSeq() const
Used for existing styles, just a list of properties.
const tools::SvRef< StyleSheetPropertyMap > m_pProperties
std::vector< css::beans::PropertyValue > m_aLatentStyles
Attributes of latentStyles.
StyleType m_nStyleTypeCode
std::vector< css::beans::PropertyValue > m_aInteropGrabBag
PropertyMapPtr GetMergedInheritedProperties(const StyleSheetTablePtr &pStyleSheetTable)
OUString m_sStyleIdentifierD
void AppendInteropGrabBag(const css::beans::PropertyValue &rValue)
void ApplyStyleSheetsImpl(const FontTablePtr &rFontTable, std::vector< StyleSheetEntryPtr > const &rEntries)
void ApplyClonedTOCStyles()
Replace the applied en-US Word built-in styles that were referenced from TOC fields (also STYLEREF an...
void ReApplyInheritedOutlineLevelFromChapterNumbering()
OUString CloneTOCStyle(FontTablePtr const &rFontTable, StyleSheetEntryPtr const pStyle, OUString const &rName)
virtual void lcl_sprm(Sprm &sprm) override
StyleSheetEntryPtr FindStyleSheetByConvertedStyleName(std::u16string_view rIndex)
StyleSheetEntryPtr FindDefaultParaStyle()
void SetDefaultParaProps(PropertyIds eId, const css::uno::Any &rAny)
virtual void lcl_entry(writerfilter::Reference< Properties >::Pointer_t ref) override
OUString ConvertStyleName(const OUString &rWWName, bool bExtendedSearch=false)
void ApplyNumberingStyleNameToParaStyles()
PropertyMapPtr const & GetDefaultParaProps() const
OUString getOrCreateCharStyle(PropertyValueVector_t &rCharProperties, bool bAlwaysCreate)
const StyleSheetEntryPtr & GetCurrentEntry() const
StyleSheetEntryPtr FindStyleSheetByISTD(const OUString &sIndex)
std::unique_ptr< StyleSheetTable_Impl > m_pImpl
void applyDefaults(bool bParaProperties)
virtual ~StyleSheetTable() override
PropertyMapPtr const & GetDefaultCharProps() const
Returns the default character properties.
StyleSheetTable(DomainMapper &rDMapper, css::uno::Reference< css::text::XTextDocument > const &xTextDocument, bool bIsNewDoc)
void ApplyStyleSheets(const FontTablePtr &rFontTable)
virtual void lcl_attribute(Id Name, Value &val) override
TableStyleSheetEntry(StyleSheetEntry const &aEntry)
std::map< TblStyleType, PropertyMapPtr > TblStylePrs
PropertyMapPtr GetLocalPropertiesFromMask(sal_Int32 nMask)
void AddTblStylePr(TblStyleType nType, const PropertyMapPtr &pProps)
virtual ~TableStyleSheetEntry() override
PropertyMapPtr GetProperties(sal_Int32 nMask)
tools::SvRef< StyleSheetEntry > StyleSheetEntryPtr
tools::SvRef< StyleSheetTable > StyleSheetTablePtr