Brian,
On 2020-07-21 22:21, Brian Barker wrote:
At 01:16 21/07/2020 -0400, John Kaufmann wrote:
You sent me to do something I should have done before asking the question: examine a hex dump of an ODT
content.xml file. I see what you mean about "no codes": A paragraph is just a text string between
XML bounds <text:p ...> and </text:p>, and a line break (inside the paragraph bounds) is just
<text:line-break/>.
Actually, I don't think they are even that: those are just how they are represented in Open
Document Format. Remember that documents files can be saved from LibreOffice is other formats too.
I think what you have in the editing window at the end of a paragraph is defined not by how it will
be represented in any saved file but by its properties in the window - in other words, what you can
do with it and how you do it. And the answer to that is simply a "paragraph break" and a
"line break".
You are right, of course: one of those "other formats" is plain text, which gets us back to
the <CR><LF> ASCII codes, which is where we came into this discussion. I agree with your
paradigm -- that a paragraph (or tab, or other construct) is what you see in the word processor, not
the representation of that construct in any particular file format -- but I'm just stuck expressing
myself in a former paradigm.
This may take time. :-)
Thanks,
John
--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy