Represents a table style.
Shows how to create custom style settings for the table.
#include <Aspose.Words.Cpp/TableStyle.h>
Public Member Functions | |
TableAlignment | get_Alignment () |
Specifies the alignment for the table style. More... | |
bool | get_AllowBreakAcrossPages () |
Gets or sets a flag indicating whether text in a table row is allowed to split across a page break. More... | |
bool | get_Bidi () |
Gets or sets whether this is a style for a right-to-left table. More... | |
SharedPtr< BorderCollection > | get_Borders () |
Gets the collection of default cell borders for the style. More... | |
double | get_BottomPadding () |
Gets or sets the amount of space (in points) to add below the contents of table cells. More... | |
double | get_CellSpacing () |
Gets or sets the amount of space (in points) between the cells. More... | |
int32_t | get_ColumnStripe () |
Gets or sets a number of columns to include in the banding when the style specifies odd/even columns banding. More... | |
SharedPtr< ConditionalStyleCollection > | get_ConditionalStyles () |
Collection of conditional styles that may be defined for this table style. More... | |
double | get_LeftIndent () |
Gets or sets the value that represents the left indent of a table. More... | |
double | get_LeftPadding () |
Gets or sets the amount of space (in points) to add to the left of the contents of table cells. More... | |
double | get_RightPadding () |
Gets or sets the amount of space (in points) to add to the right of the contents of table cells. More... | |
int32_t | get_RowStripe () |
Gets or sets a number of rows to include in the banding when the style specifies odd/even row banding. More... | |
SharedPtr< Shading > | get_Shading () |
Gets a Shading object that refers to the shading formatting for table cells. More... | |
double | get_TopPadding () |
Gets or sets the amount of space (in points) to add above the contents of table cells. More... | |
CellVerticalAlignment | get_VerticalAlignment () |
Specifies the vertical alignment for the cells. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_Alignment (TableAlignment value) |
Setter for get_Alignment. More... | |
void | set_AllowBreakAcrossPages (bool value) |
Setter for get_AllowBreakAcrossPages. More... | |
void | set_Bidi (bool value) |
Setter for get_Bidi. More... | |
void | set_BottomPadding (double value) |
Setter for get_BottomPadding. More... | |
void | set_CellSpacing (double value) |
Setter for get_CellSpacing. More... | |
void | set_ColumnStripe (int32_t value) |
Setter for get_ColumnStripe. More... | |
void | set_LeftIndent (double value) |
Setter for get_LeftIndent. More... | |
void | set_LeftPadding (double value) |
Setter for get_LeftPadding. More... | |
void | set_RightPadding (double value) |
Setter for get_RightPadding. More... | |
void | set_RowStripe (int32_t value) |
Setter for get_RowStripe. More... | |
void | set_TopPadding (double value) |
Setter for get_TopPadding. More... | |
void | set_VerticalAlignment (CellVerticalAlignment value) |
Setter for get_VerticalAlignment. More... | |
![]() | |
bool | Equals (SharedPtr< Style > style) |
Compares with the specified style. Styles Istds are compared for built-in styles only. Styles defaults are not included in comparison. Base style, linked style and next paragraph style are recursively compared. More... | |
ArrayPtr< String > | get_Aliases () |
Gets all aliases of this style. If style has no aliases then empty array of string is returned. More... | |
String | get_BaseStyleName () |
Gets/sets the name of the style this style is based on. More... | |
bool | get_BuiltIn () |
True if this style is one of the built-in styles in MS Word. More... | |
SharedPtr< DocumentBase > | get_Document () |
Gets the owner document. More... | |
SharedPtr< Font > | get_Font () |
Gets the character formatting of the style. More... | |
bool | get_IsHeading () |
True when the style is one of the built-in Heading styles. More... | |
bool | get_IsQuickStyle () const |
Specifies whether this style is shown in the Quick Style gallery inside MS Word UI. More... | |
String | get_LinkedStyleName () |
Gets the name of the Style linked to this one. Returns Empty string if no styles are linked. More... | |
SharedPtr< List > | get_List () |
Gets the list that defines formatting of this list style. More... | |
SharedPtr< ListFormat > | get_ListFormat () |
Provides access to the list formatting properties of a paragraph style. More... | |
String | get_Name () const |
Gets or sets the name of the style. More... | |
String | get_NextParagraphStyleName () |
Gets/sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. More... | |
SharedPtr< ParagraphFormat > | get_ParagraphFormat () |
Gets the paragraph formatting of the style. More... | |
StyleIdentifier | get_StyleIdentifier () const |
Gets the locale independent style identifier for a built-in style. More... | |
SharedPtr< StyleCollection > | get_Styles () const |
Gets the collection of styles this style belongs to. More... | |
StyleType | get_Type () const |
Gets the style type (paragraph or character). More... | |
void | Remove () |
Removes the specified style from the document. More... | |
void | set_BaseStyleName (String value) |
Setter for get_BaseStyleName. More... | |
void | set_IsQuickStyle (bool value) |
Setter for get_IsQuickStyle. More... | |
void | set_Name (String value) |
Setter for get_Name. More... | |
void | set_NextParagraphStyleName (String value) |
Setter for get_NextParagraphStyleName. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
![]() | |
static const TypeInfo & | Type () |
Aspose::Words::Tables::TableAlignment Aspose::Words::TableStyle::get_Alignment | ( | ) |
Specifies the alignment for the table style.
Shows how to set the position of a table.
bool Aspose::Words::TableStyle::get_AllowBreakAcrossPages | ( | ) |
Gets or sets a flag indicating whether text in a table row is allowed to split across a page break.
Shows how to create custom style settings for the table.
bool Aspose::Words::TableStyle::get_Bidi | ( | ) |
Gets or sets whether this is a style for a right-to-left table.
When true, the cells in rows are laid out right to left.
The default value is false.
Shows how to create custom style settings for the table.
System::SharedPtr<Aspose::Words::BorderCollection> Aspose::Words::TableStyle::get_Borders | ( | ) |
Gets the collection of default cell borders for the style.
Shows how to create custom style settings for the table.
double Aspose::Words::TableStyle::get_BottomPadding | ( | ) |
Gets or sets the amount of space (in points) to add below the contents of table cells.
Shows how to create custom style settings for the table.
double Aspose::Words::TableStyle::get_CellSpacing | ( | ) |
Gets or sets the amount of space (in points) between the cells.
Shows how to create custom style settings for the table.
int32_t Aspose::Words::TableStyle::get_ColumnStripe | ( | ) |
Gets or sets a number of columns to include in the banding when the style specifies odd/even columns banding.
Shows how to create conditional table styles that alternate between rows.
System::SharedPtr<Aspose::Words::ConditionalStyleCollection> Aspose::Words::TableStyle::get_ConditionalStyles | ( | ) |
Collection of conditional styles that may be defined for this table style.
Shows how to work with certain area styles of a table.
double Aspose::Words::TableStyle::get_LeftIndent | ( | ) |
Gets or sets the value that represents the left indent of a table.
Shows how to set the position of a table.
double Aspose::Words::TableStyle::get_LeftPadding | ( | ) |
Gets or sets the amount of space (in points) to add to the left of the contents of table cells.
Shows how to create custom style settings for the table.
double Aspose::Words::TableStyle::get_RightPadding | ( | ) |
Gets or sets the amount of space (in points) to add to the right of the contents of table cells.
Shows how to create custom style settings for the table.
int32_t Aspose::Words::TableStyle::get_RowStripe | ( | ) |
Gets or sets a number of rows to include in the banding when the style specifies odd/even row banding.
Shows how to create conditional table styles that alternate between rows.
System::SharedPtr<Aspose::Words::Shading> Aspose::Words::TableStyle::get_Shading | ( | ) |
Gets a Shading object that refers to the shading formatting for table cells.
Shows how to create custom style settings for the table.
double Aspose::Words::TableStyle::get_TopPadding | ( | ) |
Gets or sets the amount of space (in points) to add above the contents of table cells.
Shows how to create custom style settings for the table.
Aspose::Words::Tables::CellVerticalAlignment Aspose::Words::TableStyle::get_VerticalAlignment | ( | ) |
Specifies the vertical alignment for the cells.
Shows how to create custom style settings for the table.
|
overridevirtual |
Reimplemented from Aspose::Words::Style.
|
overridevirtual |
Reimplemented from Aspose::Words::Style.
void Aspose::Words::TableStyle::set_Alignment | ( | Aspose::Words::Tables::TableAlignment | value | ) |
Setter for Aspose::Words::TableStyle::get_Alignment.
void Aspose::Words::TableStyle::set_AllowBreakAcrossPages | ( | bool | value | ) |
void Aspose::Words::TableStyle::set_Bidi | ( | bool | value | ) |
Setter for Aspose::Words::TableStyle::get_Bidi.
void Aspose::Words::TableStyle::set_BottomPadding | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_BottomPadding.
void Aspose::Words::TableStyle::set_CellSpacing | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_CellSpacing.
void Aspose::Words::TableStyle::set_ColumnStripe | ( | int32_t | value | ) |
Setter for Aspose::Words::TableStyle::get_ColumnStripe.
void Aspose::Words::TableStyle::set_LeftIndent | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_LeftIndent.
void Aspose::Words::TableStyle::set_LeftPadding | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_LeftPadding.
void Aspose::Words::TableStyle::set_RightPadding | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_RightPadding.
void Aspose::Words::TableStyle::set_RowStripe | ( | int32_t | value | ) |
Setter for Aspose::Words::TableStyle::get_RowStripe.
void Aspose::Words::TableStyle::set_TopPadding | ( | double | value | ) |
Setter for Aspose::Words::TableStyle::get_TopPadding.
void Aspose::Words::TableStyle::set_VerticalAlignment | ( | Aspose::Words::Tables::CellVerticalAlignment | value | ) |
Setter for Aspose::Words::TableStyle::get_VerticalAlignment.
|
static |