[Issue] Column (and content) lost after saving .docx as .odt

Discuss the word processor
Post Reply
aurine123
Posts: 3
Joined: Wed Nov 08, 2017 7:13 pm

[Issue] Column (and content) lost after saving .docx as .odt

Post by aurine123 »

Hello. I have searched about this issue but couldn't find any answer.

I downloaded a .docx document and opened it with Writer, and filled with some text several cells in a 4 columns table that was already present in the document. Then I saved the document ("save as") as a .odt document.

When opening it again, the fourth column of the table (an all its content) had disappeared. I tried searching for words that I wrote in that column, but it didn't find them. I tried opening the document with libre Office, Word Online, and even transform it to .txt with an online tool, but couldn't find the column nor its content. I tried again, opening the original .doc document and writing something in the fourth column, then saving it as .odt, and when opening it, the contenta and column were lost again.

Do you know what happened? Is there any way I can recover the text I wrote?

Thank you very much for your atention.


Edit: I have uploaded the file that produces the errror. It was a .docx, not .doc as I originally stated.
Attachments
file error column.docx
fourth columns disappears after saving as .odt
(21.35 KiB) Downloaded 152 times
Last edited by aurine123 on Sat Nov 11, 2017 10:53 pm, edited 1 time in total.
Apache Open Office 4.1.4 Windows 8.1
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Column (and content) lost after saving a .doc as a .odt

Post by RusselB »

Without being able to access the original document (the .doc file), we'd only be guessing at what is happening.
Can you upload the .doc file here, or provide us with a link to the .doc file, so that we can examine the original file and, therefore, be able to compare it to the file saved in .odt format?
See How to attach a document for details regarding attaching a document.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Column (and content) lost after saving a .doc as a .odt

Post by John_Ha »

That is strange because tables in .doc files are handled correctly in AOO.

See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save files as .odt.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
aurine123
Posts: 3
Joined: Wed Nov 08, 2017 7:13 pm

Re: Column (and content) lost after saving a .docx as a .odt

Post by aurine123 »

Thank you for your answers. I have uploaded the file that produces the error to the first post. It was a .docx, not a .doc as I originally said. I hope you can figure out what is the matter with this.
Apache Open Office 4.1.4 Windows 8.1
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Column (and content) lost after saving a .docx as a .odt

Post by RusselB »

Not sure what's going on, but I downloaded the .docx, but when I try entering any data into the table, nothing shows.
Knowing that others are more familiar with Writer and the usage of tables in Writer, I'm going to recommend that we wait for one of them to reply.
A small side note, seeing as how the original is a .docx, you might find that LibreOffice works better
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Column (and content) lost after saving a .docx as a .odt

Post by Villeroy »

Yes, https://libreoffice.org/ handles the file correctly.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Column (and content) lost after saving a .docx as a .odt

Post by John_Ha »

I added zebra, cat and dog in the 4th column in the first three rows, removed the coloured background, and saved it as a .odt. The 4th column was not displayed when I opened it.

I extracted content.xml and, as you can see, zebra (line 157), cat (line 172) and dog (line 187) appear in content.xml - see >>>>>>>>>>>>>>>> on left side. It therefore appears as though Writer did not write the XML correctly, or is not understanding the XML it wrote - both could be caused by Writer not understanding the .docx XML.

I have raised bug report Issue 127592 Submitted - Table in docx loses column when saved as odt even though data in column appears in odt content.xml.

The full XML is as below:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<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:tableooo="http://openoffice.org/2009/table" xmlns:textooo="http://openoffice.org/2013/office" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" office:version="1.2">
	<office:scripts/>
	<office:font-face-decls>
		<style:font-face style:name="Tahoma2" svg:font-family="Tahoma" style:font-family-generic="swiss"/>
		<style:font-face style:name="Calibri" svg:font-family="Calibri" style:font-family-generic="roman" style:font-pitch="variable"/>
		<style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="roman" style:font-pitch="variable"/>
		<style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/>
		<style:font-face style:name="F" svg:font-family="" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="Calibri1" svg:font-family="Calibri" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="Courier New" svg:font-family="&apos;Courier New&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="Microsoft YaHei" svg:font-family="&apos;Microsoft YaHei&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="SimSun" svg:font-family="SimSun" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="Tahoma1" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/>
		<style:font-face style:name="Times New Roman" svg:font-family="&apos;Times New Roman&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
	</office:font-face-decls>
	<office:automatic-styles>
		<style:style style:name="Table1" style:family="table" style:master-page-name="Standard">
			<style:table-properties style:width="237.1mm" fo:margin-left="-1.91mm" fo:margin-top="0mm" fo:margin-bottom="0mm" style:page-number="auto" table:align="left" style:writing-mode="lr-tb"/>
		</style:style>
		<style:style style:name="Table1.A" style:family="table-column">
			<style:table-column-properties style:column-width="59.27mm"/>
		</style:style>
		<style:style style:name="Table1.B" style:family="table-column">
			<style:table-column-properties style:column-width="50.76mm"/>
		</style:style>
		<style:style style:name="Table1.C" style:family="table-column">
			<style:table-column-properties style:column-width="35.67mm"/>
		</style:style>
		<style:style style:name="Table1.D" style:family="table-column">
			<style:table-column-properties style:column-width="28.49mm"/>
		</style:style>
		<style:style style:name="Table1.1" style:family="table-row">
			<style:table-row-properties style:min-row-height="5.33mm" style:keep-together="true" fo:keep-together="auto"/>
		</style:style>
		<style:style style:name="Table1.A1" style:family="table-cell">
			<style:table-cell-properties fo:background-color="#ffffff" fo:padding-left="1.91mm" fo:padding-right="1.91mm" fo:padding-top="0mm" fo:padding-bottom="0mm" fo:border-left="0.18mm solid #000001" fo:border-right="0.18mm solid #00000a" fo:border-top="0.18mm solid #000001" fo:border-bottom="0.18mm solid #000001">
				<style:background-image/>
			</style:table-cell-properties>
		</style:style>
		<style:style style:name="Table1.2" style:family="table-row">
			<style:table-row-properties style:min-row-height="5.06mm" style:keep-together="true" fo:keep-together="auto"/>
		</style:style>
		<style:style style:name="Table1.C2" style:family="table-cell">
			<style:table-cell-properties fo:background-color="#ffffff" fo:padding-left="1.91mm" fo:padding-right="1.91mm" fo:padding-top="0mm" fo:padding-bottom="0mm" fo:border-left="0.18mm solid #00000a" fo:border-right="0.18mm solid #000001" fo:border-top="0.18mm solid #000001" fo:border-bottom="0.18mm solid #000001">
				<style:background-image/>
			</style:table-cell-properties>
		</style:style>
		<style:style style:name="Table1.D2" style:family="table-cell">
			<style:table-cell-properties fo:background-color="#ffffff" fo:padding-left="1.91mm" fo:padding-right="1.91mm" fo:padding-top="0mm" fo:padding-bottom="0mm" fo:border="0.18mm solid #000001">
				<style:background-image/>
			</style:table-cell-properties>
		</style:style>
		<style:style style:name="Table1.6" style:family="table-row">
			<style:table-row-properties style:min-row-height="3.63mm" style:keep-together="true" fo:keep-together="auto"/>
		</style:style>
		<style:style style:name="Table1.16" style:family="table-row">
			<style:table-row-properties style:min-row-height="6.42mm" style:keep-together="true" fo:keep-together="auto"/>
		</style:style>
		<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties>
				<style:tab-stops>
					<style:tab-stop style:position="12.7mm"/>
				</style:tab-stops>
			</style:paragraph-properties>
			<style:text-properties fo:font-size="4pt" style:font-size-asian="4pt" style:font-size-complex="4pt"/>
		</style:style>
		<style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties>
				<style:tab-stops>
					<style:tab-stop style:position="12.7mm"/>
				</style:tab-stops>
			</style:paragraph-properties>
		</style:style>
		<style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%"/>
			<style:text-properties fo:color="#ffffff" fo:font-size="14pt" fo:font-weight="bold" fo:background-color="transparent" style:font-size-asian="14pt" style:font-weight-asian="bold" style:font-size-complex="14pt"/>
		</style:style>
		<style:style style:name="P4" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
			<style:text-properties fo:color="#ffffff" fo:font-size="12pt" fo:font-weight="bold" fo:background-color="transparent" style:font-size-asian="12pt" style:font-weight-asian="bold" style:font-size-complex="12pt"/>
		</style:style>
		<style:style style:name="P5" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
			<style:text-properties fo:color="#ffffff" fo:background-color="transparent"/>
		</style:style>
		<style:style style:name="P6" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
			<style:text-properties fo:font-weight="bold" fo:background-color="transparent" style:font-weight-asian="bold"/>
		</style:style>
		<style:style style:name="P7" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%"/>
			<style:text-properties fo:background-color="transparent"/>
		</style:style>
		<style:style style:name="P8" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-align="center" style:justify-single-word="false"/>
			<style:text-properties fo:background-color="transparent"/>
		</style:style>
		<style:style style:name="P9" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-left="6.35mm" fo:margin-right="0mm" fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-indent="0mm" style:auto-text-indent="false"/>
			<style:text-properties fo:color="#ffffff" fo:background-color="transparent"/>
		</style:style>
		<style:style style:name="P10" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-left="6.35mm" fo:margin-right="0mm" fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-indent="0mm" style:auto-text-indent="false"/>
			<style:text-properties fo:color="#002060" fo:background-color="transparent"/>
		</style:style>
		<style:style style:name="P11" style:family="paragraph" style:parent-style-name="Standard">
			<style:paragraph-properties fo:margin-left="6.35mm" fo:margin-right="0mm" fo:margin-top="0mm" fo:margin-bottom="0mm" fo:line-height="100%" fo:text-indent="0mm" style:auto-text-indent="false"/>
			<style:text-properties fo:background-color="transparent"/>
		</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>
			<table:table table:name="Table1" table:style-name="Table1">
				<table:table-column table:style-name="Table1.A"/>
				<table:table-column table:style-name="Table1.B"/>
				<table:table-column table:style-name="Table1.C"/>
				<table:table-column table:style-name="Table1.D"/>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" office:value-type="string">
						<text:p text:style-name="P3"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.2">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P9"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P5"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P4"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P4"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
>>>>>>>>>>>>>>>>			<text:p text:style-name="P8">zebra</text:p>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
>>>>>>>>>>>>>>>>		<text:p text:style-name="P8">cat</text:p>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.2">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
>>>>>>>>>>>>>>>>    		<text:p text:style-name="P8">dog</text:p>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.6">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P7"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P6"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.16">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P11"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8">
							<text:bookmark text:name="_GoBack"/>
						</text:p>
					</table:table-cell>
				</table:table-row>
				<table:table-row table:style-name="Table1.1">
					<table:table-cell table:style-name="Table1.A1" table:number-columns-spanned="2" office:value-type="string">
						<text:p text:style-name="P10"/>
					</table:table-cell>
					<table:covered-table-cell/>
					<table:table-cell table:style-name="Table1.C2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
					<table:table-cell table:style-name="Table1.D2" table:number-columns-spanned="0" office:value-type="string">
						<text:p text:style-name="P8"/>
					</table:table-cell>
				</table:table-row>
			</table:table>
			<text:p text:style-name="P1"/>
			<text:p text:style-name="P1"/>
			<text:p text:style-name="P1"/>
			<text:p text:style-name="P1"/>
			<text:p text:style-name="P2"/>
		</office:text>
	</office:body>
</office:document-content>
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
aurine123
Posts: 3
Joined: Wed Nov 08, 2017 7:13 pm

Re: Column (and content) lost after saving a .docx as a .odt

Post by aurine123 »

Thank you very much! I didn't know about extracting .xml from documents. I see that worked in the test, but sadly not in my original document (I had to redo it).

However, an even worse error happened. When saving again, this time saving the document as a .docx, when I tried to open again, the entire table was gone. Trying to open it in Word Online says there is an error in line 2, column 13015. Fortunately, this time the .xml file did contain all the text I had entered, but I wonder if there is a way to repair it. At that column, the code shows <w:color w:val="002060"/>. I tried deleting it, but it doesn't work.

Do you know any way of recovering the document in a proper format?

Thanks
Apache Open Office 4.1.4 Windows 8.1
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Column (and content) lost after saving a .docx as a .odt

Post by RoryOF »

You will need to upload the document to the Forum if under 128K, or if bigger to a file sharing site and post the URL to this thread so that someone can examine it and hopefully repair the problem.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Column (and content) lost after saving a .docx as a .odt

Post by John_Ha »

aurine123 wrote:At that column, the code shows <w:color w:val="002060"/>. I tried deleting it, but it doesn't work.
There may be multiple repeated items in one or more locations in content.xml so it is an iterative process. See [Tutorial] Format error discovered in sub-document
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
CatS
Posts: 1
Joined: Fri Feb 21, 2020 7:12 pm

Re: [Issue] Column (and content) lost after saving .docx as

Post by CatS »

This has happened to me :( anway to recover missing column text?
When I open as xml I don't see it - maybe because I'm saving it as xml rather than extracting? How do I extract content.xml?

Here is link to dropbox folder with orginal .docx and my .odt file with missing column and text after saving
https://www.dropbox.com/sh/r9qysjdgo0a8 ... PlLWa?dl=0
Open office 4.1.7 on windows 8.1
Post Reply