Created attachment 95561 [details] A test case. I really tried to RTFM and asked people on IRC for help, but couldn't figure it out. In the attached testcase, I used a table that originally belonged to some template downloaded from the internet (possibly originally in .DOC format). In this table I wanted to align the text to a tabulator, but any attempts to do that resulted in the text being pushed far too right when I pressed ctr+tab.
In your file, the "settings.xml" contains setting named "TabsRelativeToIndent", which is set to false. If set to true, everything works OK. Note that it works OK with your settings, too, but not in the way you expect it. This setting tells that you see all tab positions relative to left page margin, not to the cell that you work in. And the program does just this, thus working correctly with regards to developer's intent. The problem is how would you change this document setting without manual modifications of the document internals... I suppose that this bug at most can be qualified as an enhancement request to add a UI to allow this setting be modified. And possibly, others too. However, I keep the "medium" priority, because it is not a low-priority problem: without such a control, this would be a problem for people having different documents behaving differently, without a way to make them work consistently.
The content of attachment 95561 [details] has been deleted by Joe Rayhawk <jrayhawk+bugs.freedesktop.org@omgwallhack.org> who provided the following reason: Private information disclosure. The token used to delete this attachment was generated at 2014-03-12 00:40:45 UTC.
Mike, is your suggestion still valid?
(In reply to Heiko Tietze from comment #3) > Mike, is your suggestion still valid? Definitely.
So let's add a checkbox "[ ] Relative to Indent" underneath the Type list. Does it make sense for Decimal and Centered? If not the checkbox should be disabled in that case.
(In reply to Heiko Tietze from comment #5) No, it is a compatibility option, and must go to the relevant options list. Which is on Options->Writer->Compatibility (the "for document" section).
(In reply to Mike Kaganski from comment #6) > (In reply to Heiko Tietze from comment #5) > > No, it is a compatibility option, and must go to the relevant options list. > Which is on Options->Writer->Compatibility (the "for document" section). Could be an easyhack then. Could you add code pointers please?
Another missing compatibility property: "TabOverMargin", which must be added there in the same way.
*** Bug 75159 has been marked as a duplicate of this bug. ***
A commit that adds adds another compatibility option to the dialog: https://gerrit.libreoffice.org/c/core/+/162635
For reference, compatibility flag TabsRelativeToIndent was added in the following commits to fix this bug: https://bz.apache.org/ooo/show_bug.cgi?id=24363 https://cgit.freedesktop.org/libreoffice/core/commit/?id=009e3f4841378f13a2764a2c84e147e401b70525 author Oliver Bolte <obo@openoffice.org> 2008-01-10 10:37:10 +0000 committer Oliver Bolte <obo@openoffice.org> 2008-01-10 10:37:10 +0000 "INTEGRATION: CWS xmlfilter02 (1.61.12); FILE MERGED" https://cgit.freedesktop.org/libreoffice/core/commit/?id=0b35fd0181bf21ee4686b9488b8ab10b3f28e89e author Oliver Bolte <obo@openoffice.org> 2008-01-10 10:40:55 +0000 committer Oliver Bolte <obo@openoffice.org> 2008-01-10 10:40:55 +0000 "INTEGRATION: CWS xmlfilter02 (1.26.12); FILE MERGED" Compatibility flag TabOverMargin was added here: https://cgit.freedesktop.org/libreoffice/core/commit/?id=bdfc6363d66aa079512cc8008996b633f693fed1 author Miklos Vajna <vmiklos@suse.cz> 2013-01-08 11:57:13 +0100 committer Miklos Vajna <vmiklos@suse.cz> 2013-01-08 14:17:27 +0100 n#793998 sw: add TabOverMargin compat mode
I'm currently working on this. You can find my patch (work in progress) here: https://gerrit.libreoffice.org/c/core/+/166040. I'm not sure which flags to invalidate in `sw/source/core/view/viewsh.cxx`. Can anyone provide some pointers?
(In reply to Mohit Marathe from comment #12) > Can anyone provide some pointers? Hossein, can you?
(In reply to Heiko Tietze from comment #13) I answered in the gerrit change. IMO, just invalidating all makes sense in this case.
Mohit Marathe committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b51271b85387a57b4cdd20ee6277c1a955706fc1 tdf#76005 add TabsRelativeToIndent, TabOverMargin compat option to dialog It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.