TableCatView.getTableStyleListBox

Syntax

getTableStyleListBox(): PP.Ui.ListBox;

Description

The getTableStyleListBox method returns a list of styles on the Table:Constructor tool ribbon tab.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).

//Get an instance of the PP.Exp.Ui.TableCategory class
eRib = expressBox.getRibbonView();
ribbon = eRib.getControl();
cat = ribbon.getCategories();
group = cat.getItem(cat.getCount() - 1);
tableCat = group.getCategories(True)[0];
// Get a list of styles
tableCat.getTableStyleListBox();
// -> [PP.Ui.ListBox]

After executing the example a list of table styles is obtained.

See also:

TableCatView