LibreOffice Module lotuswordpro (master) 1
|
#include <lwpparaborderoverride.hxx>
Public Types | |
enum | BorderWidthType { PB_NONE = 0 , PB_TEXTWIDTH = 1 , PB_MARGINWIDTH = 2 , PB_CUSTOMWIDTH = 3 } |
Private Types | |
enum | { PBO_STUFF = 0x0001 , PBO_SHADOW = 0x0002 , PBO_MARGINS = 0x0004 , PBO_ABOVETYPE = 0x0008 , PBO_BELOWTYPE = 0x0010 , PBO_RIGHTTYPE = 0x0020 , PBO_ABOVE = 0x0040 , PBO_BELOW = 0x0080 , PBO_BETWEENSTUFF = 0x0100 , PBO_BETWEENTYPE = 0x0200 , PBO_BETWEEN = 0x0400 , PBO_BETWEENMARGIN = 0x0800 , PBO_RIGHT = 0x1000 } |
Private Member Functions | |
LwpParaBorderOverride (LwpParaBorderOverride const &rOther) | |
LwpParaBorderOverride & | operator= (LwpParaBorderOverride const &rOther)=delete |
Private Attributes | |
std::unique_ptr< LwpBorderStuff > | m_pBorderStuff |
std::unique_ptr< LwpBorderStuff > | m_pBetweenStuff |
std::unique_ptr< LwpShadow > | m_pShadow |
std::unique_ptr< LwpMargins > | m_pMargins |
BorderWidthType | m_eAboveType |
BorderWidthType | m_eBelowType |
BorderWidthType | m_eRightType |
BorderWidthType | m_eBetweenType |
sal_uInt32 | m_nAboveWidth |
sal_uInt32 | m_nBelowWidth |
sal_uInt32 | m_nBetweenWidth |
sal_uInt32 | m_nRightWidth |
sal_uInt32 | m_nBetweenMargin |
Friends | |
class | LwpParaBorderPiece |
Additional Inherited Members | |
Protected Member Functions inherited from LwpOverride | |
LwpOverride (LwpOverride const &rOther) | |
Protected Attributes inherited from LwpOverride | |
sal_uInt16 | m_nValues |
sal_uInt16 | m_nOverride |
sal_uInt16 | m_nApply |
Definition at line 69 of file lwpparaborderoverride.hxx.
|
private |
Enumerator | |
---|---|
PBO_STUFF | |
PBO_SHADOW | |
PBO_MARGINS | |
PBO_ABOVETYPE | |
PBO_BELOWTYPE | |
PBO_RIGHTTYPE | |
PBO_ABOVE | |
PBO_BELOW | |
PBO_BETWEENSTUFF | |
PBO_BETWEENTYPE | |
PBO_BETWEEN | |
PBO_BETWEENMARGIN | |
PBO_RIGHT |
Definition at line 140 of file lwpparaborderoverride.hxx.
Enumerator | |
---|---|
PB_NONE | |
PB_TEXTWIDTH | |
PB_MARGINWIDTH | |
PB_CUSTOMWIDTH |
Definition at line 77 of file lwpparaborderoverride.hxx.
LwpParaBorderOverride::LwpParaBorderOverride | ( | ) |
Definition at line 69 of file lwpparaborderoverride.cxx.
References m_eAboveType, m_eBelowType, m_eBetweenType, m_eRightType, m_nAboveWidth, m_nBelowWidth, m_nBetweenMargin, m_nBetweenWidth, m_nRightWidth, m_pBetweenStuff, m_pBorderStuff, m_pMargins, m_pShadow, and PB_NONE.
Referenced by clone().
|
overridevirtual |
Definition at line 107 of file lwpparaborderoverride.cxx.
|
private |
Definition at line 89 of file lwpparaborderoverride.cxx.
References clone(), m_pBetweenStuff, m_pBorderStuff, m_pMargins, and m_pShadow.
|
overridevirtual |
Implements LwpOverride.
Definition at line 109 of file lwpparaborderoverride.cxx.
References LwpParaBorderOverride().
Referenced by LwpParaBorderOverride().
|
inline |
Definition at line 87 of file lwpparaborderoverride.hxx.
References m_pBorderStuff.
Referenced by LwpParaStyle::ApplyParaBorder().
|
inline |
Definition at line 88 of file lwpparaborderoverride.hxx.
References m_pMargins.
Referenced by LwpParaStyle::ApplyParaBorder().
|
inline |
Definition at line 86 of file lwpparaborderoverride.hxx.
References m_pShadow.
Referenced by LwpParaStyle::ApplyParaBorder().
|
inline |
Definition at line 191 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_ABOVETYPE.
Referenced by Override().
|
inline |
Definition at line 207 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_ABOVE.
Referenced by Override().
|
inline |
Definition at line 195 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BELOWTYPE.
Referenced by Override().
|
inline |
Definition at line 211 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BELOW.
Referenced by Override().
|
inline |
Definition at line 223 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BETWEENMARGIN.
Referenced by Override().
|
inline |
Definition at line 179 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BETWEENSTUFF.
Referenced by Override().
|
inline |
Definition at line 203 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BETWEENTYPE.
Referenced by Override().
|
inline |
Definition at line 215 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_BETWEEN.
Referenced by Override().
|
inline |
Definition at line 175 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_STUFF.
Referenced by Override().
|
inline |
Definition at line 187 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_MARGINS.
Referenced by Override().
|
inline |
Definition at line 199 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_RIGHTTYPE.
Referenced by Override().
|
inline |
Definition at line 219 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_RIGHT.
Referenced by Override().
|
inline |
Definition at line 183 of file lwpparaborderoverride.hxx.
References LwpOverride::m_nOverride, and PBO_SHADOW.
Referenced by Override().
|
privatedelete |
void LwpParaBorderOverride::Override | ( | LwpParaBorderOverride * | pOther | ) |
Definition at line 161 of file lwpparaborderoverride.cxx.
References IsAboveTypeOverridden(), IsAboveWidthOverridden(), IsBelowTypeOverridden(), IsBelowWidthOverridden(), IsBetweenMarginOverridden(), IsBetweenStuffOverridden(), IsBetweenTypeOverridden(), IsBetweenWidthOverridden(), IsBorderStuffOverridden(), IsMarginsOverridden(), IsRightTypeOverridden(), IsRightWidthOverridden(), IsShadowOverridden(), m_eAboveType, m_eBelowType, m_eBetweenType, m_eRightType, m_nAboveWidth, LwpOverride::m_nApply, m_nBelowWidth, m_nBetweenMargin, m_nBetweenWidth, m_nRightWidth, m_pBetweenStuff, m_pBorderStuff, m_pMargins, m_pShadow, OverrideAboveType(), OverrideAboveWidth(), OverrideBelowType(), OverrideBelowWidth(), OverrideBetweenMargin(), OverrideBetweenStuff(), OverrideBetweenType(), OverrideBetweenWidth(), OverrideBorderStuff(), OverrideMargins(), OverrideRightType(), OverrideRightWidth(), OverrideShadow(), PBO_ABOVE, PBO_ABOVETYPE, PBO_BELOW, PBO_BELOWTYPE, PBO_BETWEEN, PBO_BETWEENMARGIN, PBO_BETWEENSTUFF, PBO_BETWEENTYPE, PBO_MARGINS, PBO_RIGHT, PBO_RIGHTTYPE, PBO_SHADOW, PBO_STUFF, RevertAboveType(), RevertAboveWidth(), RevertBelowType(), RevertBelowWidth(), RevertBetweenMargin(), RevertBetweenStuff(), RevertBetweenType(), RevertBetweenWidth(), RevertBorderStuff(), RevertMargins(), RevertRightType(), RevertRightWidth(), and RevertShadow().
void LwpParaBorderOverride::OverrideAboveType | ( | BorderWidthType | eNewType | ) |
Definition at line 340 of file lwpparaborderoverride.cxx.
References m_eAboveType, LwpOverride::Override(), PBO_ABOVETYPE, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideAboveWidth | ( | sal_uInt32 | nNewWidth | ) |
Definition at line 360 of file lwpparaborderoverride.cxx.
References m_nAboveWidth, LwpOverride::Override(), PBO_ABOVE, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBelowType | ( | BorderWidthType | eNewType | ) |
Definition at line 345 of file lwpparaborderoverride.cxx.
References m_eBelowType, LwpOverride::Override(), PBO_BELOWTYPE, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBelowWidth | ( | sal_uInt32 | nNewWidth | ) |
Definition at line 365 of file lwpparaborderoverride.cxx.
References m_nBelowWidth, LwpOverride::Override(), PBO_BELOW, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBetweenMargin | ( | sal_uInt32 | nNewMargin | ) |
Definition at line 380 of file lwpparaborderoverride.cxx.
References m_nBetweenMargin, LwpOverride::Override(), PBO_BETWEENMARGIN, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBetweenStuff | ( | LwpBorderStuff const * | pBorderStuff | ) |
Definition at line 325 of file lwpparaborderoverride.cxx.
References m_pBetweenStuff, LwpOverride::Override(), PBO_BETWEENSTUFF, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBetweenType | ( | BorderWidthType | eNewType | ) |
Definition at line 355 of file lwpparaborderoverride.cxx.
References m_eBetweenType, LwpOverride::Override(), PBO_BETWEENTYPE, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBetweenWidth | ( | sal_uInt32 | nNewWidth | ) |
Definition at line 370 of file lwpparaborderoverride.cxx.
References m_nBetweenWidth, LwpOverride::Override(), PBO_BETWEEN, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideBorderStuff | ( | LwpBorderStuff const * | pBorderStuff | ) |
Definition at line 320 of file lwpparaborderoverride.cxx.
References m_pBorderStuff, LwpOverride::Override(), PBO_STUFF, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideMargins | ( | LwpMargins const * | pMargins | ) |
Definition at line 335 of file lwpparaborderoverride.cxx.
References m_pMargins, LwpOverride::Override(), PBO_MARGINS, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideRightType | ( | BorderWidthType | eNewType | ) |
Definition at line 350 of file lwpparaborderoverride.cxx.
References m_eRightType, LwpOverride::Override(), PBO_RIGHTTYPE, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideRightWidth | ( | sal_uInt32 | nNewWidth | ) |
Definition at line 375 of file lwpparaborderoverride.cxx.
References m_nRightWidth, LwpOverride::Override(), PBO_RIGHT, and STATE_ON.
Referenced by Override().
void LwpParaBorderOverride::OverrideShadow | ( | LwpShadow const * | pShadow | ) |
Definition at line 330 of file lwpparaborderoverride.cxx.
References m_pShadow, LwpOverride::Override(), PBO_SHADOW, and STATE_ON.
Referenced by Override().
|
overridevirtual |
Implements LwpOverride.
Definition at line 128 of file lwpparaborderoverride.cxx.
References LwpObjectStream::CheckExtra(), m_eAboveType, m_eBelowType, m_eBetweenType, m_eRightType, m_nBetweenMargin, m_nBetweenWidth, m_nRightWidth, m_pBetweenStuff, m_pBorderStuff, m_pMargins, m_pShadow, LwpObjectStream::QuickReadBool(), LwpObjectStream::QuickReaduInt32(), LwpOverride::ReadCommon(), and LwpObjectStream::SkipExtra().
Referenced by LwpParaStyle::Read().
|
inline |
Definition at line 244 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_ABOVETYPE, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 260 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_ABOVE, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 248 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BELOWTYPE, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 264 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BELOW, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 276 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BETWEENMARGIN, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 232 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BETWEENSTUFF, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 256 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BETWEENTYPE, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 268 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_BETWEEN, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 228 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_STUFF, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 240 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_MARGINS, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 252 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_RIGHTTYPE, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 272 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_RIGHT, and STATE_STYLE.
Referenced by Override().
|
inline |
Definition at line 236 of file lwpparaborderoverride.hxx.
References LwpOverride::Override(), PBO_SHADOW, and STATE_STYLE.
Referenced by Override().
|
friend |
Definition at line 134 of file lwpparaborderoverride.hxx.
|
private |
Definition at line 162 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideAboveType(), and Read().
|
private |
Definition at line 163 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideBelowType(), and Read().
|
private |
Definition at line 165 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideBetweenType(), and Read().
|
private |
Definition at line 164 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideRightType(), and Read().
|
private |
Definition at line 167 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), and OverrideAboveWidth().
|
private |
Definition at line 168 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), and OverrideBelowWidth().
|
private |
Definition at line 172 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideBetweenMargin(), and Read().
|
private |
Definition at line 169 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideBetweenWidth(), and Read().
|
private |
Definition at line 170 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideRightWidth(), and Read().
|
private |
Definition at line 158 of file lwpparaborderoverride.hxx.
Referenced by LwpParaBorderOverride(), Override(), OverrideBetweenStuff(), and Read().
|
private |
Definition at line 157 of file lwpparaborderoverride.hxx.
Referenced by GetBorderStuff(), LwpParaBorderOverride(), Override(), OverrideBorderStuff(), and Read().
|
private |
Definition at line 160 of file lwpparaborderoverride.hxx.
Referenced by GetMargins(), LwpParaBorderOverride(), Override(), OverrideMargins(), and Read().
|
private |
Definition at line 159 of file lwpparaborderoverride.hxx.
Referenced by GetShadow(), LwpParaBorderOverride(), Override(), OverrideShadow(), and Read().