Hi Tom, I am using intensively shell scripts for example to look up printing dates in a large number of files. With a few lines of code (and with sed an unzip) one can quickly extract the information from .odt files due to the well defined format. Yours W. K. orAm Donnerstag, 20. November 2014 schrieb Tom Davies:
Hi :) Interesting lack of links to any documentation there. Also i still think that most people are going to find full words and widely used abbreviations MUCH easier to read than clever 1-4 letter abbreviations that are pretty much unique to the context. We are obviously going to carry on disagreeing on that. With the Rtf file it was almost impossible to spot where&what the actual contents was. With Xml the coding tags are clearly defined and limited. It's much easier to extract the actual words-on-the-page - even for a human without the benefit of so much as a simple text-editor's colour-coding. Also ODF 1.0/1.1 has been an established ISO format since 2006. Tons of programs are able to implement it as per that ISO specification and set that as a default. Rtf never quite got that far. Almost all of it's implementations are quite different from each other. It's never been much of a "standard". You can grumble that it's everyone else's fault as much as you like but that doesn't improve the implementation in anything. You never quite know what to expect when opening an Rtf in any program other than whatever it was written with. Regards from Tom :) On 20 November 2014 09:57, Urmas <davian818@gmail.com> wrote:"Cley Faye": http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415854_253892949So, somehow arbitrary BASE64-encoded data are fine in ODF yet an obstacle in RTF? http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1417966_253892949It is not documented there: it says it can be an arbitrary string with no effect defined. "\cf0\kerning1\dbch\af6\langfe2052\dbch\af7\afs24\alang1081\loch\f4\fs24\lang1036"\cfN Foreground color (default is 0). N specifies the color as an index of the color table. \kerningN Point size (in half-points) above which to kern character pairs. \kerning0 turns off kerning. \dbch The text consists of double-byte characters. etc. RTF was changed on numerous occasion in non-retrocompatible ways, examples? accross several MS tools (namely MS Word and Wordpad) you getcompletely different results for the same fileDifferent features supported give different results. Yet Arial 10pt red will stay Arial 10pt red everywhere, so the format definitely works. A RTF file is less "human-readable" than the content.xml file in an ODT XML isn't more readable than RTF. -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to- unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
-- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted