Copy paste Microsoft words to docbook xml
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Wed Nov 16, 2016 6:45 am
Copy paste Microsoft words to docbook xml
Hi,
I am using the XML Editor, copying Microsoft words content to docbook xml using Author interface.
The text color and images are not pull over.
Is there any way to achieve this?
Thank you.
I am using the XML Editor, copying Microsoft words content to docbook xml using Author interface.
The text color and images are not pull over.
Is there any way to achieve this?
Thank you.
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Copy paste Microsoft words to docbook xml
Post by alex_jitianu »
Hello,
The Smart Paste support is configurable. Underneath the scenes there is an XSLT that converts the HTML flavor put into clipboard into the specific format. In case of DocBook, this file is. So what you should do is:
1. First decide if the information you want (text color and images) is present inside the HTML content put by Word into the Clipboard when content is copied. A clipboard inspector can do that.
2. Secondly, if that information is there you can change xhtml2db5Driver.xsl so that it converts it into DocBook.
If you can send us a sample file on support@oxygenxml.com then we can also take a look at it (perhaps is something that we should handle by default). Together with the sample file please tell us what version of Microsoft Word (or what other word processor ) you are using and what section we should copy for testing.
Best regards,
Alex
The Smart Paste support is configurable. Underneath the scenes there is an XSLT that converts the HTML flavor put into clipboard into the specific format. In case of DocBook, this file is
Code: Select all
{oxygenInstallDir}/frameworks/docbook/resources/xhtml2db5Driver.xsl
1. First decide if the information you want (text color and images) is present inside the HTML content put by Word into the Clipboard when content is copied. A clipboard inspector can do that.
2. Secondly, if that information is there you can change xhtml2db5Driver.xsl so that it converts it into DocBook.
If you can send us a sample file on support@oxygenxml.com then we can also take a look at it (perhaps is something that we should handle by default). Together with the sample file please tell us what version of Microsoft Word (or what other word processor ) you are using and what section we should copy for testing.
Best regards,
Alex
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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