Apache OpenOffice (AOO) Bugzilla – Issue 19704
WW8: Tab min distance compatability
Last modified: 2013-08-07 14:41:36 UTC
The minimum distance to tab value in writer is higher than the word equivalent, I've done some experimentation with word and reckon that their distance is >= 2 twips.
Created attachment 9416 [details] one
Created attachment 9417 [details] two
Created attachment 9418 [details] three
Opened in word: mintab-1.doc has a para with tab stop at 0x237 twips and indent of 0x237, a tab at the start of the para jumps to the next tabstop mintab-2.doc has a para with tab stop at 0x237 twips and indent of 0x236, a tab at the start of the para jumps to the next tabstop mintab-3.doc has a para with tab stop at 0x237 twips and indent of 0x235, a tab at the start of the para moves to the 0x237 tab stop. So it looks like a min tab distance of >= 2 twips
Created attachment 9420 [details] A real world example
The final attachment opened in word places the first tab so that we move to 2.54cm, while in writer we jump to 3.81cm. Presumably because of a different minimum tab value. (but the mintab-2 example which jumps to 5cm in word stays at 1cm in writer, which confuses me, unless there are different rules for leading paragraph indent in writer ?)
cmc->fme: As discussed in the past we have to try and do something in layout to emulate the tab stop positioning as shown in these examples. I thought it was simply a minimum tab distance setting we needed to change, but attachment two (mintab-2.doc) confuses me.
FME->CMC: Strangely, this behavior depends on the formatting device. If we use the virtual formatting device in word, it looks like this: mintab-1.doc has a para with tab stop at 0x237 twips and indent of 0x237, a tab at the start of the para jumps to the next tabstop mintab-2.doc has a para with tab stop at 0x237 twips and indent of 0x236, a tab at the start of the para moves to the 0x237 tab stop. mintab-3.doc has a para with tab stop at 0x237 twips and indent of 0x235, a tab at the start of the para moves to the 0x237 tab stop. So it looks like a min tab distance of >= 1 twips if the formatting device is the virtual device. Our code uses a minimum width of 50 twips, but only for the default tab stop positions, not for user defined tab stops.
.
Created attachment 11612 [details] Another real world example (Word document).
For interests sake, what sort of rules did we end up with for compatability ?
FME->CMC: It's one twip minimum for user defined and default tab stops, no matter if you use the printer or the virtual device for formatting. Have a look at the spec on specs.openoffice.org.
Fixed in cws tabstops.
SBA: Verified in CWS tabstops.
SBA: Set to verified.
seen good on with 680_m49-4