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...
 

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

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

Definition at line 46 of file textfield.cxx.

Member Function Documentation

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 209 of file textfield.cxx.

References OUStringToOString().

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

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 242 of file textfield.cxx.

References OUStringToOString().

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

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

Definition at line 40 of file textfield.hxx.

References maTextParagraphProperties.

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

Definition at line 45 of file textfield.hxx.

References msUuid.

Referenced by oox::drawingml::chart::DataLabelConverter::convertFromModel().

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
void oox::drawingml::TextField::setType ( const OUString &  sType)
inline

Definition at line 42 of file textfield.hxx.

References msType.

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

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

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

Definition at line 65 of file textfield.hxx.

Referenced by getTextParagraphProperties(), and insertAt().

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

Definition at line 66 of file textfield.hxx.

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

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: