Issue 19704 - WW8: Tab min distance compatability
Summary: WW8: Tab min distance compatability
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-17 16:05 UTC by caolanm
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
one (20.00 KB, application/octet-stream)
2003-09-17 16:05 UTC, caolanm
no flags Details
two (20.00 KB, application/octet-stream)
2003-09-17 16:06 UTC, caolanm
no flags Details
three (20.00 KB, application/octet-stream)
2003-09-17 16:06 UTC, caolanm
no flags Details
A real world example (9.50 KB, application/octet-stream)
2003-09-17 16:30 UTC, caolanm
no flags Details
Another real world example (Word document). (61.00 KB, application/octet-stream)
2003-11-28 12:25 UTC, thomas.lange
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2003-09-17 16:05:02 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.
Comment 1 caolanm 2003-09-17 16:05:37 UTC
Created attachment 9416 [details]
one
Comment 2 caolanm 2003-09-17 16:06:00 UTC
Created attachment 9417 [details]
two
Comment 3 caolanm 2003-09-17 16:06:24 UTC
Created attachment 9418 [details]
three
Comment 4 caolanm 2003-09-17 16:08:02 UTC
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
Comment 5 caolanm 2003-09-17 16:30:40 UTC
Created attachment 9420 [details]
A real world example
Comment 6 caolanm 2003-09-17 16:36:14 UTC
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 ?)
Comment 7 caolanm 2003-09-17 16:41:09 UTC
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.
Comment 8 frank.meies 2003-10-30 13:12:13 UTC
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.
Comment 9 frank.meies 2003-11-28 11:28:13 UTC
.
Comment 10 thomas.lange 2003-11-28 12:25:07 UTC
Created attachment 11612 [details]
Another real world example (Word document).
Comment 11 frank.meies 2003-12-05 11:24:42 UTC
.
Comment 12 caolanm 2003-12-05 11:33:54 UTC
For interests sake, what sort of rules did we end up with for
compatability ?
Comment 13 frank.meies 2003-12-05 11:40:52 UTC
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.
Comment 14 frank.meies 2003-12-18 13:13:49 UTC
Fixed in cws tabstops.
Comment 15 stefan.baltzer 2004-03-22 17:25:54 UTC
SBA: Verified in CWS tabstops.
Comment 16 stefan.baltzer 2004-03-22 17:26:32 UTC
SBA: Set to verified.
Comment 17 jack.warchold 2004-08-04 16:50:27 UTC
seen good on with 680_m49-4