LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
HTMLAttrContext Class Reference

#include <swhtml.hxx>

Collaboration diagram for HTMLAttrContext:
[legend]

Public Member Functions

void ClearSaveDocContext ()
 
 HTMLAttrContext (HtmlTokenId nTokn, sal_uInt16 nPoolId, const OUString &rClass, bool bDfltColl=false)
 
 HTMLAttrContext (HtmlTokenId nTokn)
 
 ~HTMLAttrContext ()
 
HtmlTokenId GetToken () const
 
sal_uInt16 GetTextFormatColl () const
 
sal_uInt16 GetDfltTextFormatColl () const
 
const OUString & GetClass () const
 
void SetMargins (sal_uInt16 nLeft, sal_uInt16 nRight, short nIndent)
 
bool IsLRSpaceChanged () const
 
void GetMargins (sal_uInt16 &nLeft, sal_uInt16 &nRight, short &nIndent) const
 
void SetULSpace (sal_uInt16 nUpper, sal_uInt16 nLower)
 
bool IsULSpaceChanged () const
 
void GetULSpace (sal_uInt16 &rUpper, sal_uInt16 &rLower) const
 
bool HasAttrs () const
 
const HTMLAttrsGetAttrs () const
 
HTMLAttrsGetAttrs ()
 
void SetSpansSection (bool bSet)
 
bool GetSpansSection () const
 
void SetPopStack (bool bSet)
 
bool GetPopStack () const
 
bool HasSaveDocContext () const
 
HTMLAttrContext_SaveDocGetSaveDocContext (bool bCreate=false)
 
const SfxItemSetGetFrameItemSet () const
 
SfxItemSetGetFrameItemSet (SwDoc *pCreateDoc)
 
void SetFinishPREListingXMP (bool bSet)
 
bool IsFinishPREListingXMP () const
 
void SetRestartPRE (bool bSet)
 
bool IsRestartPRE () const
 
void SetRestartXMP (bool bSet)
 
bool IsRestartXMP () const
 
void SetRestartListing (bool bSet)
 
bool IsRestartListing () const
 
void SetHeaderOrFooter (bool bSet)
 
bool IsHeaderOrFooter () const
 
void SetAppendMode (SwHTMLAppendMode eMode)
 
SwHTMLAppendMode GetAppendMode () const
 

Private Attributes

HTMLAttrs m_aAttrs
 
OUString const m_aClass
 
std::unique_ptr< HTMLAttrContext_SaveDocm_pSaveDocContext
 
std::unique_ptr< SfxItemSetm_pFrameItemSet
 
HtmlTokenId const m_nToken
 
sal_uInt16 const m_nTextFormatColl
 
sal_uInt16 m_nLeftMargin
 
sal_uInt16 m_nRightMargin
 
sal_uInt16 m_nFirstLineIndent
 
sal_uInt16 m_nUpperSpace
 
sal_uInt16 m_nLowerSpace
 
SwHTMLAppendMode m_eAppend
 
bool m_bLRSpaceChanged: 1
 
bool m_bULSpaceChanged: 1
 
bool const m_bDefaultTextFormatColl: 1
 
bool m_bSpansSection: 1
 
bool m_bPopStack: 1
 
bool m_bFinishPREListingXMP: 1
 
bool m_bRestartPRE: 1
 
bool m_bRestartXMP: 1
 
bool m_bRestartListing: 1
 
bool m_bHeaderOrFooter: 1
 

Detailed Description

Definition at line 202 of file swhtml.hxx.

Constructor & Destructor Documentation

HTMLAttrContext::HTMLAttrContext ( HtmlTokenId  nTokn,
sal_uInt16  nPoolId,
const OUString &  rClass,
bool  bDfltColl = false 
)

Definition at line 120 of file htmlctxt.cxx.

HTMLAttrContext::HTMLAttrContext ( HtmlTokenId  nTokn)
explicit

Definition at line 143 of file htmlctxt.cxx.

HTMLAttrContext::~HTMLAttrContext ( )

Definition at line 164 of file htmlctxt.cxx.

References m_pSaveDocContext.

Member Function Documentation

void HTMLAttrContext::ClearSaveDocContext ( )

Definition at line 169 of file htmlctxt.cxx.

References m_pSaveDocContext.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::RestoreDocContext().

SwHTMLAppendMode HTMLAttrContext::GetAppendMode ( ) const
inline

Definition at line 292 of file swhtml.hxx.

References m_eAppend.

Referenced by SwHTMLParser::EndContext().

const HTMLAttrs& HTMLAttrContext::GetAttrs ( ) const
inline
HTMLAttrs& HTMLAttrContext::GetAttrs ( )
inline

Definition at line 262 of file swhtml.hxx.

References m_aAttrs.

const OUString& HTMLAttrContext::GetClass ( ) const
inline

Definition at line 248 of file swhtml.hxx.

References m_aClass.

Referenced by SwHTMLParser::GetULSpaceFromContext(), and SwHTMLParser::SetTextCollAttrs().

sal_uInt16 HTMLAttrContext::GetDfltTextFormatColl ( ) const
inline
const SfxItemSet* HTMLAttrContext::GetFrameItemSet ( ) const
inline

Definition at line 273 of file swhtml.hxx.

Referenced by SwHTMLParser::CreateContainer().

SfxItemSet * HTMLAttrContext::GetFrameItemSet ( SwDoc pCreateDoc)

Definition at line 769 of file htmlctxt.cxx.

References SwDoc::GetAttrPool(), m_pFrameItemSet, RES_FRMATR_BEGIN, and RES_FRMATR_END.

void HTMLAttrContext::GetMargins ( sal_uInt16 &  nLeft,
sal_uInt16 &  nRight,
short &  nIndent 
) const
inline
bool HTMLAttrContext::GetPopStack ( ) const
inline

Definition at line 268 of file swhtml.hxx.

References m_bPopStack.

Referenced by SwHTMLParser::EndContext().

HTMLAttrContext_SaveDoc * HTMLAttrContext::GetSaveDocContext ( bool  bCreate = false)
bool HTMLAttrContext::GetSpansSection ( ) const
inline
sal_uInt16 HTMLAttrContext::GetTextFormatColl ( ) const
inline

Definition at line 245 of file swhtml.hxx.

References m_bDefaultTextFormatColl, and m_nTextFormatColl.

Referenced by SwHTMLParser::SetTextCollAttrs().

HtmlTokenId HTMLAttrContext::GetToken ( ) const
inline

Definition at line 243 of file swhtml.hxx.

References m_nToken.

Referenced by SwHTMLParser::InsertAttrs().

void HTMLAttrContext::GetULSpace ( sal_uInt16 &  rUpper,
sal_uInt16 &  rLower 
) const
inline

Definition at line 983 of file swhtml.hxx.

References m_bULSpaceChanged, m_nLowerSpace, and m_nUpperSpace.

Referenced by SwHTMLParser::GetULSpaceFromContext().

bool HTMLAttrContext::HasAttrs ( ) const
inline

Definition at line 260 of file swhtml.hxx.

Referenced by SwHTMLParser::EndContext().

bool HTMLAttrContext::HasSaveDocContext ( ) const
inline

Definition at line 270 of file swhtml.hxx.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::EndContext().

bool HTMLAttrContext::IsFinishPREListingXMP ( ) const
inline

Definition at line 277 of file swhtml.hxx.

References m_bFinishPREListingXMP.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::EndContext().

bool HTMLAttrContext::IsHeaderOrFooter ( ) const
inline

Definition at line 289 of file swhtml.hxx.

References m_bHeaderOrFooter.

bool HTMLAttrContext::IsLRSpaceChanged ( ) const
inline

Definition at line 252 of file swhtml.hxx.

References m_bLRSpaceChanged.

Referenced by SwHTMLParser::GetMarginsFromContext(), and SwHTMLParser::SetTextCollAttrs().

bool HTMLAttrContext::IsRestartListing ( ) const
inline

Definition at line 286 of file swhtml.hxx.

References m_bRestartListing.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::EndContext().

bool HTMLAttrContext::IsRestartPRE ( ) const
inline

Definition at line 280 of file swhtml.hxx.

References m_bRestartPRE.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::EndContext().

bool HTMLAttrContext::IsRestartXMP ( ) const
inline

Definition at line 283 of file swhtml.hxx.

References m_bRestartXMP.

Referenced by SwHTMLParser::ClearContext(), and SwHTMLParser::EndContext().

bool HTMLAttrContext::IsULSpaceChanged ( ) const
inline

Definition at line 257 of file swhtml.hxx.

References m_bULSpaceChanged.

Referenced by SwHTMLParser::GetULSpaceFromContext().

void HTMLAttrContext::SetAppendMode ( SwHTMLAppendMode  eMode)
inline

Definition at line 291 of file swhtml.hxx.

void HTMLAttrContext::SetFinishPREListingXMP ( bool  bSet)
inline

Definition at line 276 of file swhtml.hxx.

References m_bFinishPREListingXMP.

Referenced by SwHTMLParser::SplitPREListingXMP().

void HTMLAttrContext::SetHeaderOrFooter ( bool  bSet)
inline

Definition at line 288 of file swhtml.hxx.

References m_bHeaderOrFooter.

void HTMLAttrContext::SetMargins ( sal_uInt16  nLeft,
sal_uInt16  nRight,
short  nIndent 
)
inline
void HTMLAttrContext::SetPopStack ( bool  bSet)
inline

Definition at line 267 of file swhtml.hxx.

References m_bPopStack.

Referenced by SwHTMLParser::DoPositioning().

void HTMLAttrContext::SetRestartListing ( bool  bSet)
inline

Definition at line 285 of file swhtml.hxx.

References m_bRestartListing.

Referenced by SwHTMLParser::SplitPREListingXMP().

void HTMLAttrContext::SetRestartPRE ( bool  bSet)
inline

Definition at line 279 of file swhtml.hxx.

References m_bRestartPRE.

Referenced by SwHTMLParser::SplitPREListingXMP().

void HTMLAttrContext::SetRestartXMP ( bool  bSet)
inline

Definition at line 282 of file swhtml.hxx.

References m_bRestartXMP.

Referenced by SwHTMLParser::SplitPREListingXMP().

void HTMLAttrContext::SetSpansSection ( bool  bSet)
inline

Definition at line 264 of file swhtml.hxx.

References m_bSpansSection.

Referenced by SwHTMLParser::EndSections().

void HTMLAttrContext::SetULSpace ( sal_uInt16  nUpper,
sal_uInt16  nLower 
)
inline

Member Data Documentation

HTMLAttrs HTMLAttrContext::m_aAttrs
private

Definition at line 204 of file swhtml.hxx.

Referenced by GetAttrs().

OUString const HTMLAttrContext::m_aClass
private

Definition at line 206 of file swhtml.hxx.

Referenced by GetClass().

bool const HTMLAttrContext::m_bDefaultTextFormatColl
private

Definition at line 226 of file swhtml.hxx.

Referenced by GetDfltTextFormatColl(), and GetTextFormatColl().

bool HTMLAttrContext::m_bFinishPREListingXMP
private

Definition at line 229 of file swhtml.hxx.

Referenced by IsFinishPREListingXMP(), and SetFinishPREListingXMP().

bool HTMLAttrContext::m_bHeaderOrFooter
private

Definition at line 233 of file swhtml.hxx.

Referenced by IsHeaderOrFooter(), and SetHeaderOrFooter().

bool HTMLAttrContext::m_bLRSpaceChanged
private

Definition at line 224 of file swhtml.hxx.

Referenced by GetMargins(), IsLRSpaceChanged(), and SetMargins().

bool HTMLAttrContext::m_bPopStack
private

Definition at line 228 of file swhtml.hxx.

Referenced by GetPopStack(), and SetPopStack().

bool HTMLAttrContext::m_bRestartListing
private

Definition at line 232 of file swhtml.hxx.

Referenced by IsRestartListing(), and SetRestartListing().

bool HTMLAttrContext::m_bRestartPRE
private

Definition at line 230 of file swhtml.hxx.

Referenced by IsRestartPRE(), and SetRestartPRE().

bool HTMLAttrContext::m_bRestartXMP
private

Definition at line 231 of file swhtml.hxx.

Referenced by IsRestartXMP(), and SetRestartXMP().

bool HTMLAttrContext::m_bSpansSection
private

Definition at line 227 of file swhtml.hxx.

Referenced by GetSpansSection(), and SetSpansSection().

bool HTMLAttrContext::m_bULSpaceChanged
private

Definition at line 225 of file swhtml.hxx.

Referenced by GetULSpace(), IsULSpaceChanged(), and SetULSpace().

SwHTMLAppendMode HTMLAttrContext::m_eAppend
private

Definition at line 222 of file swhtml.hxx.

Referenced by GetAppendMode().

sal_uInt16 HTMLAttrContext::m_nFirstLineIndent
private

Definition at line 217 of file swhtml.hxx.

Referenced by GetMargins(), and SetMargins().

sal_uInt16 HTMLAttrContext::m_nLeftMargin
private

Definition at line 215 of file swhtml.hxx.

Referenced by GetMargins(), and SetMargins().

sal_uInt16 HTMLAttrContext::m_nLowerSpace
private

Definition at line 220 of file swhtml.hxx.

Referenced by GetULSpace(), and SetULSpace().

sal_uInt16 HTMLAttrContext::m_nRightMargin
private

Definition at line 216 of file swhtml.hxx.

Referenced by GetMargins(), and SetMargins().

sal_uInt16 const HTMLAttrContext::m_nTextFormatColl
private

Definition at line 213 of file swhtml.hxx.

Referenced by GetTextFormatColl().

HtmlTokenId const HTMLAttrContext::m_nToken
private

Definition at line 211 of file swhtml.hxx.

Referenced by GetToken().

sal_uInt16 HTMLAttrContext::m_nUpperSpace
private

Definition at line 219 of file swhtml.hxx.

Referenced by GetULSpace(), and SetULSpace().

std::unique_ptr<SfxItemSet> HTMLAttrContext::m_pFrameItemSet
private

Definition at line 209 of file swhtml.hxx.

Referenced by GetFrameItemSet().

std::unique_ptr<HTMLAttrContext_SaveDoc> HTMLAttrContext::m_pSaveDocContext
private

Definition at line 208 of file swhtml.hxx.

Referenced by ClearSaveDocContext(), GetSaveDocContext(), and ~HTMLAttrContext().


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