|
LibreOffice Module writerfilter (master) 1
|
#include <BorderHandler.hxx>
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 &) | |
| SvRefBase & | operator= (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 |
Definition at line 33 of file BorderHandler.hxx.
|
strongprivate |
| Enumerator | |
|---|---|
| Top | |
| Left | |
| Bottom | |
| Right | |
| Horizontal | |
| Vertical | |
| LAST | |
Definition at line 37 of file BorderHandler.hxx.
|
explicit |
Definition at line 36 of file BorderHandler.cxx.
References o3tl::enumarray< typename E, typename V >::fill(), m_aBorderLines, and m_aFilledLines.
|
overridevirtual |
Definition at line 49 of file BorderHandler.cxx.
|
private |
Definition at line 211 of file BorderHandler.cxx.
References m_aInteropGrabBag.
Referenced by lcl_attribute().
| void writerfilter::dmapper::BorderHandler::enableInteropGrabBag | ( | const OUString & | aName | ) |
Definition at line 194 of file BorderHandler.cxx.
References aName, and m_aInteropGrabBagName.
| table::BorderLine2 writerfilter::dmapper::BorderHandler::getBorderLine | ( | ) |
Definition at line 186 of file BorderHandler.cxx.
References m_bOOXML, m_nLineColor, m_nLineType, m_nLineWidth, and writerfilter::dmapper::ConversionHelper::MakeBorderLine().
| model::ComplexColor writerfilter::dmapper::BorderHandler::getComplexColor | ( | ) | const |
Definition at line 219 of file BorderHandler.cxx.
References model::ComplexColor::addTransformation(), m_eThemeColorType, m_nThemeShade, m_nThemeTint, model::ComplexColor::setSchemeColor(), model::Shade, model::Tint, and model::Unknown.
| beans::PropertyValue writerfilter::dmapper::BorderHandler::getInteropGrabBag | ( | const OUString & | aName = OUString() | ) |
Definition at line 199 of file BorderHandler.cxx.
References aName, comphelper::containerToSequence(), m_aInteropGrabBag, and m_aInteropGrabBagName.
Referenced by lcl_sprm().
|
inline |
Definition at line 75 of file BorderHandler.hxx.
References m_nLineDistance.
|
inline |
Definition at line 76 of file BorderHandler.hxx.
References m_nLineType.
| PropertyMapPtr writerfilter::dmapper::BorderHandler::getProperties | ( | ) |
Definition at line 161 of file BorderHandler.cxx.
References aPropNames, m_aBorderLines, m_aFilledLines, m_bOOXML, writerfilter::dmapper::META_PROP_HORIZONTAL_BORDER, writerfilter::dmapper::META_PROP_VERTICAL_BORDER, writerfilter::dmapper::PROP_BOTTOM_BORDER, writerfilter::dmapper::PROP_LEFT_BORDER, writerfilter::dmapper::PROP_RIGHT_BORDER, and writerfilter::dmapper::PROP_TOP_BORDER.
|
inline |
Definition at line 77 of file BorderHandler.hxx.
References m_bShadow.
|
overrideprivatevirtual |
Implements writerfilter::LoggedProperties.
Definition at line 53 of file BorderHandler.cxx.
References appendGrabBag(), ColorTransparency, msfilter::util::ConvertColorOU(), writerfilter::dmapper::ConversionHelper::convertTwipToMM100(), writerfilter::dmapper::TDefTableHandler::getBorderTypeString(), writerfilter::Value::getInt(), writerfilter::dmapper::TDefTableHandler::getThemeColorTypeIndex(), writerfilter::dmapper::TDefTableHandler::getThemeColorTypeString(), m_bShadow, m_eThemeColorType, m_nLineColor, m_nLineDistance, m_nLineType, m_nLineWidth, m_nThemeShade, and m_nThemeTint.
|
overrideprivatevirtual |
Implements writerfilter::LoggedProperties.
Definition at line 98 of file BorderHandler.cxx.
References Bottom, writerfilter::Sprm::getId(), getInteropGrabBag(), writerfilter::Sprm::getProps(), Horizontal, Left, m_aBorderLines, m_aFilledLines, m_aInteropGrabBag, m_aInteropGrabBagName, m_bOOXML, m_nLineColor, m_nLineType, m_nLineWidth, writerfilter::dmapper::ConversionHelper::MakeBorderLine(), pos, Right, Top, and Vertical.
|
private |
Definition at line 60 of file BorderHandler.hxx.
Referenced by BorderHandler(), getProperties(), and lcl_sprm().
|
private |
Definition at line 59 of file BorderHandler.hxx.
Referenced by BorderHandler(), getProperties(), and lcl_sprm().
|
private |
Definition at line 62 of file BorderHandler.hxx.
Referenced by appendGrabBag(), getInteropGrabBag(), and lcl_sprm().
|
private |
Definition at line 61 of file BorderHandler.hxx.
Referenced by enableInteropGrabBag(), getInteropGrabBag(), and lcl_sprm().
|
private |
Definition at line 54 of file BorderHandler.hxx.
Referenced by getBorderLine(), getProperties(), and lcl_sprm().
|
private |
Definition at line 53 of file BorderHandler.hxx.
Referenced by getShadow(), and lcl_attribute().
|
private |
Definition at line 55 of file BorderHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().
|
private |
Definition at line 51 of file BorderHandler.hxx.
Referenced by getBorderLine(), lcl_attribute(), and lcl_sprm().
|
private |
Definition at line 52 of file BorderHandler.hxx.
Referenced by getLineDistance(), and lcl_attribute().
|
private |
Definition at line 50 of file BorderHandler.hxx.
Referenced by getBorderLine(), getLineType(), lcl_attribute(), and lcl_sprm().
|
private |
Definition at line 49 of file BorderHandler.hxx.
Referenced by getBorderLine(), lcl_attribute(), and lcl_sprm().
|
private |
Definition at line 56 of file BorderHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().
|
private |
Definition at line 57 of file BorderHandler.hxx.
Referenced by getComplexColor(), and lcl_attribute().