hi Arnaud,

please see my reply to your other, private mail :)

for the record:
there is partial support for ODF 1.2 metadata in writer in OOo 3.2.
i'll write more about that on the API list once i've written some more
documentation.

On 01/02/2010 16:59, Malguy Arnaud wrote:
> Hi,
> 
>  
> 
> For my current professional project, I want to use the metadata support
> introduced in ODT 1.2.
> 
> I read a lot about it (the presentation "The new ODF 1.2 Metadata
> Framework", the last version of the "Metadata Examples" document (of Oct
> 22, 2009), other related documents)  and I get the RDF API from the SDK.
> 
> I've downloaded the last version of OOO 3.2 (rc4) and try to create, by
> hand, an ODT document with metadata. I put an xml:id on a text:p
> element, create an rdf file, put it in the package, update the
> manifest.rdf.
> 
> But if I load this file in OOO, update it a bit and save it, my
> metadatas (attribute xml:id, custom rdf file) are lost. I don't know
> well the RDF then I'm not sure my custom rdf file follow the rules. But
> I know very well XML. I don't know if I have to update the manifest.xml
> or if I make mistakes on other points.
> 
> In conclusion I can not know if the rdf-metadata are supported in OOO
> 3.2 or not, or if I made mistakes in creating my ODT document.
> 
>  
> 
> If someone can help me ? Could you please tell me if rdf metadata are
> really supported in OOO 3.2 rc4 and if yes could you give me a sample
> ODT document that works, for example, simple metadata on a paragraph
> (with @xml:id on text:p and the corresponding rdf  metadata) ? I really
> need a file that works, its always easier to begin with an example. Do
> you have also sample of code (basic or java) which hold metadata with
> the RDF API (adds metadata on elements, read metadata, ...) ?
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Arnaud Malguy


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to