getTableStyleListBox(): PP.Ui.ListBox;
The getTableStyleListBox method returns a list of styles on the Table:Constructor tool ribbon tab.
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: