Sorry about the poor error reporting but it is recognized upstream and i simply wanted the solution to be implemented as soon as possible.
However i will attach a docx file which libreoffice does not open correctly. I will also attach a pdf which shows the layout as it is. 1: open the attached document tableheader.docx in libreoffice. 2: i expect the rendering to be as in tableheader.pdf 3: please see for yourself. The table is gone and the text is written on one line per cell. The solution seeems to lie in : diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 99dbbf6..c2820ee 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -3508,6 +3508,9 @@ void DomainMapper::lcl_table(Id name, writerfilter::Reference<Table>::Pointer_t void DomainMapper::lcl_substream(Id rName, ::writerfilter::Reference<Stream>::Pointer_t ref) { m_pImpl->appendTableManager( ); + // Appending a TableManager resets its TableHandler, so we need to append + // that as well, or tables won't be imported properly in headers/footers. + m_pImpl->appendTableHandler( ); m_pImpl->getTableManager().startLevel(); //import of page header/footer ( a subset of this commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=9073da554f407c7aed8af6231313c5355cc266e0&g=libreoffice-3-5 ) But i am unable to compile the libreoffice package myself so i cannot verify, dies when compiling moz or sysui. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1015093 Title: libreoffice writer does not import .docx headers with tables correctly Status in “libreoffice” package in Ubuntu: Incomplete Bug description: Upstream report: https://bugs.freedesktop.org/show_bug.cgi?id=49659 Please implement 3.5.6 as soon as it is tested since docx compatibility is one of the major hurdles in libreoffice adoption. --- ApportVersion: 2.0.1-0ubuntu8 Architecture: amd64 DistroRelease: Ubuntu 12.04 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) NonfreeKernelModules: nvidia Package: libreoffice 1:3.5.3-0ubuntu1 PackageArchitecture: amd64 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18 Tags: precise Uname: Linux 3.2.0-25-generic x86_64 UpgradeStatus: Upgraded to precise on 2012-03-16 (95 days ago) UserGroups: admin libvirtd lpadmin pico vboxusers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1015093/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp