Caolán McNamara wrote:
On Thu, 2009-03-12 at 13:50 -0400, Del Merritt wrote:

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.

Don't know if it helps, but given that they are .docs, its worth just
mentioning that a simple, but effective, approach when you have msword
itself is to simply binary delete the contents the document to boil out
a minimum test-doc

OK - some things never change ;-)

Firstly turn off fast-save in word, under tools->options->save or
something like that.

Done. FWIW, I'm starting out with what a Windows Explorer cursor-hover says is a "Microsoft Word 97-2003 Document".

Open it in word make a one char change, save it (to ensure a base-line
non-fast-saved .doc which is generally a hell of a lot easier to work
with than a fast-saved one) Open it in writer, confirm problem continues.

Ayup; no difference. Some extra info about the document; when viewed in Word 2003: View:Normal shows just text; View:Print Layout shows lots of images on each page, with complex text flow around many of them, along with image overlays; View:Web Layout shows some odd layout artifacts, some of which are similar (though not identical) to the artifacts I'm seeing in OOo. So maybe there's a hint.

I'm still trying to figure out how this document was created in the first place; still poking, and thanks for the hints, above and below.

Off hunting...

-Del

In word delete the first half of the document, save, open in writer, if
the problem persists then delete the next half and continue.
If the problem goes away, use undo in word and delete the other half,
continue until you get the minimum doc required to reproduce.

With luck you end up with e.g. a single table, picture/object, or some
other small chunk of document with a small few artefacts in it to help
focus on what the trigger is.
If you can't share the documents because of confidential contents, you
may at that stage be in a position to replace the contents of any
remaining text with random text or create a fresh "clean" doc that
doesn't have any confidential material in them

C.


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




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

Reply via email to