LibreOffice Module lotuswordpro (master) 1
|
#include <lwpbackgroundstuff.hxx>
Public Member Functions | |
LwpBackgroundStuff () | |
void | Read (LwpObjectStream *pStrm) |
LwpColor * | GetFillColor () |
std::unique_ptr< XFBGImage > | GetFillPattern () |
bool | IsTransparent () const |
bool | IsPatternFill () const |
Static Private Member Functions | |
static void | GetPattern (sal_uInt16 btPttnIndex, sal_uInt8(&pPttnArray)[8]) |
Private Attributes | |
sal_uInt16 | m_nID |
LwpColor | m_aFillColor |
LwpColor | m_aPatternColor |
Friends | |
class | LwpBackgroundOverride |
Definition at line 68 of file lwpbackgroundstuff.hxx.
|
inline |
Definition at line 71 of file lwpbackgroundstuff.hxx.
LwpColor * LwpBackgroundStuff::GetFillColor | ( | ) |
Definition at line 94 of file lwpbackgroundstuff.cxx.
References BACK_PATTERN, m_aFillColor, m_aPatternColor, and m_nID.
Referenced by LwpMiddleLayout::GetBackColor(), and LwpPara::RegisterStyle().
std::unique_ptr< XFBGImage > LwpBackgroundStuff::GetFillPattern | ( | ) |
Definition at line 104 of file lwpbackgroundstuff.cxx.
References XOBitmap::Array2Bitmap(), XOBitmap::Bitmap2Array(), COL_BLACK(), vcl::bitmap::CreateFromData(), XOBitmap::GetBackgroundColor(), XOBitmap::GetBitmap(), LwpColor::GetBlue(), SvMemoryStream::GetData(), SvMemoryStream::GetEndOfData(), LwpColor::GetGreen(), GetPattern(), LwpColor::GetRed(), IsPatternFill(), LwpColor::IsValidColor(), m_aFillColor, m_aPatternColor, m_nID, XOBitmap::SetBackgroundColor(), XOBitmap::SetPixelColor(), and WriteDIB().
Referenced by LwpMiddleLayout::GetFillPattern(), and LwpPara::RegisterStyle().
|
staticprivate |
Definition at line 79 of file lwpbackgroundstuff.cxx.
References i, and s_pLwpPatternTab.
Referenced by GetFillPattern().
|
inline |
Definition at line 85 of file lwpbackgroundstuff.hxx.
References m_nID.
Referenced by GetFillPattern(), LwpMiddleLayout::IsPatternFill(), and LwpPara::RegisterStyle().
|
inline |
Definition at line 84 of file lwpbackgroundstuff.hxx.
References BACK_TRANSPARENT, and m_nID.
Referenced by LwpFrame::ApplyWatermark(), LwpMiddleLayout::GetBackColor(), and LwpPara::RegisterStyle().
void LwpBackgroundStuff::Read | ( | LwpObjectStream * | pStrm | ) |
Definition at line 71 of file lwpbackgroundstuff.cxx.
References m_aFillColor, m_aPatternColor, m_nID, LwpObjectStream::QuickReaduInt16(), LwpColor::Read(), and LwpObjectStream::SkipExtra().
Referenced by LwpLayoutBackground::Read(), and LwpBackgroundOverride::Read().
|
friend |
Definition at line 87 of file lwpbackgroundstuff.hxx.
|
private |
Definition at line 91 of file lwpbackgroundstuff.hxx.
Referenced by LwpBackgroundOverride::GetBackColor(), GetFillColor(), GetFillPattern(), and Read().
|
private |
Definition at line 92 of file lwpbackgroundstuff.hxx.
Referenced by GetFillColor(), GetFillPattern(), and Read().
|
private |
Definition at line 90 of file lwpbackgroundstuff.hxx.
Referenced by GetFillColor(), GetFillPattern(), IsPatternFill(), IsTransparent(), and Read().