Hi, and welcome to the forum.
pmensik wrote: ↑Sun May 15, 2022 10:42 pm
I tried to unzip the file and look for the error myself but I don't see anything obvious there unfortunately.
File
content.xml contains
draw:mirror-vertical="false" and then shortly thereafter
draw:mirror-vertical="true". That is a conflict since an attribute cannot be specified twice. This duplication occurs in two places. Remove either
draw:mirror-vertical="false" or
draw:mirror-vertical="true". I don't know which setting is correct. Removing either should allow you to open the file so you can examine the layout. The commands I used were:
cd "LocationOfBadFile" # Set current directory
file='polkadot_prednaska.odp' # File to fix in current directory
xml=content.xml # Component to fix
bad='draw:mirror-vertical="true"' # Attribute to remove
cp "$file" MrProgrammer.odp # Make a copy of the file
unzip -p MrProgrammer.odp $xml >bad.xml # Extract content.xml
sed -e "s/$bad/ /g" bad.xml >$xml # Fix it
zip -m MrProgrammer.odp $xml # Put repaired file back in presentation
rm bad.xml # Remove extracted content
The repaired file is
MrProgrammer.odp. I did the edit with
sed but you could just use your favorite text editor.
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.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).