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
| Name | Type | Access | Description |
|---|---|---|---|
NullableBool | NullableBool | Read | Gets the nullable bool. |
TextUnderlineType | TextUnderlineType | Read | Gets the text underline type. |
TextCapType | TextCapType | Read | Gets the text cap type. |
TextStrikethroughType | TextStrikethroughType | Read | Gets the text strikethrough type. |
LineFormat | LineFormat | Read | Gets the line format. |
FillFormat | FillFormat | Read | Gets the fill format. |
EffectFormat | EffectFormat | Read | Gets the effect format. |
ColorFormat | ColorFormat | Read | Gets the color format. |
Methods
| Signature | Description |
|---|---|
NullableBool() → NullableBool | Property provides a NullableBool representing the portion’s boolean attribute |
NullableBool() → NullableBool | |
NullableBool() → NullableBool | |
NullableBool() → NullableBool | |
NullableBool() → NullableBool | |
TextUnderlineType() → TextUnderlineType | Returns a TextUnderlineType enum describing the underline style |
TextCapType() → TextCapType | Returns a TextCapType enum describing the capitalization style |
TextStrikethroughType() → TextStrikethroughType | Returns a TextStrikethroughType enum describing the strikethrough style |
NullableBool() → NullableBool | |
NullableBool() → NullableBool | |
LineFormat() → LineFormat | Property provides a LineFormat object for configuring the portion’s line style |
FillFormat() → FillFormat | Returns a FillFormat object defining the portion’s fill styling |
EffectFormat() → EffectFormat | Property provides an EffectFormat object for configuring visual effects on the portion |
ColorFormat() → ColorFormat | Returns 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 |