Opening of Large, Styled, Single Table Document

Hi.

I have styled my single table document
Extract.odt (43.0 KB)
, resulting in the following gain and loss:

  • unstyled (old) document 990 pages, 1.8 Mb (styles applied manually)
  • styled (new) document 810 pages, 1.2 Mb

This is all progress and I’m happy with the result and especially with the benefits of styling, BUT

  • time to open unstyled document: 42 secs,
  • time to open styled document: beyond human belief (I aborted after 10 mins).

Did I do something wrong when applying styles? It’s nothing complicated, actually quite straightforward, and not too many styles at all. I have attached a snippet of my styled document.
I would really appreciate it if someone could help me sort this out and come up with an explanation as to why this is happening.

Many thanks.

I cannot help with the reason for why it is slower, maybe tdf#97747

For ease of use of styles, you should try to benefit from inheritance where it is available. Your 6 styles including Body Text and Table Contents all use the font Carlito independently of each other; a change in the parent of one does not change the child. Even Definition1 Standard does not change when the parent, Definition2 Abbreviation3, font is changed

Default Paragraph style is set to TeX Gyre Termes so there is no way to change the font in one place any more.

Ideally, you should have changed Default Paragraph Style to Carlito at the beginning and that would have changed all the child styles to that font except where the font has been set differently, that is Heading. The children of Heading, e.g. Heading 1, takes the font from Heading style.

The way to fix it is to change Default Paragraph style font to Carlito. Then for each style, in the Font tab make a note of the font size, click the button Reset to Parent and then modify the font size to original if it is different.
To keep inheritance on Font Size, you could set a different size as a percentage of its parent, for example, instead of 9 pt for Definition2 Abbreviation3, you could type in there 75%

The problem may be related to the table. If you really have a single table spanning 800+ pages, you put Writer under stress.

From what I see, your document is tabular in essence. Unfortunately Writer is not intended for “monster” table. I am not sure that splitting the table into smaller tables based on first letter would significantly improve performance.

Have you considered Calc? Styling possibilities are more limited but they exist also.

If you meet the limits for number of rows, you can still split in separate sheets within the same document. It would also improve lookup where you activate first the tab corresponding to the initial letter.