LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
writerfilter::dmapper::BorderHandler Class Reference

#include <BorderHandler.hxx>

Inheritance diagram for writerfilter::dmapper::BorderHandler:
[legend]
Collaboration diagram for writerfilter::dmapper::BorderHandler:
[legend]

Public Member Functions

 BorderHandler (bool bOOXML)
 
virtual ~BorderHandler () override
 
PropertyMapPtr getProperties ()
 
css::table::BorderLine2 getBorderLine ()
 
sal_Int32 getLineDistance () const
 
sal_Int32 getLineType () const
 
bool getShadow () const
 
void enableInteropGrabBag (const OUString &aName)
 
css::beans::PropertyValue getInteropGrabBag (const OUString &aName=OUString())
 
model::ComplexColor getComplexColor () const
 
- Public Member Functions inherited from writerfilter::LoggedProperties
 LoggedProperties (const std::string &sPrefix)
 
virtual ~LoggedProperties () override
 
void attribute (Id name, Value &val) override
 Receives an attribute. More...
 
void sprm (Sprm &sprm) override
 Receives a SPRM. More...
 
virtual void attribute (Id name, Value &val)=0
 Receives an attribute. More...
 
virtual void sprm (Sprm &sprm)=0
 Receives a SPRM. More...
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Types

enum class  BorderPosition {
  Top ,
  Left ,
  Bottom ,
  Right ,
  Horizontal ,
  Vertical ,
  LAST = Vertical
}
 

Private Member Functions

void appendGrabBag (const OUString &aKey, const OUString &aValue)
 
virtual void lcl_attribute (Id Name, Value &val) override
 
virtual void lcl_sprm (Sprm &sprm) override
 

Private Attributes

sal_Int32 m_nLineWidth
 
sal_Int32 m_nLineType
 
sal_Int32 m_nLineColor
 
sal_Int32 m_nLineDistance
 
bool m_bShadow
 
bool m_bOOXML
 
model::ThemeColorType m_eThemeColorType = model::ThemeColorType::Unknown
 
sal_Int32 m_nThemeShade = 0
 
sal_Int32 m_nThemeTint = 0
 
o3tl::enumarray< BorderPosition, bool > m_aFilledLines
 
o3tl::enumarray< BorderPosition, css::table::BorderLine2 > m_aBorderLines
 
OUString m_aInteropGrabBagName
 
std::vector< css::beans::PropertyValue > m_aInteropGrabBag
 

Additional Inherited Members

virtual void lcl_attribute (Id name, Value &val)=0
 
virtual void lcl_sprm (Sprm &sprm)=0
 
- Protected Member Functions inherited from writerfilter::Properties
 ~Properties () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 33 of file BorderHandler.hxx.

Member Enumeration Documentation

◆ BorderPosition

Enumerator
Top 
Left 
Bottom 
Right 
Horizontal 
Vertical 
LAST 

Definition at line 37 of file BorderHandler.hxx.

Constructor & Destructor Documentation

◆ BorderHandler()

writerfilter::dmapper::BorderHandler::BorderHandler ( bool  bOOXML)
explicit

◆ ~BorderHandler()

writerfilter::dmapper::BorderHandler::~BorderHandler ( )
overridevirtual

Definition at line 49 of file BorderHandler.cxx.

Member Function Documentation

◆ appendGrabBag()

void writerfilter::dmapper::BorderHandler::appendGrabBag ( const OUString &  aKey,
const OUString &  aValue 
)
private

Definition at line 211 of file BorderHandler.cxx.

References m_aInteropGrabBag.

Referenced by lcl_attribute().

◆ enableInteropGrabBag()

void writerfilter::dmapper::BorderHandler::enableInteropGrabBag ( const OUString &  aName)

Definition at line 194 of file BorderHandler.cxx.

References aName, and m_aInteropGrabBagName.

◆ getBorderLine()

table::BorderLine2 writerfilter::dmapper::BorderHandler::getBorderLine ( )

◆ getComplexColor()

model::ComplexColor writerfilter::dmapper::BorderHandler::getComplexColor ( ) const

◆ getInteropGrabBag()

beans::PropertyValue writerfilter::dmapper::BorderHandler::getInteropGrabBag ( const OUString &  aName = OUString())

◆ getLineDistance()

sal_Int32 writerfilter::dmapper::BorderHandler::getLineDistance ( ) const
inline

Definition at line 75 of file BorderHandler.hxx.

References m_nLineDistance.

◆ getLineType()

sal_Int32 writerfilter::dmapper::BorderHandler::getLineType ( ) const
inline

Definition at line 76 of file BorderHandler.hxx.

References m_nLineType.

◆ getProperties()

PropertyMapPtr writerfilter::dmapper::BorderHandler::getProperties ( )

◆ getShadow()

bool writerfilter::dmapper::BorderHandler::getShadow ( ) const
inline

Definition at line 77 of file BorderHandler.hxx.

References m_bShadow.

◆ lcl_attribute()

void writerfilter::dmapper::BorderHandler::lcl_attribute ( Id  Name,
Value val 
)
overrideprivatevirtual

◆ lcl_sprm()

void writerfilter::dmapper::BorderHandler::lcl_sprm ( Sprm sprm)
overrideprivatevirtual

Member Data Documentation

◆ m_aBorderLines

o3tl::enumarray<BorderPosition, css::table::BorderLine2> writerfilter::dmapper::BorderHandler::m_aBorderLines
private

Definition at line 60 of file BorderHandler.hxx.

Referenced by BorderHandler(), getProperties(), and lcl_sprm().

◆ m_aFilledLines

o3tl::enumarray<BorderPosition, bool> writerfilter::dmapper::BorderHandler::m_aFilledLines
private

Definition at line 59 of file BorderHandler.hxx.

Referenced by BorderHandler(), getProperties(), and lcl_sprm().

◆ m_aInteropGrabBag

std::vector<css::beans::PropertyValue> writerfilter::dmapper::BorderHandler::m_aInteropGrabBag
private

Definition at line 62 of file BorderHandler.hxx.

Referenced by appendGrabBag(), getInteropGrabBag(), and lcl_sprm().

◆ m_aInteropGrabBagName

OUString writerfilter::dmapper::BorderHandler::m_aInteropGrabBagName
private

Definition at line 61 of file BorderHandler.hxx.

Referenced by enableInteropGrabBag(), getInteropGrabBag(), and lcl_sprm().

◆ m_bOOXML

bool writerfilter::dmapper::BorderHandler::m_bOOXML
private

Definition at line 54 of file BorderHandler.hxx.

Referenced by getBorderLine(), getProperties(), and lcl_sprm().

◆ m_bShadow

bool writerfilter::dmapper::BorderHandler::m_bShadow
private

Definition at line 53 of file BorderHandler.hxx.

Referenced by getShadow(), and lcl_attribute().

◆ m_eThemeColorType

model::ThemeColorType writerfilter::dmapper::BorderHandler::m_eThemeColorType = model::ThemeColorType::Unknown
private

Definition at line 55 of file BorderHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().

◆ m_nLineColor

sal_Int32 writerfilter::dmapper::BorderHandler::m_nLineColor
private

Definition at line 51 of file BorderHandler.hxx.

Referenced by getBorderLine(), lcl_attribute(), and lcl_sprm().

◆ m_nLineDistance

sal_Int32 writerfilter::dmapper::BorderHandler::m_nLineDistance
private

Definition at line 52 of file BorderHandler.hxx.

Referenced by getLineDistance(), and lcl_attribute().

◆ m_nLineType

sal_Int32 writerfilter::dmapper::BorderHandler::m_nLineType
private

Definition at line 50 of file BorderHandler.hxx.

Referenced by getBorderLine(), getLineType(), lcl_attribute(), and lcl_sprm().

◆ m_nLineWidth

sal_Int32 writerfilter::dmapper::BorderHandler::m_nLineWidth
private

Definition at line 49 of file BorderHandler.hxx.

Referenced by getBorderLine(), lcl_attribute(), and lcl_sprm().

◆ m_nThemeShade

sal_Int32 writerfilter::dmapper::BorderHandler::m_nThemeShade = 0
private

Definition at line 56 of file BorderHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().

◆ m_nThemeTint

sal_Int32 writerfilter::dmapper::BorderHandler::m_nThemeTint = 0
private

Definition at line 57 of file BorderHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().


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