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

#include <svxcss1.hxx>

Collaboration diagram for SvxCSS1PropertyInfo:
[legend]

Public Member Functions

 SvxCSS1PropertyInfo ()
 
 SvxCSS1PropertyInfo (const SvxCSS1PropertyInfo &rProp)
 
 ~SvxCSS1PropertyInfo ()
 
void Merge (const SvxCSS1PropertyInfo &rProp)
 
void Clear ()
 
SvxCSS1BorderInfoGetBorderInfo (SvxBoxItemLine nLine, bool bCreate=true)
 
void CopyBorderInfo (SvxBoxItemLine nSrcLine, SvxBoxItemLine nDstLine, sal_uInt16 nWhat)
 
void CopyBorderInfo (sal_uInt16 nCount, sal_uInt16 nWhat)
 
void SetBoxItem (SfxItemSet &rItemSet, sal_uInt16 nMinBorderDist, const SvxBoxItem *pDflt=nullptr)
 

Public Attributes

OUString m_aId
 
bool m_bTopMargin: 1
 
bool m_bBottomMargin: 1
 
bool m_bLeftMargin: 1
 
bool m_bRightMargin: 1
 
bool m_bTextIndent: 1
 
bool m_bNumbering: 1
 
bool m_bBullet: 1
 
SvxAdjust m_eFloat
 
SvxCSS1Position m_ePosition
 
sal_uInt16 m_nTopBorderDistance
 
sal_uInt16 m_nBottomBorderDistance
 
sal_uInt16 m_nLeftBorderDistance
 
sal_uInt16 m_nRightBorderDistance
 
SvxNumType m_nNumberingType
 
sal_Unicode m_cBulletChar
 
sal_uInt16 m_nColumnCount
 
long m_nLeft
 
long m_nTop
 
long m_nWidth
 
long m_nHeight
 
long m_nLeftMargin
 
long m_nRightMargin
 
SvxCSS1LengthType m_eLeftType
 
SvxCSS1LengthType m_eTopType
 
SvxCSS1LengthType m_eWidthType
 
SvxCSS1LengthType m_eHeightType
 
SvxCSS1SizeType m_eSizeType
 
SvxCSS1PageBreak m_ePageBreakBefore
 
SvxCSS1PageBreak m_ePageBreakAfter
 

Static Public Attributes

static constexpr sal_uInt16 UNSET_BORDER_DISTANCE = SAL_MAX_UINT16
 

Private Member Functions

void DestroyBorderInfos ()
 

Private Attributes

std::array< std::unique_ptr< SvxCSS1BorderInfo >, 4 > m_aBorderInfos
 

Detailed Description

Definition at line 99 of file svxcss1.hxx.

Constructor & Destructor Documentation

SvxCSS1PropertyInfo::SvxCSS1PropertyInfo ( )

Definition at line 363 of file svxcss1.cxx.

References Clear().

SvxCSS1PropertyInfo::SvxCSS1PropertyInfo ( const SvxCSS1PropertyInfo rProp)

Definition at line 368 of file svxcss1.cxx.

References i, and m_aBorderInfos.

SvxCSS1PropertyInfo::~SvxCSS1PropertyInfo ( )

Definition at line 405 of file svxcss1.cxx.

Member Function Documentation

void SvxCSS1PropertyInfo::Clear ( )
void SvxCSS1PropertyInfo::CopyBorderInfo ( SvxBoxItemLine  nSrcLine,
SvxBoxItemLine  nDstLine,
sal_uInt16  nWhat 
)
void SvxCSS1PropertyInfo::CopyBorderInfo ( sal_uInt16  nCount,
sal_uInt16  nWhat 
)

Definition at line 564 of file svxcss1.cxx.

References CopyBorderInfo().

void SvxCSS1PropertyInfo::DestroyBorderInfos ( )
private

Definition at line 409 of file svxcss1.cxx.

References m_aBorderInfos.

Referenced by Clear(), and SetBoxItem().

SvxCSS1BorderInfo * SvxCSS1PropertyInfo::GetBorderInfo ( SvxBoxItemLine  nLine,
bool  bCreate = true 
)
void SvxCSS1PropertyInfo::Merge ( const SvxCSS1PropertyInfo rProp)
void SvxCSS1PropertyInfo::SetBoxItem ( SfxItemSet rItemSet,
sal_uInt16  nMinBorderDist,
const SvxBoxItem pDflt = nullptr 
)

Member Data Documentation

std::array<std::unique_ptr<SvxCSS1BorderInfo>,4> SvxCSS1PropertyInfo::m_aBorderInfos
private
OUString SvxCSS1PropertyInfo::m_aId

Definition at line 108 of file svxcss1.hxx.

Referenced by Clear(), SwHTMLParser::DoPositioning(), and SwHTMLParser::InsertAttrs().

bool SvxCSS1PropertyInfo::m_bBottomMargin
bool SvxCSS1PropertyInfo::m_bBullet

Definition at line 117 of file svxcss1.hxx.

Referenced by Clear(), and ParseCSS1_list_style_type().

bool SvxCSS1PropertyInfo::m_bLeftMargin
bool SvxCSS1PropertyInfo::m_bNumbering

Definition at line 116 of file svxcss1.hxx.

Referenced by Clear(), and ParseCSS1_list_style_type().

bool SvxCSS1PropertyInfo::m_bRightMargin
bool SvxCSS1PropertyInfo::m_bTextIndent
bool SvxCSS1PropertyInfo::m_bTopMargin
sal_Unicode SvxCSS1PropertyInfo::m_cBulletChar

Definition at line 129 of file svxcss1.hxx.

Referenced by Clear(), and ParseCSS1_list_style_type().

SvxAdjust SvxCSS1PropertyInfo::m_eFloat
SvxCSS1LengthType SvxCSS1PropertyInfo::m_eHeightType
SvxCSS1LengthType SvxCSS1PropertyInfo::m_eLeftType
SvxCSS1PageBreak SvxCSS1PropertyInfo::m_ePageBreakAfter
SvxCSS1PageBreak SvxCSS1PropertyInfo::m_ePageBreakBefore
SvxCSS1Position SvxCSS1PropertyInfo::m_ePosition
SvxCSS1SizeType SvxCSS1PropertyInfo::m_eSizeType

Definition at line 140 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_size(), and SwCSS1Parser::SetPageDescAttrs().

SvxCSS1LengthType SvxCSS1PropertyInfo::m_eTopType
SvxCSS1LengthType SvxCSS1PropertyInfo::m_eWidthType
sal_uInt16 SvxCSS1PropertyInfo::m_nBottomBorderDistance

Definition at line 124 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_padding(), ParseCSS1_padding_xxx(), and SetBoxItem().

sal_uInt16 SvxCSS1PropertyInfo::m_nColumnCount

Definition at line 131 of file svxcss1.hxx.

Referenced by Clear(), Merge(), and ParseCSS1_column_count().

long SvxCSS1PropertyInfo::m_nHeight
long SvxCSS1PropertyInfo::m_nLeft
sal_uInt16 SvxCSS1PropertyInfo::m_nLeftBorderDistance

Definition at line 125 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_padding(), ParseCSS1_padding_xxx(), and SetBoxItem().

long SvxCSS1PropertyInfo::m_nLeftMargin
SvxNumType SvxCSS1PropertyInfo::m_nNumberingType

Definition at line 128 of file svxcss1.hxx.

Referenced by Clear(), and ParseCSS1_list_style_type().

sal_uInt16 SvxCSS1PropertyInfo::m_nRightBorderDistance

Definition at line 126 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_padding(), ParseCSS1_padding_xxx(), and SetBoxItem().

long SvxCSS1PropertyInfo::m_nRightMargin
long SvxCSS1PropertyInfo::m_nTop
sal_uInt16 SvxCSS1PropertyInfo::m_nTopBorderDistance

Definition at line 123 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_padding(), ParseCSS1_padding_xxx(), and SetBoxItem().

long SvxCSS1PropertyInfo::m_nWidth
constexpr sal_uInt16 SvxCSS1PropertyInfo::UNSET_BORDER_DISTANCE = SAL_MAX_UINT16
static

Definition at line 106 of file svxcss1.hxx.

Referenced by Clear(), Merge(), ParseCSS1_padding_xxx(), and SetBoxItem().


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