|
LibreOffice Module oox (master) 1
|
#include <textbodyproperties.hxx>
Public Member Functions | |
| TextBodyProperties () | |
| void | pushTextDistances (Size const &rShapeSize) |
| void | readjustTextDistances (css::uno::Reference< css::drawing::XShape > const &xShape) |
| void | pushVertSimulation () |
Public Attributes | |
| PropertyMap | maPropertyMap |
| std::optional< sal_Int32 > | moTextPreRotation |
| std::optional< sal_Int32 > | moTextAreaRotation |
| bool | mbAnchorCtr |
| std::optional< sal_Int32 > | moVert |
| bool | moUpright = false |
| std::array< std::optional< sal_Int32 >, 4 > | moInsets |
| std::optional< sal_Int32 > | moTextOffUpper |
| std::optional< sal_Int32 > | moTextOffLeft |
| std::optional< sal_Int32 > | moTextOffLower |
| std::optional< sal_Int32 > | moTextOffRight |
| css::drawing::TextVerticalAdjust | meVA |
| OUString | msPrst |
| sal_Int32 | mnFontScale = 100000 |
| Normal autofit: font scale (default: 100%). More... | |
| OUString | msHorzOverflow |
| std::optional< sal_Int32 > | moVertOverflow {} |
| std::array< std::optional< sal_Int32 >, 4 > | maTextDistanceValues |
Definition at line 34 of file textbodyproperties.hxx.
|
explicit |
Definition at line 39 of file textbodyproperties.cxx.
| void oox::drawingml::TextBodyProperties::pushTextDistances | ( | Size const & | rShapeSize | ) |
Definition at line 69 of file textbodyproperties.cxx.
References Size::getHeight(), namespaces::i, maPropertyMap, maTextDistanceValues, moInsets, moTextOffLeft, moTextOffLower, moTextOffRight, moTextOffUpper, moTextPreRotation, moVert, PROP_TextLeftDistance, PROP_TextLowerDistance, PROP_TextRightDistance, PROP_TextUpperDistance, and oox::PropertyMap::setProperty().
Referenced by readjustTextDistances().
| void oox::drawingml::TextBodyProperties::pushVertSimulation | ( | ) |
Definition at line 46 of file textbodyproperties.cxx.
References maPropertyMap, meVA, moVert, PROP_TextHorizontalAdjust, PROP_TextVerticalAdjust, PROP_TextWritingMode, and oox::PropertyMap::setProperty().
| void oox::drawingml::TextBodyProperties::readjustTextDistances | ( | css::uno::Reference< css::drawing::XShape > const & | xShape | ) |
Definition at line 159 of file textbodyproperties.cxx.
References SdrObject::getSdrObjectFromXShape(), tools::Rectangle::GetSize(), SdrTextObj::GetTextLowerDistance(), makeSdrTextLowerDistItem(), makeSdrTextUpperDistItem(), maTextDistanceValues, and pushTextDistances().
| PropertyMap oox::drawingml::TextBodyProperties::maPropertyMap |
Definition at line 36 of file textbodyproperties.hxx.
Referenced by pushTextDistances(), and pushVertSimulation().
| std::array<std::optional<sal_Int32>, 4> oox::drawingml::TextBodyProperties::maTextDistanceValues |
Definition at line 56 of file textbodyproperties.hxx.
Referenced by pushTextDistances(), and readjustTextDistances().
| bool oox::drawingml::TextBodyProperties::mbAnchorCtr |
Definition at line 41 of file textbodyproperties.hxx.
| css::drawing::TextVerticalAdjust oox::drawingml::TextBodyProperties::meVA |
Definition at line 49 of file textbodyproperties.hxx.
Referenced by pushVertSimulation().
| sal_Int32 oox::drawingml::TextBodyProperties::mnFontScale = 100000 |
Normal autofit: font scale (default: 100%).
Definition at line 52 of file textbodyproperties.hxx.
| std::array<std::optional<sal_Int32>, 4> oox::drawingml::TextBodyProperties::moInsets |
Definition at line 44 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextAreaRotation |
Definition at line 40 of file textbodyproperties.hxx.
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextOffLeft |
Definition at line 46 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextOffLower |
Definition at line 47 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextOffRight |
Definition at line 48 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextOffUpper |
Definition at line 45 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moTextPreRotation |
Definition at line 38 of file textbodyproperties.hxx.
Referenced by pushTextDistances().
| bool oox::drawingml::TextBodyProperties::moUpright = false |
Definition at line 43 of file textbodyproperties.hxx.
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moVert |
Definition at line 42 of file textbodyproperties.hxx.
Referenced by pushTextDistances(), and pushVertSimulation().
| std::optional< sal_Int32 > oox::drawingml::TextBodyProperties::moVertOverflow {} |
Definition at line 54 of file textbodyproperties.hxx.
| OUString oox::drawingml::TextBodyProperties::msHorzOverflow |
Definition at line 53 of file textbodyproperties.hxx.
| OUString oox::drawingml::TextBodyProperties::msPrst |
Definition at line 50 of file textbodyproperties.hxx.