[PLUG] tool for reading raw sectors from diskette?
Daggett, Steve
Steve.Daggett at fiserv.com
Fri Jan 14 19:57:30 UTC 2005
> Dick Steffens wrote:
> >
> > I've grabbed all the nice ASCII text fragments. Next chore will be
> > trying to find, piece together, and decipher an OpenOffice.org
> > spreadsheet ....
>
> I recall reading somewhere that OpenOffice uses XML for their
> file formats.
Correct... An OpenOffice spreadsheet is a multi-part file, in XML,
contained in a ZIP archive.
Thusly...
[steve at linux Temp]$ ls
temp.sxc
[steve at linux Temp]$ file temp.sxc
temp.sxc: Zip archive data, at least v2.0 to extract
[steve at linux Temp]$ unzip temp.sxc
Archive: temp.sxc
extracting: mimetype
inflating: content.xml
inflating: styles.xml
extracting: meta.xml
inflating: settings.xml
inflating: META-INF/manifest.xml
[steve at linux Temp]$ ls
content.xml META-INF meta.xml mimetype settings.xml styles.xml
temp.sxc
[steved at linux-dev Temp]$ head content.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD
OfficeDocument 1.0//EN" "office.dtd"><office:document-content
xmlns:office="http://openoffice.org/2000/office"
xmlns:style="http://openoffice.org/2000/style"
xmlns:text="http://openoffice.org/2000/text"
xmlns:table="http://openoffice.org/2000/table"
xmlns:draw="http://openoffice.org/2000/drawing"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:number="http://openoffice.org/2000/datastyle"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:chart="http://openoffice.org/2000/chart"
xmlns:dr3d="http://openoffice.org/2000/dr3d"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="http://openoffice.org/2000/form"
xmlns:script="http://openoffice.org/2000/script" office:class="spreadsheet"
office:version="1.0"><office:script/><office:font-decls><style:font-decl
style:name="Bitstream Vera Sans1" fo:font-family="'Bitstream Vera
Sans'" style:font-pitch="variable"/><style:font-decl
style:name="Tahoma" fo:font-family="Tahoma, Lucidasans, 'Lucida
Sans', 'Arial Unicode MS'"
style:font-pitch="variable"/><style:font-decl style:name="Bitstream Vera
Sans" fo:font-family="'Bitstream Vera Sans'"
style:font-family-generic="swiss"
style:font-pitch="variable"/></office:font-decls><office:automatic-styles><s
tyle:style style:name="co1" style:family="table-column"><style:properties
fo:break-before="auto"
style:column-width="0.8925inch"/></style:style><style:style style:name="ro1"
style:family="table-row"><style:properties style:row-height="0.1681inch"
fo:break-before="auto"
style:use-optimal-row-height="true"/></style:style><style:style
style:name="ta1" style:family="table"
style:master-page-name="Default"><style:properties
table:display="true"/></style:style></office:automatic-styles><office:body><
table:table table:name="Sheet1" table:style-name="ta1"><table:table-column
table:style-name="co1"
table:default-cell-style-name="Default"/><table:table-row
table:style-name="ro1"><table:table-cell table:value-type="float"
table:value="1"><text:p>1</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="2"><text:p>2</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="3"><text:p>3</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="4"><text:p>4</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="5"><text:p>5</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="6"><text:p>6</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="7"><text:p>7</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="8"><text:p>8</text:p></table:table-cell></table:table-row><tabl
e:table-row table:style-name="ro1"><table:table-cell
table:value-type="float"
table:value="9"><text:p>9</text:p></table:table-cell></table:table-row></tab
le:table><table:table table:name="Sheet2"
table:style-name="ta1"><table:table-column table:style-name="co1"
table:default-cell-style-name="Default"/><table:table-row
table:style-name="ro1"><table:table-cell/></table:table-row></table:table><t
able:table table:name="Sheet3" table:style-name="ta1"><table:table-column
table:style-name="co1"
table:default-cell-style-name="Default"/><table:table-row
table:style-name="ro1"><table:table-cell/></table:table-row></table:table></
office:body></office:document-content>
[steve at linux Temp]$
More information about the PLUG
mailing list