
Hi, Is it possible to suppress CR when I copy a text from Xpress or from a pdf file in a xml structure? I use Author version 10.2 on Mac OS X. Best Regards, _______________________________________ Isabelle Rogie Database Chief project Wolters Kluwer France

Hello, When you paste a text in an XML document edited in Author mode the Enter characters are removed. Do you edit the XML Document in Text mode and there are Enter characters added in the pasted text? When you paste an XML fragment in Text mode it is indented according to the indentation of the parent element of the insertion point. If you want to avoid indenting it you have to disable the option Indent on paste available from menu Options -> Preferences -> Editor -> Format -> XML. If you have a different case please post an example. Regards, Sorin Rogie Isabelle wrote:
Hi,
Is it possible to suppress CR when I copy a text from Xpress or from a pdf file in a xml structure?
I use Author version 10.2 on Mac OS X.
Best Regards,
_______________________________________
**Isabelle Rogie**
Database Chief project
Wolters Kluwer France

Hello, When I paste a text in the Author mode and return in the text mode, I see different lines. When I directly paste in the Text mode (and after change the option in menu Options -> Preferences -> Editor -> Format -> XML), the text appears on one line. Is it possible to have the same result in the both mode? Cordialement, Isabelle Rogie -----Message d'origine----- De : oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] De la part de Sorin Ristache Envoyé : mercredi 27 mai 2009 10:20 À : oxygen-user@oxygenxml.com Objet : Re: [oXygen-user] Author : copy/past Hello, When you paste a text in an XML document edited in Author mode the Enter characters are removed. Do you edit the XML Document in Text mode and there are Enter characters added in the pasted text? When you paste an XML fragment in Text mode it is indented according to the indentation of the parent element of the insertion point. If you want to avoid indenting it you have to disable the option Indent on paste available from menu Options -> Preferences -> Editor -> Format -> XML. If you have a different case please post an example. Regards, Sorin Rogie Isabelle wrote:
Hi,
Is it possible to suppress CR when I copy a text from Xpress or from a pdf file in a xml structure?
I use Author version 10.2 on Mac OS X.
Best Regards,
_______________________________________
**Isabelle Rogie**
Database Chief project
Wolters Kluwer France
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, It is not possible to have always the same whitespaces in Text mode after switching from Author mode to Text mode. For inline elements (the elements with display:inline in the CSS that drives the Author version of the document) the whitespaces are preserved but for block elements (the elements with display:block) the whitespaces are not preserved. The whole process is more complicated but mainly in the Author document model the whitespace only text nodes are stripped from the parent of a block element because a block element is always rendered as a separate block. If you need consistent formatting for your XML documents you can set the pretty-print options to the desired set of values in Preferences -> Editor -> Format and Preferences -> Editor -> Format -> XML and apply the action Format and Indent to all your XML documents in Text mode before saving them. The save action of Author mode applies the same formatting algorithm to the edited XML document. Regards, Sorin Rogie Isabelle wrote:
Hello,
When I paste a text in the Author mode and return in the text mode, I see different lines. When I directly paste in the Text mode (and after change the option in menu Options -> Preferences -> Editor -> Format -> XML), the text appears on one line. Is it possible to have the same result in the both mode?
Cordialement,
Isabelle Rogie -----Message d'origine----- De : oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] De la part de Sorin Ristache Envoyé : mercredi 27 mai 2009 10:20 À : oxygen-user@oxygenxml.com Objet : Re: [oXygen-user] Author : copy/past
Hello,
When you paste a text in an XML document edited in Author mode the Enter characters are removed. Do you edit the XML Document in Text mode and there are Enter characters added in the pasted text? When you paste an XML fragment in Text mode it is indented according to the indentation of the parent element of the insertion point. If you want to avoid indenting it you have to disable the option Indent on paste available from menu Options -> Preferences -> Editor -> Format -> XML.
If you have a different case please post an example.
Regards, Sorin
Rogie Isabelle wrote:
Hi,
Is it possible to suppress CR when I copy a text from Xpress or from a pdf file in a xml structure?
I use Author version 10.2 on Mac OS X.
Best Regards,
_______________________________________
**Isabelle Rogie**
Database Chief project
Wolters Kluwer France
participants (2)
-
Rogie Isabelle
-
Sorin Ristache