BasePortionFormat

BasePortionFormat

Overview

BasePortionFormat is a class in Aspose.Slides FOSS for C++.

Common text portion formatting properties. Provides getters and setters for font style, underline, capitalization, strikethrough, font metrics, font references, and language identifiers. Properties that are not explicitly set return a “not defined” sentinel (NullableBool::NOT_DEFINED, enum NOT_DEFINED, NaN for floats, std::nullopt for optional values).

This class provides 66 methods for working with BasePortionFormat objects in C++ programs. Available methods include: BasePortionFormat, ColorFormat, EffectFormat, FillFormat, LineFormat, NullableBool, TextCapType, TextStrikethroughType, TextUnderlineType, alternative_language_id, complex_script_font, east_asian_font, and 46 additional methods. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: ColorFormat, EffectFormat, FillFormat, LineFormat, NullableBool, TextCapType, and 2 more.

Properties

NameTypeAccessDescription
NullableBoolNullableBoolReadGets the nullable bool.
TextUnderlineTypeTextUnderlineTypeReadGets the text underline type.
TextCapTypeTextCapTypeReadGets the text cap type.
TextStrikethroughTypeTextStrikethroughTypeReadGets the text strikethrough type.
LineFormatLineFormatReadGets the line format.
FillFormatFillFormatReadGets the fill format.
EffectFormatEffectFormatReadGets the effect format.
ColorFormatColorFormatReadGets the color format.

Methods

SignatureDescription
NullableBool()NullableBoolProperty provides a NullableBool representing the portion’s boolean attribute
NullableBool()NullableBool
NullableBool()NullableBool
NullableBool()NullableBool
NullableBool()NullableBool
TextUnderlineType()TextUnderlineTypeReturns a TextUnderlineType enum describing the underline style
TextCapType()TextCapTypeReturns a TextCapType enum describing the capitalization style
TextStrikethroughType()TextStrikethroughTypeReturns a TextStrikethroughType enum describing the strikethrough style
NullableBool()NullableBool
NullableBool()NullableBool
LineFormat()LineFormatProperty provides a LineFormat object for configuring the portion’s line style
FillFormat()FillFormatReturns a FillFormat object defining the portion’s fill styling
EffectFormat()EffectFormatProperty provides an EffectFormat object for configuring visual effects on the portion
ColorFormat()ColorFormatReturns a ColorFormat object representing the portion’s color settings
LineFormat()LineFormat
FillFormat()FillFormat
BasePortionFormat()
~BasePortionFormat()
font_bold()NullableBool
set_font_bold(value: NullableBool)
font_italic()NullableBool
set_font_italic(value: NullableBool)
kumimoji()NullableBool
set_kumimoji(value: NullableBool)
normalise_height()NullableBool
set_normalise_height(value: NullableBool)
proof_disabled()NullableBool
set_proof_disabled(value: NullableBool)
font_underline()TextUnderlineType
set_font_underline(value: TextUnderlineType)
text_cap_type()TextCapType
set_text_cap_type(value: TextCapType)
strikethrough_type()TextStrikethroughType
set_strikethrough_type(value: TextStrikethroughType)
is_hard_underline_line()NullableBool
set_is_hard_underline_line(value: NullableBool)
is_hard_underline_fill()NullableBool
set_is_hard_underline_fill(value: NullableBool)
font_height()double
set_font_height(value: double)
escapement()double
set_escapement(value: double)
kerning_minimal_size()double
set_kerning_minimal_size(value: double)
spacing()double
set_spacing(value: double)
latin_font()std::optional<FontData>
set_latin_font(value: std::optional<FontData>)
east_asian_font()std::optional<FontData>
set_east_asian_font(value: std::optional<FontData>)
complex_script_font()std::optional<FontData>
set_complex_script_font(value: std::optional<FontData>)
symbol_font()std::optional<FontData>
set_symbol_font(value: std::optional<FontData>)
language_id()std::optional<std::string>
set_language_id(value: std::optional<std::string>)
alternative_language_id()std::optional<std::string>
set_alternative_language_id(value: std::optional<std::string>)
spell_check()bool
set_spell_check(value: bool)
line_format()LineFormat
fill_format()FillFormat
effect_format()EffectFormat
highlight_color()ColorFormat
underline_line_format()LineFormat
underline_fill_format()FillFormat

See Also