69 s_aParaStyles(
"P" ),s_aListStyles(
"L" ),s_aSectionStyles(
"Sect" ),
70 s_aPageMasters(
"PM" ),s_aMasterpages(
"MP" ),s_aDateStyles(
"N" ),
71 s_aGraphicsStyles(
"fr" ),s_aTableStyles(
"table" ),s_aTableCellStyles(
"cell" ),
72 s_aTableRowStyles(
"row" ),s_aTableColStyles(
"col" )
113 OUString
name = pStyle->GetStyleName();
117 if( !
name.isEmpty() )
128 if( !
name.isEmpty() )
319 pAttrList->
AddAttribute(
"style:name", fontDecl.GetFontName() );
320 pAttrList->
AddAttribute(
"fo:font-family", fontDecl.GetFontFamily() );
321 pAttrList->
AddAttribute(
"style:font-pitch",
"variable" );
364 pStrm->
EndElement(
"office:automatic-styles" );
Attribute list interface for sax writer.
virtual void Clear()=0
@descr: Clear all the attributes in the attribute list.
virtual void AddAttribute(const OUString &name, const OUString &value)=0
@descr: Add an attribute to the attribute list.
Stream wrapper for sax writer.
virtual IXFAttrList * GetAttrList()=0
@descr return the Attribute list interface.
virtual void StartElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::startElement()
virtual void EndElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::endElement()
@descr Interface for all style object.
void SetEndnoteConfig(XFEndnoteConfig *pFNConfig)
@descr Set endnote config.
void SetFootnoteConfig(XFFootnoteConfig *pFNConfig)
@descr Set footnote config.
virtual void ToXml(IXFStream *pStrm) override
@descr Output config information.
void SetLineNumberConfig(XFLineNumberConfig *pLNConfig)
@descr Set line number config.
Font declaration in OOo xml file.
Style object for aragraph.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
@descr Add style to container.
void Reset()
@descr clear container.
virtual void ToXml(IXFStream *pStrm)
@descr Output all style.
IXFStyle * FindStyle(std::u16string_view name)
@descr get style by name.
XFStyleContainer s_aTableCellStyles
XFStyleContainer s_aDateStyles
XFStyleContainer s_aSectionStyles
void Reset()
@descr clear all styles, called before load file.
void SetFootnoteConfig(XFFootnoteConfig *pFNConfig)
void ToXml(IXFStream *strm)
XFStyleContainer s_aGraphicsStyles
XFStyleContainer s_aTableStyles
XFStyleContainer s_aMasterpages
XFStyleContainer s_aPageMasters
XFConfigManager s_aConfigManager
void SetLineNumberConfig(XFLineNumberConfig *pLNConfig)
XFStyleContainer s_aTextStyles
XFStyleContainer s_aStdTextStyles
XFStyleContainer s_aParaStyles
IXFStyle * FindStyle(std::u16string_view name)
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
XFStyleContainer s_aRubyStyles
std::vector< XFFontDecl > s_aFontDecls
XFParaStyle * FindParaStyle(std::u16string_view name)
XFStyleContainer s_aListStyles
XFStyleContainer s_aTableRowStyles
XFStyleContainer s_aTableColStyles
void AddFontDecl(XFFontDecl const &aFontDecl)
XFStyleContainer s_aStdArrowStyles
XFStyleContainer s_aStdAreaStyles
XFStyleContainer s_aStdParaStyles
XFTextStyle * FindTextStyle(std::u16string_view name)
std::unique_ptr< IXFStyle > s_pOutlineStyle
XFStyleContainer s_aStdStrokeDashStyles
void SetEndnoteConfig(XFEndnoteConfig *pFNConfig)