bmeirose wrote: ↑Wed Jun 15, 2022 3:32 pm
Read-error format error discovered in sub-document content.xml
I see that one might be able to fix this by editing externally, but I haven't found any tools that allow me to do that.
I used
unzip on the file you sent. I don't see a problem in content.xml. The trouble is in styles.xml which is just a plain Unicode (UTF-8) text file. The attribute
draw:mirror-vertical is specified twice in the
draw:enhanced-geometry tag. You need to delete one of the pair. I suspect the "false" setting is correct, but you can experiment. Make a copy of your file before attempting repair, of course. This is the section you need to fix:
<draw:enhanced-geometry
draw:mirror-horizontal="false"
draw:mirror-vertical="false"
svg:viewBox="0 0 0 0"
draw:text-areas="0 0 ?f3 ?f2"
draw:mirror-vertical="true"
draw:type="ooxml-rect"
draw:enhanced-path="M 0 0 L ?f3 0 ?f3 ?f2 0 ?f2 Z N"
>
<draw:equation draw:name="f0" draw:formula="logwidth/2" />
<draw:equation draw:name="f1" draw:formula="logheight/2" />
<draw:equation draw:name="f2" draw:formula="logheight" />
<draw:equation draw:name="f3" draw:formula="logwidth" />
</draw:enhanced-geometry>
I can't provide more specific instructions since you do not say which operating system you use.
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).