LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
oox::drawingml::TextField Class Referencefinal

#include <textfield.hxx>

Inheritance diagram for oox::drawingml::TextField:
[legend]
Collaboration diagram for oox::drawingml::TextField:
[legend]

Public Member Functions

 TextField ()
 
TextParagraphPropertiesgetTextParagraphProperties ()
 
const TextParagraphPropertiesgetTextParagraphProperties () const
 
void setType (const OUString &sType)
 
const OUString & getType () const
 
void setUuid (const OUString &sUuid)
 
const OUString & getUuid () const
 
virtual sal_Int32 insertAt (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::text::XText > &xText, const css::uno::Reference< css::text::XTextCursor > &xAt, const TextCharacterProperties &rTextCharacterStyle, float nDefaultCharHeight) const override
 
- Public Member Functions inherited from oox::drawingml::TextRun
 TextRun ()
 
virtual ~TextRun ()
 
OUString & getText ()
 
const OUString & getText () const
 
TextCharacterPropertiesgetTextCharacterProperties ()
 
const TextCharacterPropertiesgetTextCharacterProperties () const
 
void setLineBreak ()
 
bool isLineBreak () const
 
bool hasVisualRunProperties () const
 Returns whether the textrun had properties that alter it visually in its rPr tag. More...
 
virtual sal_Int32 insertAt (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::text::XText > &xText, const css::uno::Reference< css::text::XTextCursor > &xAt, const TextCharacterProperties &rTextCharacterStyle, float nDefaultCharHeight) const
 

Static Public Member Functions

static SvxDateFormat getLODateFormat (std::u16string_view rDateTimeType)
 Gets the corresponding LO Date format for given OOXML datetime field type. More...
 
static SvxTimeFormat getLOTimeFormat (std::u16string_view rDateTimeType)
 Gets the corresponding LO Time format for given OOXML datetime field type. More...
 

Private Attributes

TextParagraphProperties maTextParagraphProperties
 
OUString msType
 
OUString msUuid
 

Detailed Description

Definition at line 33 of file textfield.hxx.

Constructor & Destructor Documentation

◆ TextField()

oox::drawingml::TextField::TextField ( )

Definition at line 51 of file textfield.cxx.

Member Function Documentation

◆ getLODateFormat()

SvxDateFormat oox::drawingml::TextField::getLODateFormat ( std::u16string_view  rDateTimeType)
static

Gets the corresponding LO Date format for given OOXML datetime field type.

Parameters
rDateTimeTypePPTX datetime field type e.g. datetime3

Definition at line 211 of file textfield.cxx.

References o3tl::toInt32().

Referenced by oox::ppt::PPTShape::addShape().

◆ getLOTimeFormat()

SvxTimeFormat oox::drawingml::TextField::getLOTimeFormat ( std::u16string_view  rDateTimeType)
static

Gets the corresponding LO Time format for given OOXML datetime field type.

Parameters
rDateTimeTypePPTX datetime field type e.g. datetime3

Definition at line 244 of file textfield.cxx.

References o3tl::toInt32().

Referenced by oox::ppt::PPTShape::addShape().

◆ getTextParagraphProperties() [1/2]

TextParagraphProperties & oox::drawingml::TextField::getTextParagraphProperties ( )
inline

◆ getTextParagraphProperties() [2/2]

const TextParagraphProperties & oox::drawingml::TextField::getTextParagraphProperties ( ) const
inline

Definition at line 40 of file textfield.hxx.

References maTextParagraphProperties.

◆ getType()

const OUString & oox::drawingml::TextField::getType ( ) const
inline

Definition at line 43 of file textfield.hxx.

References msType.

Referenced by oox::ppt::PPTShape::addShape().

◆ getUuid()

const OUString & oox::drawingml::TextField::getUuid ( ) const
inline

Definition at line 45 of file textfield.hxx.

References msUuid.

◆ insertAt()

sal_Int32 oox::drawingml::TextField::insertAt ( const ::oox::core::XmlFilterBase rFilterBase,
const css::uno::Reference< css::text::XText > &  xText,
const css::uno::Reference< css::text::XTextCursor > &  xAt,
const TextCharacterProperties rTextCharacterStyle,
float  nDefaultCharHeight 
) const
overridevirtual

◆ setType()

void oox::drawingml::TextField::setType ( const OUString &  sType)
inline

Definition at line 42 of file textfield.hxx.

References msType, and sType.

Referenced by oox::drawingml::TextFieldContext::TextFieldContext().

◆ setUuid()

void oox::drawingml::TextField::setUuid ( const OUString &  sUuid)
inline

Definition at line 44 of file textfield.hxx.

References msUuid.

Referenced by oox::drawingml::TextFieldContext::TextFieldContext().

Member Data Documentation

◆ maTextParagraphProperties

TextParagraphProperties oox::drawingml::TextField::maTextParagraphProperties
private

Definition at line 65 of file textfield.hxx.

Referenced by getTextParagraphProperties(), and insertAt().

◆ msType

OUString oox::drawingml::TextField::msType
private

Definition at line 66 of file textfield.hxx.

Referenced by getType(), insertAt(), and setType().

◆ msUuid

OUString oox::drawingml::TextField::msUuid
private

Definition at line 67 of file textfield.hxx.

Referenced by getUuid(), and setUuid().


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