LibreOffice Module oox (master) 1
Public Member Functions | Public Attributes | List of all members
oox::drawingml::TextCharacterProperties Struct Reference

#include <textcharacterproperties.hxx>

Collaboration diagram for oox::drawingml::TextCharacterProperties:
[legend]

Public Member Functions

void assignUsed (const TextCharacterProperties &rSourceProps)
 Overwrites all members that are explicitly set in rSourceProps. More...
 
float getCharHeightPoints (float fDefault) const
 Returns the current character size. More...
 
void pushToPropMap (PropertyMap &rPropMap, const ::oox::core::XmlFilterBase &rFilter) const
 Writes the properties to the passed property map. More...
 
void pushToPropSet (PropertySet &rPropSet, const ::oox::core::XmlFilterBase &rFilter) const
 Writes the properties to the passed property set. More...
 
 TextCharacterProperties ()
 

Public Attributes

PropertyMap maHyperlinkPropertyMap
 
TextFont maLatinFont
 
TextFont maLatinThemeFont
 
TextFont maAsianFont
 
TextFont maAsianThemeFont
 
TextFont maComplexFont
 
TextFont maComplexThemeFont
 
TextFont maSymbolFont
 
Color maUnderlineColor
 
Color maHighlightColor
 
std::optional< OUString > moLang
 
std::optional< sal_Int32 > moHeight
 
std::optional< double > moFontScale
 If a font scale has to be applied manually to moHeight. More...
 
std::optional< sal_Int32 > moSpacing
 
std::optional< sal_Int32 > moUnderline
 
std::optional< sal_Int32 > moBaseline
 
std::optional< sal_Int32 > moStrikeout
 
std::optional< sal_Int32 > moCaseMap
 
std::optional< bool > moBold
 
std::optional< bool > moItalic
 
std::optional< bool > moUnderlineLineFollowText
 
std::optional< bool > moUnderlineFillFollowText
 
std::optional< LinePropertiesmoTextOutlineProperties
 
FillProperties maFillProperties
 
bool mbHasVisualRunProperties
 Set if there was a property set that alters run visually during import. More...
 
std::vector< css::beans::PropertyValue > maTextEffectsProperties
 

Detailed Description

Definition at line 36 of file textcharacterproperties.hxx.

Constructor & Destructor Documentation

◆ TextCharacterProperties()

oox::drawingml::TextCharacterProperties::TextCharacterProperties ( )
inline

Definition at line 87 of file textcharacterproperties.hxx.

Member Function Documentation

◆ assignUsed()

void oox::drawingml::TextCharacterProperties::assignUsed ( const TextCharacterProperties rSourceProps)

◆ getCharHeightPoints()

float oox::drawingml::TextCharacterProperties::getCharHeightPoints ( float  fDefault) const

Returns the current character size.

If possible the masterstyle should have been applied before, otherwise the character size can be zero and the default value is returned.

Definition at line 247 of file textcharacterproperties.cxx.

References oox::drawingml::GetFontHeight(), and moHeight.

Referenced by oox::drawingml::TextParagraphProperties::getCharHeightPoints().

◆ pushToPropMap()

void oox::drawingml::TextCharacterProperties::pushToPropMap ( PropertyMap rPropMap,
const ::oox::core::XmlFilterBase rFilter 
) const

Writes the properties to the passed property map.

Definition at line 75 of file textcharacterproperties.cxx.

References oox::drawingml::Color::addTransformation(), COL_AUTO(), COL_WHITE(), ColorTransparency, model::color::createXComplexColor(), DFLT_ESC_PROP, oox::drawingml::FillProperties::getBestSolidColor(), oox::drawingml::GetCaseMap(), oox::drawingml::Color::getColor(), oox::drawingml::Color::getComplexColor(), oox::drawingml::TextFont::getFontData(), oox::drawingml::GetFontHeight(), oox::drawingml::GetFontStrikeout(), oox::drawingml::GetFontUnderline(), oox::core::FilterBase::getGraphicHelper(), LanguageTag::getLanguageType(), LanguageTag::getLocale(), Color::GetRGBColor(), MsLangId::getScriptType(), oox::drawingml::GetTextSpacingPoint(), oox::drawingml::Color::getTransparency(), oox::drawingml::Color::hasTransparency(), oox::drawingml::Color::isUsed(), maAsianFont, maAsianThemeFont, maComplexFont, maComplexThemeFont, maFillProperties, maHighlightColor, maLatinFont, maLatinThemeFont, maUnderlineColor, moBaseline, moBold, moCaseMap, oox::drawingml::FillProperties::moFillType, moFontScale, moHeight, moItalic, moLang, moSpacing, moStrikeout, moTextOutlineProperties, moUnderline, moUnderlineFillFollowText, PROP_CharBackColor, PROP_CharCaseMap, PROP_CharColor, PROP_CharComplexColor, PROP_CharContoured, PROP_CharEscapement, PROP_CharEscapementHeight, PROP_CharFontFamily, PROP_CharFontFamilyAsian, PROP_CharFontFamilyComplex, PROP_CharFontName, PROP_CharFontNameAsian, PROP_CharFontNameComplex, PROP_CharFontPitch, PROP_CharFontPitchAsian, PROP_CharFontPitchComplex, PROP_CharHeight, PROP_CharHeightAsian, PROP_CharHeightComplex, PROP_CharKerning, PROP_CharLocale, PROP_CharLocaleAsian, PROP_CharLocaleComplex, PROP_CharPosture, PROP_CharPostureAsian, PROP_CharPostureComplex, PROP_CharStrikeout, PROP_CharTransparence, PROP_CharUnderline, PROP_CharUnderlineColor, PROP_CharUnderlineHasColor, PROP_CharWeight, PROP_CharWeightAsian, PROP_CharWeightComplex, oox::PropertyMap::setProperty(), and XML_none.

Referenced by pushToPropSet().

◆ pushToPropSet()

void oox::drawingml::TextCharacterProperties::pushToPropSet ( PropertySet rPropSet,
const ::oox::core::XmlFilterBase rFilter 
) const

Member Data Documentation

◆ maAsianFont

TextFont oox::drawingml::TextCharacterProperties::maAsianFont

◆ maAsianThemeFont

TextFont oox::drawingml::TextCharacterProperties::maAsianThemeFont

◆ maComplexFont

TextFont oox::drawingml::TextCharacterProperties::maComplexFont

◆ maComplexThemeFont

TextFont oox::drawingml::TextCharacterProperties::maComplexThemeFont

◆ maFillProperties

FillProperties oox::drawingml::TextCharacterProperties::maFillProperties

◆ maHighlightColor

Color oox::drawingml::TextCharacterProperties::maHighlightColor

◆ maHyperlinkPropertyMap

PropertyMap oox::drawingml::TextCharacterProperties::maHyperlinkPropertyMap

◆ maLatinFont

TextFont oox::drawingml::TextCharacterProperties::maLatinFont

◆ maLatinThemeFont

TextFont oox::drawingml::TextCharacterProperties::maLatinThemeFont

◆ maSymbolFont

TextFont oox::drawingml::TextCharacterProperties::maSymbolFont

◆ maTextEffectsProperties

std::vector<css::beans::PropertyValue> oox::drawingml::TextCharacterProperties::maTextEffectsProperties

◆ maUnderlineColor

Color oox::drawingml::TextCharacterProperties::maUnderlineColor

◆ mbHasVisualRunProperties

bool oox::drawingml::TextCharacterProperties::mbHasVisualRunProperties

◆ moBaseline

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moBaseline

◆ moBold

std::optional< bool > oox::drawingml::TextCharacterProperties::moBold

◆ moCaseMap

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moCaseMap

◆ moFontScale

std::optional< double > oox::drawingml::TextCharacterProperties::moFontScale

If a font scale has to be applied manually to moHeight.

Definition at line 51 of file textcharacterproperties.hxx.

Referenced by assignUsed(), and pushToPropMap().

◆ moHeight

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moHeight

◆ moItalic

std::optional< bool > oox::drawingml::TextCharacterProperties::moItalic

◆ moLang

std::optional< OUString > oox::drawingml::TextCharacterProperties::moLang

◆ moSpacing

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moSpacing

◆ moStrikeout

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moStrikeout

◆ moTextOutlineProperties

std::optional<LineProperties> oox::drawingml::TextCharacterProperties::moTextOutlineProperties

◆ moUnderline

std::optional< sal_Int32 > oox::drawingml::TextCharacterProperties::moUnderline

◆ moUnderlineFillFollowText

std::optional< bool > oox::drawingml::TextCharacterProperties::moUnderlineFillFollowText

◆ moUnderlineLineFollowText

std::optional< bool > oox::drawingml::TextCharacterProperties::moUnderlineLineFollowText

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