20#ifndef INCLUDED_SW_SOURCE_FILTER_HTML_SWCSS1_HXX
21#define INCLUDED_SW_SOURCE_FILTER_HTML_SWCSS1_HXX
85 sal_uInt32
const aFHeight[7],
const OUString& rBaseURL,
bool bNewDoc);
91 virtual sal_uInt32
GetFontHeight( sal_uInt16 nSize )
const override;
130 const OUString *pName=
nullptr );
135 static void AddClassName( OUString& rFormatName, std::u16string_view rClass );
138 bool bAutoWidth=
false );
141 bool bSubClassOnly =
true );
virtual sal_uInt32 GetFontHeight(sal_uInt16 nSize) const override
const SwPageDesc * GetPageDesc(sal_uInt16 nPoolId, bool bCreate)
SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nPoolId) const
bool SetFormatBreak(SfxItemSet &rItemSet, const SvxCSS1PropertyInfo &rPropInfo)
bool IsBodyBGColorSet() const
SwTextFormatColl * GetTextFormatColl(sal_uInt16 nTextColl, const OUString &rClass)
bool m_bLinkCharFormatsSet
void SetBodyBackgroundSet()
bool IsSetRightPageDesc() const
const SwPageDesc * GetRightPageDesc(bool bCreate=false)
bool IsBodyTextSet() const
virtual void SetDfltEncoding(rtl_TextEncoding eEnc) override
sal_uLong m_aFontHeights[7]
SwPageDesc * GetMasterPageDesc()
void ChgPageDesc(const SwPageDesc *pPageDesc, const SwPageDesc &rNewPageDesc)
SwCharFormat * GetChrFormat(HtmlTokenId nToken, const OUString &rClass) const
bool IsSetFirstPageDesc() const
const SwPageDesc * GetFirstPageDesc(bool bCreate=false)
bool IsBodyLinkSet() const
bool IsBodyVLinkSet() const
SwHTMLParser const & m_rHTMLParser
static Css1ScriptFlags GetScriptFromClass(OUString &rClass, bool bSubClassOnly=true)
void FillDropCap(SwFormatDrop &rDrop, SfxItemSet &rItemSet, const OUString *pName=nullptr)
virtual const FontList * GetFontList() const override
SwCSS1Parser(SwDoc *pDoc, SwHTMLParser const &rParser, sal_uInt32 const aFHeight[7], const OUString &rBaseURL, bool bNewDoc)
static void AddClassName(OUString &rFormatName, std::u16string_view rClass)
virtual void StyleParsed(const CSS1Selector *pSelector, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo) override
const SwPageDesc * GetLeftPageDesc(bool bCreate=false)
void SetLinkCharFormats()
std::unique_ptr< SvxBrushItem > makePageDescBackground() const
void SetTableTextColl(bool bHeader)
bool IsBodyBackgroundSet() const
void SetPageDescAttrs(const SvxBrushItem *pBrush, SfxItemSet *pItemSet=nullptr)
static bool MayBePositioned(const SvxCSS1PropertyInfo &rPropInfo, bool bAutoWidth=false)
bool m_bTableHeaderTextCollSet
virtual ~SwCSS1Parser() override
SwCharFormat * GetCharFormatFromPool(sal_uInt16 nPoolId) const
bool m_bBodyBackgroundSet
Represents the style of a paragraph.
@ RES_POOLPAGE_LEFT
Left page.
@ RES_POOLPAGE_FIRST
First page.
@ RES_POOLPAGE_RIGHT
Right page.