Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Thorsten Behrens
Michael H wrote: > (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 [...]) > Patches welcome. ;) Cheers, -- Thorsten signature.asc Description: PGP signat

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Michael H
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" tu

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Olivier Hallot
Hi Machine translation or any other usage of an uniquely identified paragraph/heading/other in a document. FWIW, I already discovered that if a 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 roundtr

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Michael H
> 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

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Olivier Hallot
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 Olivie

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Regina Henschel
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] attribut

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Mike Kaganski
On 2020-03-04 13:33, Michael Stahl wrote: > if wiki maintenance weren't rocket surgery you could read about it on: > > https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/RDF_metadata https://web.archive.org/web/20130714180847/http://wiki.openoffice.org/wiki/Documentation/DevGuide/O

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Michael Stahl
On 04.03.20 09:38, Miklos Vajna wrote: Hi Olivier, On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot wrote: 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 element in a file. I think not; x

Re: ODF 1.2, xml:id attribute

2020-03-04 Thread Miklos Vajna
Hi Olivier, On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot wrote: > 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 element in a file. I think not; xml:id is maintained by e.g. sfx2::M

ODF 1.2, xml:id attribute

2020-03-03 Thread Olivier Hallot
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 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