20#ifndef INCLUDED_OOX_VML_VMLTEXTBOX_HXX
21#define INCLUDED_OOX_VML_VMLTEXTBOX_HXX
26#include <com/sun/star/uno/Reference.hxx>
29#include <rtl/ustring.hxx>
33 namespace drawing {
class XShape; }
92 OUString getText()
const;
93 void convert(
const css::uno::Reference<css::drawing::XShape>& xShape)
const;
The textbox contains all text contents and properties.
::std::vector< TextPortionModel > PortionVector
bool borderDistanceSet
Text distance from the border (inset attribute of v:textbox), valid only if set.
size_t getPortionCount() const
Returns the current number of text portions.
ShapeTypeModel & mrTypeModel
The shape model structure contains all properties shared by all types of shapes.
Font settings for a text portion in a textbox.
std::optional< sal_Int32 > monEscapement
Subscript or superscript.
std::optional< sal_Int32 > monSize
Font size in twips.
std::optional< sal_Int32 > monUnderline
Single or double underline.
std::optional< OUString > moNameAsian
Asian font name.
std::optional< OUString > moNameComplex
Complex font name.
std::optional< bool > mobBold
std::optional< bool > mobStrikeout
std::optional< OUString > moName
Font name.
std::optional< sal_Int32 > monSpacing
std::optional< bool > mobItalic
std::optional< OUString > moColor
Font color, HTML encoded, sort of.
A text paragraph in a textbox.
std::optional< OUString > moParaStyleName
std::optional< OUString > moParaAdjust
Paragraph adjust (left, center, right, etc.)
A text portion in a textbox with the same formatting for all characters.
TextPortionModel(TextParagraphModel aParagraph, TextFontModel aFont, OUString aText)
TextParagraphModel maParagraph