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

#include <CellColorHandler.hxx>

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

Public Types

enum  OutputFormat {
  Form ,
  Paragraph ,
  Character
}
 

Public Member Functions

 CellColorHandler ()
 
virtual ~CellColorHandler () override
 
TablePropertyMapPtr getProperties ()
 
void setOutputFormat (OutputFormat format)
 
void enableInteropGrabBag (const OUString &aName)
 
css::beans::PropertyValue getInteropGrabBag ()
 
void disableInteropGrabBag ()
 
bool isInteropGrabBagEnabled () const
 
model::ComplexColor getComplexColor () const
 
model::ComplexColor getFillComplexColor () 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 Member Functions

virtual void lcl_attribute (Id Name, Value &val) override
 
virtual void lcl_sprm (Sprm &sprm) override
 
void createGrabBag (const OUString &aName, const css::uno::Any &rValue)
 

Private Attributes

sal_Int32 m_nShadingPattern
 
sal_Int32 m_nColor
 
model::ThemeColorType m_eThemeColorType = model::ThemeColorType::Unknown
 
sal_Int32 m_nThemeColorTint = 0
 
sal_Int32 m_nThemeColorShade = 0
 
sal_Int32 m_nFillColor
 
model::ThemeColorType m_eFillThemeColorType = model::ThemeColorType::Unknown
 
sal_Int32 m_nFillThemeColorTint = 0
 
sal_Int32 m_nFillThemeColorShade = 0
 
bool m_bAutoFillColor
 
bool m_bFillSpecified
 
OutputFormat m_OutputFormat
 
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 31 of file CellColorHandler.hxx.

Member Enumeration Documentation

◆ OutputFormat

Enumerator
Form 
Paragraph 
Character 

Definition at line 34 of file CellColorHandler.hxx.

Constructor & Destructor Documentation

◆ CellColorHandler()

writerfilter::dmapper::CellColorHandler::CellColorHandler ( )

Definition at line 34 of file CellColorHandler.cxx.

References CLEAR, and Form.

◆ ~CellColorHandler()

writerfilter::dmapper::CellColorHandler::~CellColorHandler ( )
overridevirtual

Definition at line 45 of file CellColorHandler.cxx.

Member Function Documentation

◆ createGrabBag()

void writerfilter::dmapper::CellColorHandler::createGrabBag ( const OUString &  aName,
const css::uno::Any &  rValue 
)
private

Definition at line 316 of file CellColorHandler.cxx.

References aName, m_aInteropGrabBag, and m_aInteropGrabBagName.

Referenced by getProperties(), and lcl_attribute().

◆ disableInteropGrabBag()

void writerfilter::dmapper::CellColorHandler::disableInteropGrabBag ( )

Definition at line 340 of file CellColorHandler.cxx.

References m_aInteropGrabBag, and m_aInteropGrabBagName.

◆ enableInteropGrabBag()

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

Definition at line 327 of file CellColorHandler.cxx.

References aName, and m_aInteropGrabBagName.

◆ getComplexColor()

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

◆ getFillComplexColor()

model::ComplexColor writerfilter::dmapper::CellColorHandler::getFillComplexColor ( ) const

◆ getInteropGrabBag()

beans::PropertyValue writerfilter::dmapper::CellColorHandler::getInteropGrabBag ( )

◆ getProperties()

TablePropertyMapPtr writerfilter::dmapper::CellColorHandler::getProperties ( )

◆ isInteropGrabBagEnabled()

bool writerfilter::dmapper::CellColorHandler::isInteropGrabBagEnabled ( ) const

Definition at line 346 of file CellColorHandler.cxx.

References m_aInteropGrabBagName.

◆ lcl_attribute()

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

◆ lcl_sprm()

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

Implements writerfilter::LoggedProperties.

Definition at line 156 of file CellColorHandler.cxx.

◆ setOutputFormat()

void writerfilter::dmapper::CellColorHandler::setOutputFormat ( OutputFormat  format)
inline

Definition at line 67 of file CellColorHandler.hxx.

References m_OutputFormat.

Member Data Documentation

◆ m_aInteropGrabBag

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

Definition at line 53 of file CellColorHandler.hxx.

Referenced by createGrabBag(), disableInteropGrabBag(), and getInteropGrabBag().

◆ m_aInteropGrabBagName

OUString writerfilter::dmapper::CellColorHandler::m_aInteropGrabBagName
private

◆ m_bAutoFillColor

bool writerfilter::dmapper::CellColorHandler::m_bAutoFillColor
private

Definition at line 48 of file CellColorHandler.hxx.

Referenced by getProperties(), and lcl_attribute().

◆ m_bFillSpecified

bool writerfilter::dmapper::CellColorHandler::m_bFillSpecified
private

Definition at line 49 of file CellColorHandler.hxx.

Referenced by getProperties(), and lcl_attribute().

◆ m_eFillThemeColorType

model::ThemeColorType writerfilter::dmapper::CellColorHandler::m_eFillThemeColorType = model::ThemeColorType::Unknown
private

Definition at line 44 of file CellColorHandler.hxx.

Referenced by getFillComplexColor(), and lcl_attribute().

◆ m_eThemeColorType

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

Definition at line 39 of file CellColorHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().

◆ m_nColor

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nColor
private

Definition at line 38 of file CellColorHandler.hxx.

Referenced by getProperties(), and lcl_attribute().

◆ m_nFillColor

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nFillColor
private

Definition at line 43 of file CellColorHandler.hxx.

Referenced by getProperties(), and lcl_attribute().

◆ m_nFillThemeColorShade

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nFillThemeColorShade = 0
private

Definition at line 46 of file CellColorHandler.hxx.

Referenced by getFillComplexColor(), and lcl_attribute().

◆ m_nFillThemeColorTint

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nFillThemeColorTint = 0
private

Definition at line 45 of file CellColorHandler.hxx.

Referenced by getFillComplexColor(), and lcl_attribute().

◆ m_nShadingPattern

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nShadingPattern
private

Definition at line 36 of file CellColorHandler.hxx.

Referenced by getProperties(), and lcl_attribute().

◆ m_nThemeColorShade

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nThemeColorShade = 0
private

Definition at line 41 of file CellColorHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().

◆ m_nThemeColorTint

sal_Int32 writerfilter::dmapper::CellColorHandler::m_nThemeColorTint = 0
private

Definition at line 40 of file CellColorHandler.hxx.

Referenced by getComplexColor(), and lcl_attribute().

◆ m_OutputFormat

OutputFormat writerfilter::dmapper::CellColorHandler::m_OutputFormat
private

Definition at line 50 of file CellColorHandler.hxx.

Referenced by getProperties(), and setOutputFormat().


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