LibreOffice Module writerfilter (master) 1
|
#include <CellColorHandler.hxx>
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 &) | |
SvRefBase & | operator= (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 |
Definition at line 31 of file CellColorHandler.hxx.
Enumerator | |
---|---|
Form | |
Paragraph | |
Character |
Definition at line 34 of file CellColorHandler.hxx.
writerfilter::dmapper::CellColorHandler::CellColorHandler | ( | ) |
Definition at line 34 of file CellColorHandler.cxx.
|
overridevirtual |
Definition at line 45 of file CellColorHandler.cxx.
|
private |
Definition at line 316 of file CellColorHandler.cxx.
References aName, m_aInteropGrabBag, and m_aInteropGrabBagName.
Referenced by getProperties(), and lcl_attribute().
void writerfilter::dmapper::CellColorHandler::disableInteropGrabBag | ( | ) |
Definition at line 340 of file CellColorHandler.cxx.
References m_aInteropGrabBag, and m_aInteropGrabBagName.
void writerfilter::dmapper::CellColorHandler::enableInteropGrabBag | ( | const OUString & | aName | ) |
Definition at line 327 of file CellColorHandler.cxx.
References aName, and m_aInteropGrabBagName.
model::ComplexColor writerfilter::dmapper::CellColorHandler::getComplexColor | ( | ) | const |
Definition at line 351 of file CellColorHandler.cxx.
References model::ComplexColor::addTransformation(), m_eThemeColorType, m_nThemeColorShade, m_nThemeColorTint, model::ComplexColor::setSchemeColor(), model::Shade, model::Tint, and model::Unknown.
model::ComplexColor writerfilter::dmapper::CellColorHandler::getFillComplexColor | ( | ) | const |
Definition at line 372 of file CellColorHandler.cxx.
References model::ComplexColor::addTransformation(), m_eFillThemeColorType, m_nFillThemeColorShade, m_nFillThemeColorTint, model::ComplexColor::setSchemeColor(), model::Shade, model::Tint, and model::Unknown.
Referenced by getProperties().
beans::PropertyValue writerfilter::dmapper::CellColorHandler::getInteropGrabBag | ( | ) |
Definition at line 332 of file CellColorHandler.cxx.
References comphelper::containerToSequence(), m_aInteropGrabBag, and m_aInteropGrabBagName.
TablePropertyMapPtr writerfilter::dmapper::CellColorHandler::getProperties | ( | ) |
Definition at line 158 of file CellColorHandler.cxx.
References Character, COL_AUTO(), ColorTransparency, msfilter::util::ConvertColorOU(), createGrabBag(), model::color::createXComplexColor(), Form, getFillComplexColor(), m_bAutoFillColor, m_bFillSpecified, m_nColor, m_nFillColor, m_nShadingPattern, m_OutputFormat, writerfilter::dmapper::PROP_BACK_COLOR, writerfilter::dmapper::PROP_CHAR_BACK_COLOR, writerfilter::dmapper::PROP_CHAR_BACKGROUND_COMPLEX_COLOR, writerfilter::dmapper::PROP_CHAR_SHADING_VALUE, writerfilter::dmapper::PROP_FILL_COLOR, writerfilter::dmapper::PROP_FILL_COMPLEX_COLOR, writerfilter::dmapper::PROP_FILL_STYLE, and model::Unused.
bool writerfilter::dmapper::CellColorHandler::isInteropGrabBagEnabled | ( | ) | const |
Definition at line 346 of file CellColorHandler.cxx.
References m_aInteropGrabBagName.
|
overrideprivatevirtual |
Implements writerfilter::LoggedProperties.
Definition at line 99 of file CellColorHandler.cxx.
References COL_AUTO(), ColorTransparency, msfilter::util::ConvertColorOU(), createGrabBag(), writerfilter::Value::getInt(), writerfilter::dmapper::TDefTableHandler::getThemeColorTypeIndex(), writerfilter::dmapper::TDefTableHandler::getThemeColorTypeString(), writerfilter::dmapper::lcl_ConvertShd(), m_bAutoFillColor, m_bFillSpecified, m_eFillThemeColorType, m_eThemeColorType, m_nColor, m_nFillColor, m_nFillThemeColorShade, m_nFillThemeColorTint, m_nShadingPattern, m_nThemeColorShade, and m_nThemeColorTint.
|
overrideprivatevirtual |
Implements writerfilter::LoggedProperties.
Definition at line 156 of file CellColorHandler.cxx.
|
inline |
Definition at line 67 of file CellColorHandler.hxx.
References m_OutputFormat.
|
private |
Definition at line 53 of file CellColorHandler.hxx.
Referenced by createGrabBag(), disableInteropGrabBag(), and getInteropGrabBag().
|
private |
Definition at line 52 of file CellColorHandler.hxx.
Referenced by createGrabBag(), disableInteropGrabBag(), enableInteropGrabBag(), getInteropGrabBag(), and isInteropGrabBagEnabled().
|
private |
Definition at line 48 of file CellColorHandler.hxx.
Referenced by getProperties(), and lcl_attribute().
|
private |
Definition at line 49 of file CellColorHandler.hxx.
Referenced by getProperties(), and lcl_attribute().
|
private |
Definition at line 44 of file CellColorHandler.hxx.
Referenced by getFillComplexColor(), and lcl_attribute().
|
private |
Definition at line 39 of file CellColorHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().
|
private |
Definition at line 38 of file CellColorHandler.hxx.
Referenced by getProperties(), and lcl_attribute().
|
private |
Definition at line 43 of file CellColorHandler.hxx.
Referenced by getProperties(), and lcl_attribute().
|
private |
Definition at line 46 of file CellColorHandler.hxx.
Referenced by getFillComplexColor(), and lcl_attribute().
|
private |
Definition at line 45 of file CellColorHandler.hxx.
Referenced by getFillComplexColor(), and lcl_attribute().
|
private |
Definition at line 36 of file CellColorHandler.hxx.
Referenced by getProperties(), and lcl_attribute().
|
private |
Definition at line 41 of file CellColorHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().
|
private |
Definition at line 40 of file CellColorHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().
|
private |
Definition at line 50 of file CellColorHandler.hxx.
Referenced by getProperties(), and setOutputFormat().