LibreOffice Module lotuswordpro (master) 1
|
#include <lwpborderstuff.hxx>
Public Types | |
enum | BorderType { NOSIDE = 0 , LEFT = 1 , RIGHT = 2 , TOP = 4 , BOTTOM = 8 , ALLSIDE = 15 , TEMPORARY = 0xff00 } |
Public Member Functions | |
LwpBorderStuff () | |
void | Read (LwpObjectStream *pStrm) |
sal_uInt16 | GetSide () const |
bool | HasSide (sal_uInt16 side) |
sal_uInt16 | GetSideType (sal_uInt16 side) |
LwpColor | GetSideColor (sal_uInt16 side) |
float | GetSideWidth (sal_uInt16 side) |
Private Attributes | |
sal_uInt16 | m_nSides |
sal_uInt16 | m_nValid |
sal_uInt16 | m_nBorderGroupIDLeft |
sal_uInt16 | m_nBorderGroupIDRight |
sal_uInt16 | m_nBorderGroupIDTop |
sal_uInt16 | m_nBorderGroupIDBottom |
sal_Int32 | m_nGroupIndent |
sal_Int32 | m_nWidthLeft |
sal_Int32 | m_nWidthTop |
sal_Int32 | m_nWidthRight |
sal_Int32 | m_nWidthBottom |
LwpColor | m_aColorLeft |
LwpColor | m_aColorRight |
LwpColor | m_aColorTop |
LwpColor | m_aColorBottom |
Friends | |
class | LwpParaBorderOverride |
Definition at line 65 of file lwpborderstuff.hxx.
Enumerator | |
---|---|
NOSIDE | |
LEFT | |
RIGHT | |
TOP | |
BOTTOM | |
ALLSIDE | |
TEMPORARY |
Definition at line 70 of file lwpborderstuff.hxx.
LwpBorderStuff::LwpBorderStuff | ( | ) |
Definition at line 65 of file lwpborderstuff.cxx.
|
inline |
Definition at line 84 of file lwpborderstuff.hxx.
References m_nSides.
Referenced by LwpParaStyle::ApplyParaBorder(), and LwpMiddleLayout::GetXFBorders().
LwpColor LwpBorderStuff::GetSideColor | ( | sal_uInt16 | side | ) |
Definition at line 178 of file lwpborderstuff.cxx.
References BOTTOM, LEFT, m_aColorBottom, m_aColorLeft, m_aColorRight, m_aColorTop, RIGHT, and TOP.
Referenced by LwpParaStyle::ApplySubBorder(), LwpLayout::GetColumnSep(), and LwpFootnoteSeparatorOptions::GetTopBorderColor().
sal_uInt16 LwpBorderStuff::GetSideType | ( | sal_uInt16 | side | ) |
Definition at line 160 of file lwpborderstuff.cxx.
References BOTTOM, LEFT, m_nBorderGroupIDBottom, m_nBorderGroupIDLeft, m_nBorderGroupIDRight, m_nBorderGroupIDTop, RIGHT, and TOP.
Referenced by LwpParaStyle::ApplySubBorder().
float LwpBorderStuff::GetSideWidth | ( | sal_uInt16 | side | ) |
Definition at line 196 of file lwpborderstuff.cxx.
References BOTTOM, LwpTools::ConvertFromUnits(), LwpTools::ConvertToMetric(), LEFT, m_nWidthBottom, m_nWidthLeft, m_nWidthRight, m_nWidthTop, RIGHT, and TOP.
Referenced by LwpParaStyle::ApplySubBorder(), LwpLayout::GetColumnSep(), and LwpFootnoteSeparatorOptions::GetTopBorderWidth().
bool LwpBorderStuff::HasSide | ( | sal_uInt16 | side | ) |
Definition at line 155 of file lwpborderstuff.cxx.
References m_nSides.
Referenced by LwpParaStyle::ApplyParaBorder(), and LwpMiddleLayout::GetXFBorders().
void LwpBorderStuff::Read | ( | LwpObjectStream * | pStrm | ) |
Definition at line 79 of file lwpborderstuff.cxx.
References BGRP_SOLID, BOTTOM, EXTERNAL_ID, LEFT, m_aColorBottom, m_aColorLeft, m_aColorRight, m_aColorTop, m_nBorderGroupIDBottom, m_nBorderGroupIDLeft, m_nBorderGroupIDRight, m_nBorderGroupIDTop, LwpFileHeader::m_nFileRevision, m_nGroupIndent, m_nSides, m_nValid, m_nWidthBottom, m_nWidthLeft, m_nWidthRight, m_nWidthTop, LwpObjectStream::QuickReadInt32(), LwpObjectStream::QuickReaduInt16(), LwpColor::Read(), RIGHT, LwpObjectStream::SeekRel(), LwpObjectStream::SkipExtra(), and TOP.
Referenced by LwpLayoutBorder::Read(), LwpLayoutGutters::Read(), and LwpFootnoteSeparatorOptions::Read().
|
friend |
Definition at line 89 of file lwpborderstuff.hxx.
|
private |
Definition at line 109 of file lwpborderstuff.hxx.
Referenced by GetSideColor(), and Read().
|
private |
Definition at line 106 of file lwpborderstuff.hxx.
Referenced by GetSideColor(), and Read().
|
private |
Definition at line 107 of file lwpborderstuff.hxx.
Referenced by GetSideColor(), and Read().
|
private |
Definition at line 108 of file lwpborderstuff.hxx.
Referenced by GetSideColor(), and Read().
|
private |
Definition at line 97 of file lwpborderstuff.hxx.
Referenced by GetSideType(), and Read().
|
private |
Definition at line 94 of file lwpborderstuff.hxx.
Referenced by GetSideType(), and Read().
|
private |
Definition at line 95 of file lwpborderstuff.hxx.
Referenced by GetSideType(), and Read().
|
private |
Definition at line 96 of file lwpborderstuff.hxx.
Referenced by GetSideType(), and Read().
|
private |
Definition at line 99 of file lwpborderstuff.hxx.
Referenced by Read().
|
private |
Definition at line 91 of file lwpborderstuff.hxx.
|
private |
Definition at line 92 of file lwpborderstuff.hxx.
Referenced by Read().
|
private |
Definition at line 104 of file lwpborderstuff.hxx.
Referenced by GetSideWidth(), and Read().
|
private |
Definition at line 101 of file lwpborderstuff.hxx.
Referenced by GetSideWidth(), and Read().
|
private |
Definition at line 103 of file lwpborderstuff.hxx.
Referenced by GetSideWidth(), and Read().
|
private |
Definition at line 102 of file lwpborderstuff.hxx.
Referenced by GetSideWidth(), and Read().