Implementing Smart Paste for my own document type
Posted: Wed Sep 11, 2013 8:25 am
Hi guys,
I have my own document type (based on an XSD schema); the schema includes html-style formatting tags for lists, bold, italics, paragraphs and such.
I'd like to implement smart paste so that docs from Word can retain this kind of formatting, but I'm not clear on whether I need to implement AuthorSchemaAwareEditingHandlerAdapter, or if there is a non-Java way of doing that? Maybe tweaks in the schema to allow the existing smart paste implementation to work?
Any lead / example / code sample welcome.
Thanks a lot,
Yannick
I have my own document type (based on an XSD schema); the schema includes html-style formatting tags for lists, bold, italics, paragraphs and such.
I'd like to implement smart paste so that docs from Word can retain this kind of formatting, but I'm not clear on whether I need to implement AuthorSchemaAwareEditingHandlerAdapter, or if there is a non-Java way of doing that? Maybe tweaks in the schema to allow the existing smart paste implementation to work?
Any lead / example / code sample welcome.
Thanks a lot,
Yannick