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

Re: OT: Is .RTF an Open Standard?



On Thu, Mar 28, 2002 at 11:59:29AM -0600, Ron Johnson wrote:
> On Wed, 2002-03-27 at 22:12, Dave Thayer wrote:
> > On Wed, Mar 27, 2002 at 05:26:01PM -0600, Ron Johnson wrote:
> > > On Tue, 2002-03-26 at 21:50, dave mallery wrote:
> > [...]
> > > > i havent seen anyone mention XML.  both star and open office now use it.
> > > > it is open by default.
> > > 
> > > AbiWord uses XML, and all the data is "encoded" in text, whereas 
> > > OO/SO stores it's data in binary format.
> > 
> > And OO/SO's binary file is a zip archive containing -- you guessed it -- xml
> > files.
> 
> How do you extract the zip portion out?
> 

Unzip will do the trick. Heres what's inside an OO spreadsheet (I
haven't been doing much wordprocessing on this machine):

dave@rodan:/tmp$ unzip -v test.sxc
Archive:  test.sxc
 Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
  468042  Defl:N    20792  96%  03-16-02 22:46  6de10ad4  content.xml
   27205  Defl:N     2604  90%  03-16-02 22:46  890e8965  styles.xml
    1137  Stored     1137   0%  03-16-02 22:46  8616e2a7  meta.xml
    9108  Defl:N     1406  85%  03-16-02 22:46  a5f1a08e  settings.xml
     750  Defl:N      252  66%  03-16-02 22:46  5313cb53  META-INF/manifest.xml
--------          -------  ---                            -------
  506242            26191  95%                            5 files  
   
Looking at the compression ratios it's easy to see why they chose zip
format over straight xml. 

dt

-- 
Dave Thayer           | If trees could scream, would we be so cavalier about
Denver, Colorado USA  | cutting them down? We might, if they screamed all
dave@thayer-boyle.com | the time, for no good reason. - Jack Handey


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: