Articles

Numbering imports in docx files

Here are some hot news from the docx import front. I am currently working on the numberings and outline import. There were several problems:

  • the outline styles weren't defined
  • the numbering layout properties weren't properly set
  • the suffix and the number of parent levels weren't correctly set.

As usual here …

➟ Read more

Opening an issue's page from Vim

As I have been tired to have to navigate to the issues query page on either OOo IssueZilla or Novell Bugzilla when I have a comment like #iXXXX#, I wrote a small Vim function to do it for me. Here is the script I have added to my .vimrc.

" Open …
➟ Read more


Docx shapes import: with text

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:

  • the Writer text engine used in the text documents and in the …
➟ Read more

Opening OpenXML or ODF files with Vim

As I was tired to unzip my test .docx files to see what was inside, I decided to ask the web for a solution. I have been gladly surprised to see that Vim can natively open Zip files and change them. All I had to do is to tell Vim …

➟ Read more

Shapes in Writer

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.

  • A shape Word can contain text, tables and other objects. A shape in OOo can only contain text; to have a table inside …
➟ Read more

Docx shapes import: first steps

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 oox module in …

➟ Read more

docx nested tables import

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 …

➟ Read more

gdb and SwDoc

Today I needed to see what happened in a Writer document. In order to do this I used gdb to explore the state of the SwDoc object. I was particularly interested in the nodes which where present, but checking the type, sub-type of all of them can be long. Then …

➟ Read more

Last docx import fixes

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.

Changes tracking import

This was and is still a big …

➟ Read more