Downloading a gdoc document from google drive you will prompted to
choose a conversion.
Choosing 'open document' i get an odt but i spotted an error in
giving 'outline numbering = 10' to even headling styled with headline 1
and superfluous xml in links.
I tried to find a way to fix the wrong oultine numbering but noluck.
I noticed that in the converted odf file 'oultline levels' 1-6 dont
correspont to a heading style instead the relate to nothing.
By completing the missing associations in 'tools --> outline numbering'
new headings will get the proper ouline level but old ones wont
change to correct one leaving only one solution : to delete them and
write them back.
But since i have many converted docs that could be tedious.
Is there another way to correct existing headings or maybe the
converted doc is messed up and a new one from withing libreoffice
should be created, possibly by copy paste to a new empty doc?
I paste some difs among a test odt , and the converted odt from a
test gdoc i created
https://docs.google.com/document/d/1kIHrFd4oa7ZnDgk1Rc4KFg6MOKn-Xy_X_a4AN3V97P4/edit?usp=sharing
:
<text:p text:style-name="P1">This <text:a xlink:type="simple"
xlink:href="http://www.linux.com/">is a link
dude</text:a></text:p><text:p text:style-name="P1"/>
and the same link in the converted odt :
<text:p text:style-name="P3"><text:span
text:style-name="T3_1">this</text:span><text:span
text:style-name="T3_2"><text:s/></text:span><text:span
text:style-name="T3_3"><text:a xlink:type="simple"
xlink:href="http://www.linux.com"><text:span
text:style-name="T3_4">is</text:span></text:a></text:span><text:span
text:style-name="T3_5"><text:a xlink:type="simple"
xlink:href="http://www.linux.com"><text:span
text:style-name="T3_6"><text:s/></text:span></text:a></text:span><text:span
text:style-name="T3_7"><text:a xlink:type="simple"
xlink:href="http://www.linux.com"><text:span
text:style-name="T3_8">a</text:span></text:a></text:span><text:span
text:style-name="T3_9"><text:a xlink:type="simple"
xlink:href="http://www.linux.com"><text:span
text:style-name="T3_10"><text:s/></text:span></text:a></text:span><text:span
text:style-name="T3_11"><text:a xlink:type="simple"
xlink:href="http://www.linux.com"><text:span
text:style-name="T3_12">link</text:span></text:a></text:span>
and the heading with the wrong outline:
<text:h text:style-name="P1"
text:outline-level="10"><text:bookmark-start
text:name="h.xwycyyv608tc"/><text:bookmark-end
text:name="h.xwycyyv608tc"/><text:span
text:style-name="T1_1">Links</text:span>
Alexandros Prekates
http://librebytes.gr