https://bugs.documentfoundation.org/show_bug.cgi?id=148597
--- Comment #15 from ajlittoz <[email protected]> --- (In reply to sdc.blanco from comment #13) > (In reply to ajlittoz from comment #12) > Thanks for clarifications. > > Some comments: > > - "decoration" around the number such as parentheses or square brackets (see > > "Separators" before and after in list styles, including chapter numbering) > > - a separator between category and its number and caption text; this > > separator is not necessarily a colon, nor a single character > > - order may be different from category-number-separator-text, which implies > > there may be 2 separators > I believe all these variations can be addressed using the "Text" fields in > the Structure option on the Entries tab. (i.e., do not need to add options > to UI) No. I was talking about the caption itself, the data source for the Table of Figures et al. The Structure line is meant to define the entry in the Table of …, taking its input from the caption paragraph. The caption paragraph is presently "unstructured". The only thing we know about it is it contains a number range field. This fields splits the paragraph into three bits: "before" taken as Category, "field" for number and "after" taken as Caption text. This could lead to weird formatting of the Table of … or perhaps I fall into "the devil lies in details" syndrome. Note that presently the Table of … generator and the Insert>Caption "macros" are totally separate and don't share information. The Insert>Caption allows to change the order of the caption components but there is no way to communicate this to the table generator. This makes the Display menu in the Type tab inconsistent. Only the References choice gives usable result. Fortunately I bet 99.99% of the users never fiddle with this menu. > > A full control of "Table of xxx" formatting requires more contextual > > information than available today. > If you think there is a need for more control, beyond what is discussed > here, then better to open a new bug report with a specific request. I'll try to summarise my thoughts in a LO Writer document I'll send you ASAP. > > Then should caption paragraphs be identified by some special means? > At present they get their own PS. > Wrong. You can caption with any PS, not only Caption and its derivatives (Drawing, Figure, …). The decision to consider a paragraph as a caption is the presence of a number range field with the name selected in the Type tab of the dialog from the so-called Category menu. You don't even need to have defined a "Category" item either with Insert>Caption or Tools>Options, LOWriter>AutoCaption since the process can be (and basically is) fully manual. (In reply to sdc.blanco from comment #14) > The following proposal resolves the issue raised in the OP. Also resolves > bug 94966. @Heiko, should I add needsUXEval? or can this proposal be > accepted? > (possibly an EasyHack) > […] > > 2. In “Entries tab”, add 3 widgets with following functions/abbreviations: > > Widget name Abbreviation Function > Caption No. CN Display value of caption number > (i.e., number range > field) > Category C Display “category” of caption > Caption Text CT Display caption text only* Since you suggest Cx descriptor names, why don't you use CC for caption category (2-letter symbols everywhere)? For me, single-letter C would emphasise its importance over the others, some kind of primary data versus secondary. This may be psychological but is worth consideration. -- You are receiving this mail because: You are the assignee for the bug.
