Interface InsertTableOperationBase
- All Known Implementing Classes:
InsertTableOperation
,InsertTableOperation
,InsertTableOperation
,InsertTableOperation
,InsertTableOperation
@API(type=INTERNAL,
src=PUBLIC)
public interface InsertTableOperationBase
Base for insert Author table operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
insertTable
(AuthorDocumentFragment[] fragments, boolean cellsFragments, AuthorAccess authorAccess, String namespace, AuthorTableHelper tableHelper, TableInfo tableInfo) If the fragments array is not null, this method converts the given fragments array into a table.
-
Method Details
-
insertTable
void insertTable(AuthorDocumentFragment[] fragments, boolean cellsFragments, AuthorAccess authorAccess, String namespace, AuthorTableHelper tableHelper, TableInfo tableInfo) throws AuthorOperationException If the fragments array is not null, this method converts the given fragments array into a table. Each fragments will correspond to a cell. The resulting table will have one column and as many rows as fragments length. If no fragment is provided an empty table is inserted (a dialog is shown to choose all the table properties)- Parameters:
fragments
- An array of AuthorDocumentFragments that are used as content of the inserted cells.cellsFragments
- If the value istrue
then the fragments where originally cells.authorAccess
- The author access.namespace
- The namespace.tableHelper
- The table helper.tableInfo
- The details about table creation. If null, a dialog is presented to let the user choose the details.- Throws:
AuthorOperationException
-