Dear Dev team -

I am diving into OOo's source and the kind folk (thanks caolan) at #dev.openoffice.org suggested I take my questions here.

By way of introduction, I am looking to see how to fix formatting bugs - in particular, I have ".doc" documents that do not present the same way in OOo as they do in the tool in which they were created. These documents were explicitly created as "torture tests". Unfortunately I cannot - for now - provide these documents to the OOo Issue tracker.

As an example, I have a six-page document that opens in OOo 2.3 (Linux) and 2.4 (Windoze); while it renders somewhat correctly, there are several severe formatting problems. With OOo DEV300_m43, built in a manner similar to erAck's, the document takes a long time to open and the process is littered with popups indicating a variety of problems - see below or http://ooo.pastebin.ca/1359053 - and if I click on the "No" options (ignore error and continue) enough times, the document eventually loads and renders, mostly similar to the 2.[34].

I'm ready to dive in to try to fix the error popups and the actual formatting errors, but the forest is large, and I'm hoping some of you might be able to suggest some specific areas where I should start my search. I am actively reading and trying to digest http://wiki.services.openoffice.org/wiki/Debugging; other pointers are most welcome.

In the FWLIW category, I worked on the innards of Star Office back in the very early '90s. I'm sure lots has changed since then...

Thanks for your thoughts,
-Del


Summary of errors encountered while trying to open an M$ Wurd document in OOo DEV300_m43. Eventually, after lots of clicking on the popups (below) and CPU spinning, the document comes up and looks pretty much like OOo 2.x displays it (with similar/same differences from Wurd). Note that distribution-supplied OOo 2.3 (Linux) and OOo 2.4 (Windoze) both open the document without complaint.

m43 was built with ./configure --enable-dbgutil --disable-strip-solver --disable-binfilter --without-fonts --without-ppds --disable-mozilla --disable-build-mozilla --with-system-stdlibs --disable-systray --with-build-version="Built by gdm" --with-vendor="Zoran" --disable-odk --disable-qadevooo --disable-mediawiki --disable-reportdesign --disable-neon --with-system-zlib --with-system-openssl --with-system-jpeg

Popup texts (repeats generally elided):

Error: Trying to resize readonly stream by seeking, could be a wrong offset!
From File /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/sot/source/sdstor/stgdir.cxx at Line 419
Abort ? (Yes=abort / No=ignore / Cancel=core dump)


Error: The source and the destination models should have different persistences! Problems are possible! From File /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/svx/source/svdraw/svdoole2.cxx at Line 1343
Abort ? (Yes=abort / No=ignore / Cancel=core dump)


Error: The destination model must have a persistence! Please submit an issue! From File /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/svx/source/svdraw/svdoole2.cxx at Line 1342
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

Error: The source and the destination models should have different persistences! Problems are possible! From File /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/svx/source/svdraw/svdoole2.cxx at Line 1343
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

Error: Assertion failed
==================
FILE : /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/sw/source/filter/ww8/writerhelper.cxx at line 643
ERROR :  "No NodeIndex in SwFrmFmt ?, suspicious"
Abort ? (Yes=abort / No=ignore / Cancel=core dump)


Error: Trying to resize readonly stream by seeking, could be a wrong offset!
From File /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/sot/source/sdstor/stgdir.cxx at Line 419
Abort ? (Yes=abort / No=ignore / Cancel=core dump)  (lots)

Error: Assertion failed
==================
FILE : /export/home/downloads/OpenOffice/OO3_src/DEV300_m43/sw/source/core/layout/anchoredobject.cxx at line 697 ERROR : "<SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Please inform OD."
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to