[oXygen-user] Smart Pasting from Word

David Cramer david at thingbag.net
Tue Oct 25 21:01:21 CDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I also like how easy it is to customize. That's definitely worth
putting in the Oxygen docs, along with the tip to use the xhtml
framework's identity transform to find out what's being fed to the xslt.

David

On 10/25/2011 08:18 PM, Eliot Kimber wrote:
> So the conversion is just a transform and I can modify it? Super
> cool. Will have to look at that more carefully.
> 
> Cheers,
> 
> E.
> 
> On 10/23/11 3:42 AM, "George Cristian Bina" <george at oxygenxml.com>
> wrote:
> 
>> Hi Eliot,
>> 
>> I do not know if and how one can customize what Word puts in the
>> clipboard.
>> 
>> What you can try is to look at the XHTML code and see if you can
>> do something in the conversion from XHTML to DITA. To get the
>> XHTML content just create an XHTML document, switch to Author
>> mode and paste inside the body element - the default 
>> frameworks/xhtml/resources/xhtml2xhtml.xsl copies all the content
>> of the body element. If you find a specific pattern for this
>> content then you can handle that in the
>> frameworks/dita/resources/xhtml2dita.xsl to convert it to a
>> list.
>> 
>> Best Regards, George -- George Cristian Bina <oXygen/> XML
>> Editor, Schema Editor and XSLT Editor/Debugger 
>> http://www.oxygenxml.com
>> 
>> On 10/22/11 3:51 PM, Eliot Kimber wrote:
>>> I finally got a chance to try this feature--very nice.
>>> 
>>> However, in my case, I have text that uses List Number
>>> paragraphs but when pasted they come into Oxygen as<p>
>>> elements with literal numbers, not as ordered lists (this is
>>> with DITA as the target).
>>> 
>>> Is there a way to control this? I assume it's a function of how
>>> Word is constructing what it puts on the clipboard.
>>> 
>>> Cheers,
>>> 
>>> Eliot
>>> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOp2nvAAoJEMHeSXG7afUhXE8H/i5LKqnpIhfIi1+Tf+NixSTG
wSfKjzysmcWqtV4A/uvJSAztEVY6AMC5sGW4vzn5bAafQ55+GiJ/PmXJvvcKCFdp
lcLw6ZnPI5aHRcuwD4x2j8Q2ixkY3G3Y16VLc4pOKVbE4fhBGTeXDzf5uMqv/Mdc
HWxgm9jdA6ZjktblkVGfoY9lD363XelknBRy6B9UC0d6LXuS3EK+VLSWu3S2EH70
sZygN04Idj080+CtWaERmqMkWvuNmbPp3wgw6qKen6YDHYA7k4CwsmvCxI2SU9rO
lmqVfvnsfJ362+ODptXDWOhetg/xu3/opp046wRpr/PPxjugt+E0bNDmAOY8R74=
=eZA5
-----END PGP SIGNATURE-----


More information about the oXygen-user mailing list