In the "Edit Index/Table" dialog, "Columns" tab, the width controls are inactive (grayed out) unless the table has 2 or more columns. This makes it impossible to control the width of a single-column Table Of Contens. This prevents using a Table of Contents which is not the full width of the page it is on. It also effectively prevents putting a TOC inside a frame (without truncating content). Steps to reproduce: 1. Create a Writer doc with a few "Heading" paragraphs (and possibly other paragraphs) 2. Put the cursor somewhere in the page 3. Insert->Index and Table->Index and Table 4. Click the "Columns" tab 5. Try to set or reduce the width of the (single) column Actual results: You can't, the width controls are inactive Expected: Should be able to adjust width of single column
You can have a separate page style with the margins you want since that is effectively what one column is or you can change the paragraph styles in the TOC to have indents. I do not see any truncating of content within a frame.
A separate page style won't work because that would change the margins of entire page (right?) What is wanted is to control with width of the T.O.C. only. Note that a T.O.C. can be embedded in the middle of a page (e.g. the title page). That's particularly useful for small documents. ---- To see truncation when using a frame: 1. In the demo document, put cursor after the "INSERT TOC HERE" line 2. Insert->Frame 3. Expand the frame to, say, 3/4 of the page width and a suitable height 4. De-select the frame itself, then put cursor inside the frame to insert there. 5. Insert->Index and Table->Index and Table Actual results: The right part of the TOC is invisible... you can't see the page numbers. And you can't fix that by changing the styles because the TOC over-rides the margins in the styles.
Created attachment 116593 [details] TOC examples I can see page numbers when the TOC is in a frame. I edited the Contents Heading and Contents 1 styles to have indents. Any shading or borders are settings for how they appear and do not appear when printing as can be seen with print preview. Wihle the attached examples were created in 4.4.4.2, I get the same results in master. Version: 4.4.4.2 Build ID: f784c932ccfd756d01b70b6bb5e09ff62e1b3285 Version: 5.1.0.0.alpha1+ Build ID: 46564fd97308ce070248482ad65a311a329a2b76 TinderBox: Win-x86@39, Branch:master, Time: 2015-06-15_00:08:53
Could not reproduce truncation in RC1. Windows Vista 64 Version: 5.0.0.1 Build ID: 9a0b23dd0ab9652e0965484934309f2d49a7758e @Jim - Are you on a different OS and/or were you using the 64 bit version of LO?
Created attachment 116980 [details] WORKSFOEME screenshot Hi Jim, would you please try the following: * In the Index and Table dialog -> Column, make sure not the "2+ columns" is select, not the "1 column" * make sure the "auto widh" is not selected below. See my screenshot. Set to NEEDINFO.
Kevin, You created 2 columns, not 1 column. So it is not the problem case. The problem occurs only with 1 column. In other words, you can adjust the column widths with 2+ columns, but not with a single (1) column. Therefore it is not possible to make a 1-column table more narrow than the default width (except using a frame). Thanks. Gordo, I agree your "TOC examples" uses a frame to make a narrow table, and it works. Let me find my original document which did not work with a frame (I'll have to clense confidential info first).
If so, then in my opinion it would be not a bug - it is intended. For 1-column paragraph, the total width is 100% of the page. On a A4 paper with a 2cm left and right margin, the width is 17 cm, you are not able to adjust it. For 2-column TOC, total total width may be 17cm ( = width of the page) while you can set two columns to be 8.5/8.5, 8.0/9.0, 7.5/9.5 etc. (When you increase one of them, the another one automatically decreases) If you want to set the width of the whole TOC area, you have to set the page margin.
Kevin, I disagree because changing the Page Format does not work unless the TOC is on a page by itself (see comment #2). The "obvious" controls to adjust the column width should Just Work. Gordo, The truncation-inside-frame problem is related to something (unknown) in my specific file, which I will attach. Maybe someone can figure out what is corrupted, or if I committed a cockpit error, which causes the page numbers to not be visible when a TOC is inside a frame. -> Please see attached truncation.odt and truncation_screenshot.odt P.S. I *have* fiddled with the TOC styles, including changing tab stops. However I can't see anything which should cause right-adjusting tabs to not stop at the edge of the containing frame (and even by default the tab stops are beyond the frame width).
Created attachment 116983 [details] truncation.odt (showing TOC truncation inside a fram)
Created attachment 116985 [details] truncation_screenshot.png
(In reply to Jim Avera from comment #8) > Kevin, I disagree because changing the Page Format does not work unless the TOC is on a page by itself (see comment #2). > The "obvious" controls to adjust the column width should Just Work. That is what the "column width" is designed and behaved, in all LibreOffice versions. To have the TOC have a different width and appear on the same page, Gordo's suggestion is perfect.