Re: ODF 1.2, xml:id attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fodt and odt are pretty much the same.. they differ only in their containers, and .fodt has extra stuff to turn non textual items (pictures, etc.) into ascii-fied datastreams in the long text document, instead of embedded files.


(hint to developers, I would really love that selecting "linking" turns this encoded text stream off, and keeps linking to the files instead of text encoded blocks of data in the files. There is zero usefulness in converting binary objects into text streams, and it really affects performance and file size.. The usefulness in fodt is about editability and tracking changes. There should at least be an option to keep the images out of the .fodt file.)




On Wed, Mar 4, 2020 at 12:23 PM Olivier Hallot <olivier.hallot@xxxxxxxxxxxxxxx> wrote:
Hi

Machine translation or any other usage of an uniquely identified
paragraph/heading/other in a document.

FWIW, I already discovered that if a <text:p> contains the xml:id
attribute, it survives save/load/conversion of fodt or odt.

Regards
Olivier


Em 04/03/2020 14:39, Michael H escreveu:
>> a roundtrip of translation of an odt / fodt
>
> Do you mean a converting an ODT into  FODT then returning to ODT? 
>
> OR 
>
> Do you mean machine translation of the words inside either an ODT or
> FODT from one human language to another,  then returning to the first? 
>
>
> On Wed, Mar 4, 2020 at 11:09 AM Olivier Hallot
> <olivier.hallot@xxxxxxxxxxxxxxx <mailto:olivier.hallot@xxxxxxxxxxxxxxx>>
> wrote:
>
>     HI Regina
>
>     I'm on very early stage of investigating a way to do a roundtrip of
>     translation of an odt / fodt by identifying each of its translatable
>     content. Borrowed the idea from the Help XHP and applying to a rich text
>     document.
>
>     Regards
>
>     Em 04/03/2020 10:38, Regina Henschel escreveu:
>     > Hi Olivier,
>     >
>     > what do you want to do with 'xml:id'? Its value is unique in a
>     document,
>     > but it need not be stable in the lifetime of a document.
>     >
>     > Kind regards
>     > Regina
>     >
>     > Olivier Hallot schrieb am 03-Mar-20 um 22:42:
>     >> Hi
>     >>
>     >> Is there a widget in the user interface or API to assign the
>     xml:id [1]
>     >> attribute to an object?
>     >>
>     >> for example, I'd like to add xml:id to every <txt:p> element in a
>     file.
>     >>
>     >>
>     >> [1] 19.914 xml:id
>     >> The xml:id attribute is standardized by the W3C [XML-ID] and gives an
>     >> element a unique identification in its XML file.
>     >>
>     >> Kind regards
>     >>
>     >
>     > _______________________________________________
>     > LibreOffice mailing list
>     > LibreOffice@xxxxxxxxxxxxxxxxxxxxx
>     <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
>     > https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>     --
>     Olivier Hallot
>     LibreOffice Documentation Coordinator
>     Comunidade LibreOffice
>     Rio de Janeiro - Brasil - Local Time: UTC-03:00
>     http://tdf.io/joinus
>     _______________________________________________
>     LibreOffice mailing list
>     LibreOffice@xxxxxxxxxxxxxxxxxxxxx
>     <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
>     https://lists.freedesktop.org/mailman/listinfo/libreoffice
>

--
Olivier Hallot
LibreOffice Documentation Coordinator
Comunidade LibreOffice
Rio de Janeiro - Brasil - Local Time: UTC-03:00
http://tdf.io/joinus
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux