Smart paste
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Smart paste
Hi,
how can I adapt the smart paste function (copy & paste from MS Word and replacing elements at once) from the TEI P5 documenttype association in my own framework? I've already done this, but unfortunately I don't remember how...
Thx,
Stefan
how can I adapt the smart paste function (copy & paste from MS Word and replacing elements at once) from the TEI P5 documenttype association in my own framework? I've already done this, but unfortunately I don't remember how...
Thx,
Stefan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Smart paste
Post by sorin_ristache »
Hi,
Do you have a customized version of the TEI P5 framework? If yes you should just make sure you include in your framework the tei.jar file and the resources subdirectory from the [Oxygen-install-dir]\frameworks\tei directory. I think that should be all you need to "import" the smart paste feature from TEI P5 to your framework.
If you want to change some XML element or attribute names created by the Paste action in the XML document then you can customize that in your copy of the stylesheet [Oxygen-install-dir]\frameworks\tei\resources\xhtml2tei5.xsl.
Regards,
Sorin
Do you have a customized version of the TEI P5 framework? If yes you should just make sure you include in your framework the tei.jar file and the resources subdirectory from the [Oxygen-install-dir]\frameworks\tei directory. I think that should be all you need to "import" the smart paste feature from TEI P5 to your framework.
If you want to change some XML element or attribute names created by the Paste action in the XML document then you can customize that in your copy of the stylesheet [Oxygen-install-dir]\frameworks\tei\resources\xhtml2tei5.xsl.
Regards,
Sorin
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Re: Smart paste
Hi Sorin,
thanks for your hint - that helped! For the record and perhaps other users: it is also necessary to include the TEIP5ExtensionsBundle from tei.jar in the oxygen framework definition under Extensions > Extensions Bundle. After this you can use the smart paste function in your own framework.
Greets,
Stefan
thanks for your hint - that helped! For the record and perhaps other users: it is also necessary to include the TEIP5ExtensionsBundle from tei.jar in the oxygen framework definition under Extensions > Extensions Bundle. After this you can use the smart paste function in your own framework.
Greets,
Stefan
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service