Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - OpenDocument Compatibility
OpenDocument Compatibility
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development
View previous topic :: View next topic  
Author Message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed May 04, 2005 11:34 pm    Post subject: OpenDocument Compatibility Reply with quote

OK, after perusing the final OpenDocument spec, I believe the present NeoLight plugin is mostly compatible. Here's a list of what I see different:


    - Text is still in <text:p> elements.
    - Headers are in <text:h> elements. I should index these too into the text content element.
    - Still seems Calc docs store visible representations in text:p elements
    - Still appears draw:text-box is supported for draw docs, but I'm not sure if bullets in presentations are still using text box elements or if they changed
    - meta.xml format seems to be unchanged (dc:subject, dc:title, dc:description, meta:initial-creator, dc:creator)
    - meta:keywords seems to be gone; replaced by multiple meta:keyword elements?


Just a scratchpad. In general, it may need a few tweaks, but I think the way I'm doing it is general enough to continue to pull off the correct elements.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu May 05, 2005 12:54 am    Post subject: Re: OpenDocument Compatibility Reply with quote

OPENSTEP wrote:

    - Still appears draw:text-box is supported for draw docs, but I'm not sure if bullets in presentations are still using text box elements or if they changed
    - meta:keywords seems to be gone; replaced by multiple meta:keyword elements?


http://homepage.mac.com/sardisson/neoj/sample.ppt.odp

This is the sample.ppt presentation reworked as and OpenDocument presentation. Not reworked nicely, of course, because I can't stand to use OOo without the cmd-keys, and that's still missing from m91... But you've got your bullets, some Japanese, and some extended-Roman chars....

"Description" has title, subject, keywords, comments, and then there are 4 user-defined fields, each can be given a custom name as well as content.

I've given the 4 the labels Copyright, Trademark, GPL, and Open in this document and filled them with Patrick Luby, Edward Peterlin, Yes, and Yes.

"Regular" keywords field content is "NeoOffice, sample, presentation"

Hope this helps, since I'm not on 10.4 and probably won't be for a long while yet.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu May 05, 2005 9:50 pm    Post subject: Reply with quote

FWIW, the existing code should handle text:h elements. For writer documents I'm explicitly searching only for text: prefixes, not an explicit p or w suffix. I'm only doing that in draw/impress docs. Offhand, I'd think that the present dumb code should be able to handle both OOo 1.x and OpenDocument files without modification.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu May 05, 2005 9:54 pm    Post subject: Re: OpenDocument Compatibility Reply with quote

sardisson wrote:
This is the sample.ppt presentation reworked as and OpenDocument presentation.


Intriguing. Safari RSS automatically decompressed it as a zip archive even though it doesn't have a zip extenstion. Interesting.

But yes, that document does have multiple keywords that aren't enclosed in a <meta:keywords> tag...they're all in multiple <meta:keyword> singular tags. Will need to update the plugin to deal with that.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu May 05, 2005 10:44 pm    Post subject: Re: OpenDocument Compatibility Reply with quote

OPENSTEP wrote:
sardisson wrote:
This is the sample.ppt presentation reworked as and OpenDocument presentation.


Intriguing. Safari RSS automatically decompressed it as a zip archive even though it doesn't have a zip extenstion. Interesting.


Apple's pretty dumb about setting MIME types on homepage.mac.com; they don't even set the right MIME types for their own filetypes, like .icns. (Edit: no, it's getting sent as application/octet-stream, which while not the application/vnd.oasis.OpenDocument.presentation, is a least an appropriate generic and not application/zip or whatever.)

Safari must be doing some *bad* content-sniffing (bad compass, bad), or StuffIt expander is being overly energetic (and also doing content-sniffing). FWIW, Safari 1.3 (with "automatically open safe files" off) just saved it to disk and didn't open or decompress it.

Anyway....

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.02 Seconds