Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


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: users+unsubscribe@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.