TLF e tabelas

0 views
Skip to first unread message

Hugo Ferreira

unread,
Dec 13, 2017, 8:50:06 PM12/13/17
to ri...@googlegroups.com
Boa noite,

Já só me falta implementar tabelas no meu editor.
Na vaga excetativa de alguém já ter usado, enfrentou problemas ?

Caso de uso mais pequeno possível:
(textFlow.interactionManager as IEditManager).insertTableElement(new TableElement());

Erro:
ArgumentError: NewElement not of a type that this can be parent of. TextFlow cannot own table
at flashx.textLayout.elements::FlowGroupElement/replaceChildren()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:776]
at flashx.textLayout.elements::FlowGroupElement/addChildAt()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:906]
at AddElementMemento$/perform()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:589]
at flashx.textLayout.edit::ModelEdit$/addElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:57]
at flashx.textLayout.operations::InsertTableElementOperation/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\operations\InsertTableElementOperation.as:107]
at flashx.textLayout.edit::EditManager/doInternal()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:772]
at flashx.textLayout.edit::EditManager/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:652]
at flashx.textLayout.edit::EditManager/insertTableElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:1571]

Reply all
Reply to author
Forward
0 new messages