Large Document Support

Serna allows you to work with very large documents by collapsing portions of them in WYSIWYG mode.

Large document estimation

Opening a document, Serna estimates the size of the document ( the number of pages):
  1. Serna counts the elements in the document.

  2. Serna divides the result by an average number of elements per page.

    Note:

    An assumption of how many elements form a page is usually specific to the current document template. It is possible to change the default number of elements per page for a particular type of document (e.g. Docbook). For details, see the elems-per-page element in ../developers_guide/document-template-properties.html#doc-template-properties__folding-and-large-document-support.

Serna considers a document large if the estimated number of pages exceeds the large document size. You can set the number of pages after which Serna should consider a document to be large. The default value is 50 pages.

Note that this estimation is not exact, and it only prevents you from lengthy formatting if the document is suspected to be very large.

Large document treatment

You can set what Serna should do when opening a large document:
Related concepts
Collapsing and Expanding Elements
Related tasks
Opening a Document When No Template Was Found
Opening a Document with Manually Specified Parameters