Aha, danke. Das sind dann alles interne Verknüpfungen? Man sieht ja nur eine .odt-Datei, aber diese ist nicht sichtbar verknüpft mit den im System versteckten Unterordnern, richtig?

Meinrad

Am 18.02.2015 um 21:05 schrieb Jonas Stein:
Frage 2: Denke eher dass die Bilder nicht in einem separaten Unterordner
angelegt werden, sondern Bestandteil der Zim-Datei sind, so wie bei
einem .doc-Format. WORD oder LIBRE legen für eingefügte Bilder auch
keinen eigenen Unterordner an. Ein solcher erscheint erst, wenn man die
Datei exportiert. Wenn ich in HTML exportiere wird ein Ordner "Images"
angelegt.
Das ist nicht ganz richtig, Opendocument (z.B. odt von Libreoffice) ist
ein Zip mit vielen Dateien in Unterordnern:

Testweise habe ich ein .odt in Libreoffice angelegt. Es enthält das Wort
"Test" und ein Bild


~/Desktop/officetest$ unzip textmitbild.odt
Archive:  textmitbild.odt
  extracting: mimetype
  extracting: Thumbnails/thumbnail.png
   inflating: content.xml
   inflating: settings.xml
   inflating: meta.xml
  extracting: Pictures/10000000000001860000009353364D67.png
   inflating: styles.xml
   inflating: manifest.rdf
    creating: Configurations2/images/Bitmaps/
    creating: Configurations2/toolpanel/
    creating: Configurations2/progressbar/


   inflating: Configurations2/accelerator/current.xml


    creating: Configurations2/floater/


    creating: Configurations2/statusbar/


    creating: Configurations2/toolbar/


    creating: Configurations2/popupmenu/


    creating: Configurations2/menubar/


   inflating: META-INF/manifest.xml


Und das Wort findet man auch:
(Tipp: ganz unten)

==============

$ grep Test *

grep: Configurations2: Is a directory
content.xml:<office:document-content
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML";
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office";
xmlns:ooow="http://openoffice.org/2004/writer";
xmlns:oooc="http://openoffice.org/2004/calc";
xmlns:dom="http://www.w3.org/2001/xml-events";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:rpt="http://openoffice.org/2005/report";
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:grddl="http://www.w3.org/2003/g/data-view#";
xmlns:officeooo="http://openoffice.org/2009/office";
xmlns:tableooo="http://openoffice.org/2009/table";
xmlns:drawooo="http://openoffice.org/2010/draw";
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
xmlns:css3t="http://www.w3.org/TR/css3-text/";
office:version="1.2"><office:scripts/><office:font-face-decls><style:font-face
style:name="Calibri" svg:font-family="Calibri"
style:font-family-generic="swiss"/><style:font-face
style:name="FreeSans1" svg:font-family="FreeSans"
style:font-family-generic="swiss"/><style:font-face
style:name="Liberation Sans" svg:font-family="&apos;Liberation
Sans&apos;" style:font-family-generic="swiss"
style:font-pitch="variable"/><style:font-face style:name="FreeSans"
svg:font-family="FreeSans" style:font-family-generic="system"
style:font-pitch="variable"/><style:font-face style:name="unifont"
svg:font-family="unifont" style:font-family-generic="system"
style:font-pitch="variable"/></office:font-face-decls><office:automatic-styles><style:style
style:name="P1" style:family="paragraph"
style:parent-style-name="Standard"><style:text-properties
officeooo:rsid="0005d405"
officeooo:paragraph-rsid="0005d405"/></style:style><style:style
style:name="fr1" style:family="graphic"
style:parent-style-name="Graphics"><style:graphic-properties
style:horizontal-pos="center" style:horizontal-rel="paragraph"
style:mirror="none" fo:clip="rect(0mm, 0mm, 0mm, 0mm)"
draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%"
draw:blue="0%" draw:gamma="100%" draw:color-inversion="false"
draw:image-opacity="100%"
draw:color-mode="standard"/></style:style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl
text:display-outline-level="0"
text:name="Illustration"/><text:sequence-decl
text:display-outline-level="0" text:name="Table"/><text:sequence-decl
text:display-outline-level="0" text:name="Text"/><text:sequence-decl
text:display-outline-level="0"
text:name="Drawing"/></text:sequence-decls><text:p
text:style-name="P1"><draw:frame draw:style-name="fr1"
draw:name="Image1" text:anchor-type="paragraph" svg:width="104.26mm"
svg:height="38.88mm" draw:z-index="0"><draw:image
xlink:href="Pictures/10000000000001860000009353364D67.png"
xlink:type="simple" xlink:show="embed"
xlink:actuate="onLoad"/></draw:frame>Test</text:p></office:text></office:body></office:document-content>
grep: META-INF: Is a directory
grep: Pictures: Is a directory
grep: Thumbnails: Is a directory

==============

Beste Grüße,


_______________________________________________
Trolug_trolug.de mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/trolug_trolug.de

Antwort per Email an