<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Cédric Bosdonnat - OOXML</title><link href="https://bosdonnat.fr/" rel="alternate"></link><link href="https://bosdonnat.fr/feeds/tag/ooxml.atom.xml" rel="self"></link><id>https://bosdonnat.fr/</id><updated>2010-05-10T15:42:00+02:00</updated><subtitle>A geek's perspective</subtitle><entry><title>Asian phonetic guide exported in Docx</title><link href="https://bosdonnat.fr/asian-phonetic-guide-exported-in-docx.html" rel="alternate"></link><published>2010-05-10T15:42:00+02:00</published><updated>2010-05-10T15:42:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2010-05-10:/asian-phonetic-guide-exported-in-docx.html</id><summary type="html">&lt;p&gt;The asian phonetic guide is a useful feature when learning an
asian language. Last week I worked on writing it in the docx files. The
feature is now happily sitting in the &lt;a href="http://cgit.freedesktop.org/ooo-build/ooo-build/tree/patches/dev300/docx-fixes02.diff"&gt;docx-fixes02.diff&lt;/a&gt; patch in the
go-oo git repository. Here are some screenshots of the feature in Word
and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The asian phonetic guide is a useful feature when learning an
asian language. Last week I worked on writing it in the docx files. The
feature is now happily sitting in the &lt;a href="http://cgit.freedesktop.org/ooo-build/ooo-build/tree/patches/dev300/docx-fixes02.diff"&gt;docx-fixes02.diff&lt;/a&gt; patch in the
go-oo git repository. Here are some screenshots of the feature in Word
and OpenOffice.org for those eager to see what it is.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Phonetic guide in OOo" src="https://bosdonnat.fr/data/ruby-ooo.png"&gt;&lt;/p&gt;
&lt;p&gt;Phonetic guide in OOo&lt;/p&gt;
&lt;p&gt;&lt;img alt="Phonetic guide reopened in word" src="https://bosdonnat.fr/data/ruby-word-fix.png"&gt;&lt;/p&gt;
&lt;p&gt;Phonetic guide reopened in word&lt;/p&gt;
&lt;p&gt;The phonetic guide configuration options in OpenOffice.org and Word
aren't the same. What is working here is the export of the text with
it's usual properties and the alignement of the pronounciation. Note
that the characters on the above sample are grouped in the OOo dialog,
but not when opening Word's dialog: this comes from the different color
setting applied to one of the characters.&lt;/p&gt;
&lt;p&gt;When testing this code, I also discovered a strange compatibility issue
between Word 97 and Word 2007 when opening the .doc version of the file:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Word 97, the field for the ruby text in the doc file needs to be
    { EQ \* jc0 \* "Font:Arial" \* hps12 \o(\s\up
    10(kong3zi); 孔子 ) }*&lt;/li&gt;
&lt;li&gt;For Word 2007, the field for the ruby text in the doc file needs to
    be { EQ \* jc0 \* "Font:Arial" \* hps12 \o(\s\up
    10(kong3zi), 孔子 ) }*&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then when saving a file with a phonetic guide in Word 97 and opening it
in Word 2007, all the fields need to be changed to have commas as
function parameters separator (instead of
semi-colon).&lt;/p&gt;</content><category term="LibreOffice"></category><category term="Chinese"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Windows 7, Office 2010 and user freedom</title><link href="https://bosdonnat.fr/windows-7-office-2010-and-user-freedom.html" rel="alternate"></link><published>2010-05-07T11:49:00+02:00</published><updated>2010-05-07T11:49:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2010-05-07:/windows-7-office-2010-and-user-freedom.html</id><summary type="html">&lt;p&gt;As I needed to perform some tests on Windows 7 and Office 2010
these days and I had two interesting surprises.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Office 2010 asks the user to choose between ODF and OOXML as default
    storing format.&lt;/li&gt;
&lt;li&gt;Windows 7 asks which Web browser to use / install&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here are two screenshots to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;As I needed to perform some tests on Windows 7 and Office 2010
these days and I had two interesting surprises.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Office 2010 asks the user to choose between ODF and OOXML as default
    storing format.&lt;/li&gt;
&lt;li&gt;Windows 7 asks which Web browser to use / install&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here are two screenshots to show these choices... they may be biased but
at least they are existing.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Office 2010 format choice" src="http://static.pcinpact.com/images/bd/news/mini-80584-office-2010-ballot-screen.png"&gt;&lt;/p&gt;
&lt;p&gt;Office 2010 format choice&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/win7-browser.png"&gt;&lt;img alt="Windows 7 browser choice" src="https://bosdonnat.fr/data/win7-browser-300x166.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Windows 7 browser choice&lt;/p&gt;
&lt;p&gt;I hope more people will then install Firefox on Windows and make it
their default web browser.... but the most interesting point is about
Office 2010: OpenOffice.org marketing centered on ODF support won't make
the difference by now. We need to focus much more on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;innovating features&lt;/strong&gt;. Copying what Office 2010 does is good to
    ensure compatibility, but we need to keep adding some useful
    features that aren't yet in Office 2010 for users to find something
    interesting in the OpenOffice.org product.&lt;/li&gt;
&lt;li&gt;the &lt;strong&gt;values of open source and community&lt;/strong&gt; as that's our main
    differenciator. How could we as a community show to the users that
    they have something to gain to contact us and be part of the
    adventure?&lt;/li&gt;
&lt;/ul&gt;</content><category term="LibreOffice"></category><category term="Mozilla"></category><category term="ODF"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Asian layout export improved</title><link href="https://bosdonnat.fr/asian-layout-export-improved.html" rel="alternate"></link><published>2010-04-29T15:27:00+02:00</published><updated>2010-04-29T15:27:00+02:00</updated><author><name>Cédric</name></author><id>tag:bosdonnat.fr,2010-04-29:/asian-layout-export-improved.html</id><summary type="html">&lt;p&gt;I recently had a look at the .docx export of the document grid
for asian characters. It was not implemented at all and the .doc export
was buggy. After some time constantly not skipping a word in the OOXML
specifications, I finally had a working implementation and could fix the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I recently had a look at the .docx export of the document grid
for asian characters. It was not implemented at all and the .doc export
was buggy. After some time constantly not skipping a word in the OOXML
specifications, I finally had a working implementation and could fix the
.doc export. Here are some screenshots to help you understand what I'm
writing about. Mind the number of asian characters per line...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/grid-ooo.png"&gt;&lt;img alt="The layout in OOo" src="https://bosdonnat.fr/data/grid-ooo-300x252.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The layout in OOo&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/grid-doc-bug.png"&gt;&lt;img alt="The buggy layout in Word" src="https://bosdonnat.fr/data/grid-doc-bug-300x300.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The buggy layout in Word&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/grid-docx-fix.png"&gt;&lt;img alt="The layout in Word after the changes" src="https://bosdonnat.fr/data/grid-docx-fix-300x296.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The layout in Word after the changes&lt;/p&gt;
&lt;p&gt;The fix is already available on the &lt;a href="http://cgit.freedesktop.org/ooo-build/ooo-build/"&gt;master branch of ooo-build git
repo&lt;/a&gt;.&lt;/p&gt;</content><category term="LibreOffice"></category><category term="Chinese"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Docx import: the unacceptable regression!</title><link href="https://bosdonnat.fr/docx-import-the-unacceptable-regression.html" rel="alternate"></link><published>2009-09-05T11:14:00+02:00</published><updated>2009-09-05T11:14:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-09-05:/docx-import-the-unacceptable-regression.html</id><summary type="html">&lt;p&gt;You may remember that I have started my first CWS some times
ago to upstream my docx import changes. I had to quickly rebase it to
&lt;strong&gt;dev300-m56&lt;/strong&gt; as the 3.2 feature freeze is nearing and the QA of a CWS
could take quite some time. After a hard time …&lt;/p&gt;</summary><content type="html">&lt;p&gt;You may remember that I have started my first CWS some times
ago to upstream my docx import changes. I had to quickly rebase it to
&lt;strong&gt;dev300-m56&lt;/strong&gt; as the 3.2 feature freeze is nearing and the QA of a CWS
could take quite some time. After a hard time working on that rebase, I
uncovered a serious issue: any docx containing a picture or a shape make
OOo crash on import. It turns out that Kendy has already reported that
issue (&lt;a href="http://www.openoffice.org/issues/show_bug.cgi?id=104155"&gt;i104155&lt;/a&gt;). This is clearly a regression from the upstream.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How does it comes QA didn't uncover this enormous regression?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As a developer I have some sample documents to test the features I am
improving and I open each of these documents to check if everything goes
nicely. When doing the QA of big changes like those ones, a set of
OOXML documents should be used to test potential regressions. This has
apparently not been done this time. How does it come that no Docx
document with a picture or a shape in it has been loaded during the QA
of a CWS changing the import of OOXML shapes?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I don't blame the developer introducing the regression here as this
can happen to any one of us... but the way the QA is
done!&lt;/strong&gt;&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Numbering imports in docx files</title><link href="https://bosdonnat.fr/numbering-imports-in-docx-files.html" rel="alternate"></link><published>2009-05-13T18:11:00+02:00</published><updated>2009-05-13T18:11:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-05-13:/numbering-imports-in-docx-files.html</id><summary type="html">&lt;p&gt;Here are some hot news from the docx import front. I am
currently working on the numberings and outline import. There were
several problems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the outline styles weren't defined&lt;/li&gt;
&lt;li&gt;the numbering layout properties weren't properly set&lt;/li&gt;
&lt;li&gt;the suffix and the number of parent levels weren't correctly set.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As usual here …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Here are some hot news from the docx import front. I am
currently working on the numberings and outline import. There were
several problems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the outline styles weren't defined&lt;/li&gt;
&lt;li&gt;the numbering layout properties weren't properly set&lt;/li&gt;
&lt;li&gt;the suffix and the number of parent levels weren't correctly set.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As usual here are some screenshots to better understand the problem. You
can find the sample document attached to &lt;a href="https://bugzilla.novell.com/show_bug.cgi?id=478583"&gt;this issue&lt;/a&gt;. I have added an
other interesting screenshot to compare with the import of the same file
converted to .doc by Word 2007.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/word-num.png"&gt;&lt;img alt="The file in Word" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/word-num-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The file in word &lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-nf-num.png"&gt;&lt;img alt="Import without the patch" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-nf-num-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Import without the patch&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-doc-num.png"&gt;&lt;img alt="Import of a .doc file" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-doc-num-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Import of a .doc file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv-num.png"&gt;&lt;img alt="Imported using OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv-num-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Imported using OdfConverter&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-fix-num.png"&gt;&lt;img alt="Import with the fixes" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-fix-num-150x146.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Import with the fixes&lt;/p&gt;
&lt;p&gt;The patch isn't yet committed to the master branch as it is still
experimental and not complete...&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Docx shapes import: with text</title><link href="https://bosdonnat.fr/docx-shapes-import-with-text.html" rel="alternate"></link><published>2009-04-22T10:39:00+02:00</published><updated>2009-04-22T10:39:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-04-22:/docx-shapes-import-with-text.html</id><summary type="html">&lt;p&gt;Importing the text inside the shapes from docx files is a
complex problem in OpenOffice.org. Most of the problem comes from the
fact that there are two text engines in OOo like in older versions of
Word:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the Writer text engine used in the text documents and in the …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;Importing the text inside the shapes from docx files is a
complex problem in OpenOffice.org. Most of the problem comes from the
fact that there are two text engines in OOo like in older versions of
Word:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the Writer text engine used in the text documents and in the text
    frames&lt;/li&gt;
&lt;li&gt;the edit engine used in Draw / Impress and for the shapes content in
    Writer.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The edit engine is supporting only simple formatted text, whereas the
Writer text engine is supporting other objects like tables, pictures,
etc. In Word 2007 any shape can contain any piece of content: not only
text. The problem when importing is then: how to import the shapes
containing complex text? A short term solution is to create a text frame
for any rectangle shape containing text and keeping shapes for anything
else. Some data could then be lost, for example if an ellipse shape is
containing a table. A long term solution would be to get rid of the edit
engine and use the writer engine everywhere...&lt;/p&gt;
&lt;p&gt;I managed to create the shape or frame depending on the docx input and
to set the text in it. There is a really annoying thing with the text
frames and shapes: their UNO APIs are completely different: then all the
work with the shape properties have to be done another time with the
frame properties... Couldn't at least the fill / line properties be the
same for both TextFrame and Shape services ?&lt;/p&gt;
&lt;p&gt;Here are some screenshots showing the import of a docx file with shapes
containing text. There is no screenshot for the OdfConverter as the
generated odf document makes OOo crash!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-mso.png"&gt;&lt;img alt="The original document" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-mso-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The original document&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-nofix.png"&gt;&lt;img alt="Imported with a non fixed OOo" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-nofix-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Imported with a non fixed OOo&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-fix.png"&gt;&lt;img alt="Imported with the fixed OOo" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/vml-text-fix-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Imported with the fixed OOo&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Shapes in Writer</title><link href="https://bosdonnat.fr/shapes-in-writer.html" rel="alternate"></link><published>2009-04-01T11:51:00+02:00</published><updated>2009-04-01T11:51:00+02:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-04-01:/shapes-in-writer.html</id><summary type="html">&lt;p&gt;I'm currently working on importing the shapes' content of docx
files in OpenOffice.org and I found some troubling differences between
OOo and Word on this point.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A shape Word can contain text, tables and other objects. A shape in
    OOo can only contain text; to have a table inside …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;I'm currently working on importing the shapes' content of docx
files in OpenOffice.org and I found some troubling differences between
OOo and Word on this point.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A shape Word can contain text, tables and other objects. A shape in
    OOo can only contain text; to have a table inside a shape you need
    to create a frame and then insert the table. The old doc import
    filter is importing all the rectangle shape containing text as
    frames as there is no difference between a textbox and a shape in
    .doc files. The problems comes for the other shapes: e.g. an ellipse
    contains a table in Word will be imported as an ellipse shape in
    writer without the table. Data are lost here! Would it be worse an
    effort to have shapes handled and laid out like frames?&lt;/li&gt;
&lt;li&gt;A shape in Word can be rotated, and when the background is filled
    with a picture, this one is also rotated with the shape (in fact
    this is an option). A shape can be rotated in Writer, but the
    picture can't be rotated. This leads to some ugly results when
    importing such .doc file. Why can't a Writer shape be rotated in the
    same way than draw shapes? Even for a user, it's fairly complicated
    to rotate a shape in Writer...&lt;/li&gt;
&lt;li&gt;In Writer, even the UNO API can set custom bitmaps as the background
    of shapes, but there is nothing in the UI to select a custom picture
    as the shape background. Isn't that strange?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here are two screenshots showing a .doc file in Word and OpenOffice.org
to better see the above differences.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/shapes-word.png"&gt;&lt;img alt="Shapes in word" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/shapes-word-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shapes in word &lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/shapes-ooo.png"&gt;&lt;img alt="Shapes in OpenOffice.org" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/shapes-ooo-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shapes in OpenOffice.org&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Docx shapes import: first steps</title><link href="https://bosdonnat.fr/docx-shapes-import-first-steps.html" rel="alternate"></link><published>2009-03-27T18:02:00+01:00</published><updated>2009-03-27T18:02:00+01:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-03-27:/docx-shapes-import-first-steps.html</id><summary type="html">&lt;p&gt;One of the other big areas for improvement in the docx files
import is the import of the shapes, text boxes and other VML stuffs. The
fact is simple: there is no shape imported yet! The challenge here is to
reuse and expand some code of the &lt;em&gt;oox&lt;/em&gt; module in …&lt;/p&gt;</summary><content type="html">&lt;p&gt;One of the other big areas for improvement in the docx files
import is the import of the shapes, text boxes and other VML stuffs. The
fact is simple: there is no shape imported yet! The challenge here is to
reuse and expand some code of the &lt;em&gt;oox&lt;/em&gt; module in order to share it with
the import of xlsx and pptx. After some time investigating how things
are working in the VML import code of oox and the &lt;em&gt;writerfilter&lt;/em&gt;, I
found that the XML tokens between the two modules were using the same
constants but not the namespaces.&lt;/p&gt;
&lt;p&gt;After having fixed this tokens issue, I managed to import some shapes.
After some hacks in the &lt;em&gt;oox&lt;/em&gt; and the &lt;em&gt;writerfilter&lt;/em&gt; module, here are
some results for the import:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/mso1.png"&gt;&lt;img alt="Shapes in Word 2007" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/mso1-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shapes in Word 2007&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv1.png"&gt;&lt;img alt="Shapes imported with OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv1-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shapes imported with OdfConverter &lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-hacks.png"&gt;&lt;img alt="Shapes imported in OOo with some hacks" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-hacks-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shapes imported in OOo with some hacks &lt;/p&gt;
&lt;p&gt;There are still a lot of things to do here, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create text frames where a rectangle shape can't be enough&lt;/li&gt;
&lt;li&gt;Complete the VML import&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is a first step and I hope to show more progresses
soon.&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>docx nested tables import</title><link href="https://bosdonnat.fr/docx-nested-tables-import.html" rel="alternate"></link><published>2009-03-24T15:58:00+01:00</published><updated>2009-03-24T15:58:00+01:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-03-24:/docx-nested-tables-import.html</id><summary type="html">&lt;p&gt;The last weeks have been quite hard: I was working on
difficult parts of the writerfilter and sw code. I was working on a
patch to import the nested tables in the docx files. As you will be able
to see it, the import is much better, even thought it …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The last weeks have been quite hard: I was working on
difficult parts of the writerfilter and sw code. I was working on a
patch to import the nested tables in the docx files. As you will be able
to see it, the import is much better, even thought it is not yet
perfect. As usual, here are some screenshots to help you understand what
has changed.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/mso.png"&gt;&lt;img alt="Nested tables in Word 2007" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/mso-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nested tables in Word 2007&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-nf.png"&gt;&lt;img alt="Nested tables imported by OOo without patch" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-nf-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nested tables imported by OOo without patch&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv.png"&gt;&lt;img alt="Nested tables imported using OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/odfconv-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nested tables imported using OdfConverter&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-fixed.png"&gt;&lt;img alt="Nested tables imported by OOo with the all docx import patches" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/ooo-fixed-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nested tables imported by OOo with the all docx import patches &lt;/p&gt;
&lt;p&gt;Of course, in the above screenshots, the one of the non-fixed OOo
doesn't include any of the previous docx import patches I previously
mentionned, whereas the one with the fixed OOo includes them
all.&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Last docx import fixes</title><link href="https://bosdonnat.fr/last-docx-import-fixes.html" rel="alternate"></link><published>2009-03-13T16:15:00+01:00</published><updated>2009-03-13T16:15:00+01:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-03-13:/last-docx-import-fixes.html</id><summary type="html">&lt;p&gt;I had no time to write a post for each new fix I made this
week, then here is a summary of what happened. Don't blame me for
providing screenshots only for some very visible points instead of every
fix.&lt;/p&gt;
&lt;h4&gt;Changes tracking import&lt;/h4&gt;
&lt;p&gt;This was and is still a big …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I had no time to write a post for each new fix I made this
week, then here is a summary of what happened. Don't blame me for
providing screenshots only for some very visible points instead of every
fix.&lt;/p&gt;
&lt;h4&gt;Changes tracking import&lt;/h4&gt;
&lt;p&gt;This was and is still a big area for improvement. I first fixed what I
saw easily in some example documents but it's quite hard to find every
single bug in there. If you find others, please don't hesitate to leave
me a message or some issue either on IZ or Novell's bugzilla. Here is a
list of what have been fixed for the changes tracking:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When inserting a footnote or endnote, the imported redline was
    completely wrong&lt;/li&gt;
&lt;li&gt;When there are several changes on the same piece of text only one
    was imported&lt;/li&gt;
&lt;li&gt;The added / removed paragraphs weren't imported&lt;/li&gt;
&lt;li&gt;The changes weren't shown by default in OOo when opening a document
    with changes&lt;/li&gt;
&lt;li&gt;The changes weren't tracked in OOo as the documents settings weren't
    read at all. The settings.xml import has been fixed / started, but
    it currently handles only this property.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are some points to be aware of if you want to try to find other
changes tracking issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Compare with what is imported by OOo when opening the same file in
    .doc: OOo doesn't support all the changes tracks of Word: checking
    what the .doc import does is a quick way to check if OOo can usually
    handle this kind of change.&lt;/li&gt;
&lt;li&gt;Open the &lt;em&gt;"Review &amp;amp; Approve"&lt;/em&gt; dialog in OOo and compare these
    entries with the changes in Word: OOo isn't showing the changes in
    the same way than Word and there might be some display problems.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Page number alignement&lt;/h4&gt;
&lt;p&gt;There where problems of page numbers alignement in some cases: this came
from a too large minimum width of the frame. By defining this constant
to 0, the frame is now fitting to its content automatically
(&lt;a href="http://qa.openoffice.org/issues/show_bug.cgi?id=93786"&gt;i#93786&lt;/a&gt;)&lt;/p&gt;
&lt;h4&gt;Page borders import&lt;/h4&gt;
&lt;p&gt;The page borders weren't imported at all: it is now fixed. Here are some
screenshots to better understand what happened. The test document is
attached to the issue &lt;a href="http://qa.openoffice.org/issues/show_bug.cgi?id=100176"&gt;i#00176&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-mso.png"&gt;&lt;img alt="Page borders in Word 2007" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-mso-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Page borders in Word 2007&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-ooo.png"&gt;&lt;img alt="Page borders imported in OOo" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-ooo-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Page borders imported in OOo&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-odfconv.png"&gt;&lt;img alt="Page Borders imported with OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-odfconv-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Page Borders imported with OdfConverter&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-fixed.png"&gt;&lt;img alt="Page borders import fixed" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pgborder-fixed-150x150.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Page borders import fixed&lt;/p&gt;
&lt;h4&gt;A CWS for all those fixes&lt;/h4&gt;
&lt;p&gt;As it starts to make a small amount of changes to the code, I have also
created a CWS to up-stream the changes:
&lt;strong&gt;writerfilter32bugfixes01&lt;/strong&gt;.&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>Pictures in docx import</title><link href="https://bosdonnat.fr/pictures-in-docx-import.html" rel="alternate"></link><published>2009-03-04T18:12:00+01:00</published><updated>2009-03-04T18:12:00+01:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-03-04:/pictures-in-docx-import.html</id><summary type="html">&lt;p&gt;As I explained it in a previous post, I am working on fixing
docx import in OpenOffice.org. I have fixed a bug on the pictures import
recently. The patch fixes the issues i#97645 and i#96021. The i#96021
issue fix isn't complete yet, because it has something …&lt;/p&gt;</summary><content type="html">&lt;p&gt;As I explained it in a previous post, I am working on fixing
docx import in OpenOffice.org. I have fixed a bug on the pictures import
recently. The patch fixes the issues i#97645 and i#96021. The i#96021
issue fix isn't complete yet, because it has something to do with shapes
import which aren't working at all. The patch has been committed to
go-oo trunk. As one of the fixes isn't complete, I still haven't
submitted it to the upstream.&lt;/p&gt;
&lt;p&gt;Here are some screenshots to show the differences:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Picture in Word 2007" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/picture-mso.png"&gt;&lt;/p&gt;
&lt;p&gt;Picture in Word 2007&lt;/p&gt;
&lt;p&gt;&lt;img alt="Pictures import in OOo without the patch" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/pcture-nf.png"&gt;&lt;/p&gt;
&lt;p&gt;Pictures import in OOo without the patch&lt;/p&gt;
&lt;p&gt;&lt;img alt="Picture import in OOo using OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/picture-conv.png"&gt;&lt;/p&gt;
&lt;p&gt;Picture import in OOo using OdfConverter&lt;/p&gt;
&lt;p&gt;&lt;img alt="Picture imported in OOo with the patch" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/picture-ooo.png"&gt;&lt;/p&gt;
&lt;p&gt;Picture imported in OOo with the patch&lt;/p&gt;
&lt;p&gt;Thanks again Andrew for providing your useful reference document and
pointing out the bugs.&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry><entry><title>OOXML tables import in docx files fixed</title><link href="https://bosdonnat.fr/ooxml-tables-import-in-docx-files-fixed.html" rel="alternate"></link><published>2009-02-20T19:10:00+01:00</published><updated>2009-02-20T19:10:00+01:00</updated><author><name>Cédric Bosdonnat</name></author><id>tag:bosdonnat.fr,2009-02-20:/ooxml-tables-import-in-docx-files-fixed.html</id><summary type="html">&lt;p&gt;Thanks to Andrew Ziem in his post &lt;a href="http://www.oooninja.com/2008/12/better-office-docx-converter.html"&gt;A Better Office .docx
converter&lt;/a&gt;, I have discovered a place needing many improvements in
OOo. I started to fix the border problem exposed in Andrew's document,
but then found that the table styles weren't imported. This problem is
now fixed in go-oo trunk …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Thanks to Andrew Ziem in his post &lt;a href="http://www.oooninja.com/2008/12/better-office-docx-converter.html"&gt;A Better Office .docx
converter&lt;/a&gt;, I have discovered a place needing many improvements in
OOo. I started to fix the border problem exposed in Andrew's document,
but then found that the table styles weren't imported. This problem is
now fixed in go-oo trunk and a patch has been submitted on IssueZilla.&lt;/p&gt;
&lt;p&gt;The best way to understand the problem is to consider the following
screenshots. To show how important these styles are, simply consider
that the simple-black-border tables in word are using a style.&lt;/p&gt;
&lt;p&gt;The document in Word 2007:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Tables in Word 2007" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/tables-import-mso.png"&gt;&lt;/p&gt;
&lt;p&gt;Tables in Word 2007&lt;/p&gt;
&lt;p&gt;The document opened by OpenOffice.org (dev300m40):&lt;/p&gt;
&lt;p&gt;&lt;img alt="Tables in OOo without the fixes" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/table-import-ooo-nf1.png"&gt;&lt;/p&gt;
&lt;p&gt;Tables in OOo without the fixes&lt;/p&gt;
&lt;p&gt;The document opened by ooo-build using the OdfConverter:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Tables in OOo using OdfConverter" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/table-import-ooo-odfconv1.png"&gt;&lt;/p&gt;
&lt;p&gt;Tables in OOo using OdfConverter&lt;/p&gt;
&lt;p&gt;The document opened by OpenOffice.org with the fixes:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Tables imported by OOo after fixes" src="https://bosdonnat.fr/data/OpenOffice.org/ooxml/table-import-ooo.png"&gt;&lt;/p&gt;
&lt;p&gt;Tables imported by OOo after fixes&lt;/p&gt;
&lt;p&gt;As Andrew pointed it, there are still other places of improvements in
the docx files import; I will continue to fix them: many thanks
Andrew!&lt;/p&gt;</content><category term="LibreOffice"></category><category term="OOXML"></category><category term="OpenOffice.org"></category></entry></feed>