![]() | InDesign SDK 20.5 |
Public Member Functions | |
| ErrorCode | CreateTableStyleFromSelection (ISnpRunnableContext *runnableContext, const InterfacePtr< ITableStyleSuite >tableStyleSuite) |
| ErrorCode | ModifyTableStyle (ISnpRunnableContext *runnableContext) |
| ErrorCode | ApplyTableStyleToSelection (ISnpRunnableContext *runnableContext, ITableStyleSuite *tableStyleSuite) |
| ErrorCode | DeleteTableStyle (ISnpRunnableContext *iSnpRunnableContext) |
| ErrorCode | CreateCellStyleFromSelection (ISnpRunnableContext *runnableContext, const InterfacePtr< ICellStyleSuite >cellStyleSuite) |
| ErrorCode | ModifyCellStyle (ISnpRunnableContext *runnableContext) |
| ErrorCode | ApplyCellStyleToSelection (ISnpRunnableContext *runnableContext, ICellStyleSuite *cellStyleSuite) |
| ErrorCode | DeleteCellStyle (ISnpRunnableContext *iSnpRunnableContext) |
| ErrorCode | SetRegionalStyle (ISnpRunnableContext *iSnpRunnableContext) |
| ErrorCode | GetRegionalStyle (ISnpRunnableContext *iSnpRunnableContext) |
Sample code snippet that shows how to Create, delete, apply, and modify a cell and table styles Get/Set Regional cell styles in Tables Style
| ErrorCode SnpManipulateTableAndCellStyle::ApplyCellStyleToSelection | ( | ISnpRunnableContext * | runnableContext, |
| ICellStyleSuite * | cellStyleSuite | ||
| ) |
Apply selected cell style to current selection.
| runnableContext | IN our active context |
| cellStyleSuite | IN cell style selection suite. |
| ErrorCode SnpManipulateTableAndCellStyle::ApplyTableStyleToSelection | ( | ISnpRunnableContext * | runnableContext, |
| ITableStyleSuite * | tableStyleSuite | ||
| ) |
Apply selected table style to current selection.
| runnableContext | IN our active context |
| tableStyleSuite | IN table style selection suite. |
| ErrorCode SnpManipulateTableAndCellStyle::CreateCellStyleFromSelection | ( | ISnpRunnableContext * | runnableContext, |
| const InterfacePtr< ICellStyleSuite > | cellStyleSuite | ||
| ) |
Creates a new cell style based on the current selection.
| runnableContext | IN our active context |
| cellStyleSuite | IN cell style selection suite. |
| ErrorCode SnpManipulateTableAndCellStyle::CreateTableStyleFromSelection | ( | ISnpRunnableContext * | runnableContext, |
| const InterfacePtr< ITableStyleSuite > | tableStyleSuite | ||
| ) |
Creates a new table style based on the current selection.
| runnableContext | IN our active context |
| tableStyleSuite | IN table style selection suite. |
| ErrorCode SnpManipulateTableAndCellStyle::DeleteCellStyle | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Delete a style.
| iSnpRunnableContext | IN our active context |
| ErrorCode SnpManipulateTableAndCellStyle::DeleteTableStyle | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Delete a style.
| iSnpRunnableContext | IN our active context |
| ErrorCode SnpManipulateTableAndCellStyle::GetRegionalStyle | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Get regional cell style.
| iSnpRunnableContext | IN our active context |
| ErrorCode SnpManipulateTableAndCellStyle::ModifyCellStyle | ( | ISnpRunnableContext * | runnableContext | ) |
Modify cell style based on the selection.
| runnableContext | IN our active context |
| ErrorCode SnpManipulateTableAndCellStyle::ModifyTableStyle | ( | ISnpRunnableContext * | runnableContext | ) |
Modify table style based on the selection.
| runnableContext | IN our active context |
| ErrorCode SnpManipulateTableAndCellStyle::SetRegionalStyle | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Set regional cell style.
| iSnpRunnableContext | IN our active context |