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 declares 66 methods for 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.
Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Accessor methods: ColorFormat, EffectFormat, FillFormat, LineFormat, NullableBool, TextCapType, and 2 more.
Accessor Methods
| 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() | Calls BasePortionFormat on this BasePortionFormat instance. |
~BasePortionFormat() | Calls ~BasePortionFormat on this BasePortionFormat instance. |
font_bold() → NullableBool | Calls font_bold on this BasePortionFormat instance. |
set_font_bold(value: NullableBool) | Calls set_font_bold(value) on this BasePortionFormat instance. |
font_italic() → NullableBool | Calls font_italic on this BasePortionFormat instance. |
set_font_italic(value: NullableBool) | Calls set_font_italic(value) on this BasePortionFormat instance. |
kumimoji() → NullableBool | Calls kumimoji on this BasePortionFormat instance. |
set_kumimoji(value: NullableBool) | Calls set_kumimoji(value) on this BasePortionFormat instance. |
normalise_height() → NullableBool | Calls normalise_height on this BasePortionFormat instance. |
set_normalise_height(value: NullableBool) | Calls set_normalise_height(value) on this BasePortionFormat instance. |
proof_disabled() → NullableBool | Calls proof_disabled on this BasePortionFormat instance. |
set_proof_disabled(value: NullableBool) | Calls set_proof_disabled(value) on this BasePortionFormat instance. |
font_underline() → TextUnderlineType | Calls font_underline on this BasePortionFormat instance. |
set_font_underline(value: TextUnderlineType) | Calls set_font_underline(value) on this BasePortionFormat instance. |
text_cap_type() → TextCapType | Calls text_cap_type on this BasePortionFormat instance. |
set_text_cap_type(value: TextCapType) | Calls set_text_cap_type(value) on this BasePortionFormat instance. |
strikethrough_type() → TextStrikethroughType | Calls strikethrough_type on this BasePortionFormat instance. |
set_strikethrough_type(value: TextStrikethroughType) | Calls set_strikethrough_type(value) on this BasePortionFormat instance. |
is_hard_underline_line() → NullableBool | Calls is_hard_underline_line on this BasePortionFormat instance. |
set_is_hard_underline_line(value: NullableBool) | Calls set_is_hard_underline_line(value) on this BasePortionFormat instance. |
is_hard_underline_fill() → NullableBool | Calls is_hard_underline_fill on this BasePortionFormat instance. |
set_is_hard_underline_fill(value: NullableBool) | Calls set_is_hard_underline_fill(value) on this BasePortionFormat instance. |
font_height() → double | Calls font_height on this BasePortionFormat instance. |
set_font_height(value: double) | Calls set_font_height(value) on this BasePortionFormat instance. |
escapement() → double | Calls escapement on this BasePortionFormat instance. |
set_escapement(value: double) | Calls set_escapement(value) on this BasePortionFormat instance. |
kerning_minimal_size() → double | Calls kerning_minimal_size on this BasePortionFormat instance. |
set_kerning_minimal_size(value: double) | Calls set_kerning_minimal_size(value) on this BasePortionFormat instance. |
spacing() → double | Calls spacing on this BasePortionFormat instance. |
set_spacing(value: double) | Calls set_spacing(value) on this BasePortionFormat instance. |
latin_font() → std::optional<FontData> | Calls latin_font on this BasePortionFormat instance. |
set_latin_font(value: std::optional<FontData>) | Calls set_latin_font(value) on this BasePortionFormat instance. |
east_asian_font() → std::optional<FontData> | Calls east_asian_font on this BasePortionFormat instance. |
set_east_asian_font(value: std::optional<FontData>) | Calls set_east_asian_font(value) on this BasePortionFormat instance. |
complex_script_font() → std::optional<FontData> | Calls complex_script_font on this BasePortionFormat instance. |
set_complex_script_font(value: std::optional<FontData>) | Calls set_complex_script_font(value) on this BasePortionFormat instance. |
symbol_font() → std::optional<FontData> | Calls symbol_font on this BasePortionFormat instance. |
set_symbol_font(value: std::optional<FontData>) | Calls set_symbol_font(value) on this BasePortionFormat instance. |
language_id() → std::optional<std::string> | Calls language_id on this BasePortionFormat instance. |
set_language_id(value: std::optional<std::string>) | Calls set_language_id(value) on this BasePortionFormat instance. |
alternative_language_id() → std::optional<std::string> | Calls alternative_language_id on this BasePortionFormat instance. |
set_alternative_language_id(value: std::optional<std::string>) | Calls set_alternative_language_id(value) on this BasePortionFormat instance. |
spell_check() → bool | Calls spell_check on this BasePortionFormat instance. |
set_spell_check(value: bool) | Calls set_spell_check(value) on this BasePortionFormat instance. |
line_format() → LineFormat | Calls line_format on this BasePortionFormat instance. |
fill_format() → FillFormat | Calls fill_format on this BasePortionFormat instance. |
effect_format() → EffectFormat | Calls effect_format on this BasePortionFormat instance. |
highlight_color() → ColorFormat | Calls highlight_color on this BasePortionFormat instance. |
underline_line_format() → LineFormat | Calls underline_line_format on this BasePortionFormat instance. |
underline_fill_format() → FillFormat | Calls underline_fill_format on this BasePortionFormat instance. |