Documentation/WollMux/FormularMax/Content based directives
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Content based directives
The WollMux offers a possibility to regulate the printouts and to make other settings (e.g. print blocks).
Settings in LibreOffice
The following settings must be set in LibreOffice, so that a smooth work with the functional instructions is possible:
Under Tools → Options → /Writer/Formatting Aids the display of hidden text must be turned off. When printing, WollMux uses the possibility in LibreOffice to hide text areas. In order for LibreOffice to correctly calculate the number of total pages when printing, the hidden areas must not be displayed. This option is already set correctly on the base client.
Under Tools → AutoCorrect Options... → Options the option "Apply numbering - symbol:*" must be disabled. The disposition points of subject-heading dispositions start with Roman numerals. To prevent LibreOffice from interpreting these digits as enumerations, this option must be turned off. On the base client this option is already set correctly. Also, WollMux automatically turns off this option when working with content based directives for the first time.
The toolbar "Sachleitende Verfügung" must be activated in Writer in the menu View" → Toolbars → Sachleitende Verfügungen (WollMux). The new toolbar contains the buttons Insert digit, Imprint and Lead line. Furthermore, five buttons for creating the blocks for print control are included:
Set or insert content based directives
The following three buttons can be used to insert or remove the content based directives.
The button Insert digit
With the button Insert digit it is possible to insert a Roman numeral, which can be used to set a disposition point in the document. The new number is one higher than the previous digits already present in the document. If the newly set reorder point is followed by other reorder points, these will be renumbered so that the total numbering of all reorder points is correct again.
The button can also be used to remove existing assignment points. If the cursor is positioned on a paragraph that is already a heading of an assignment point, the Roman numeral at the beginning of the line is deleted and the style of this paragraph is reset to "continuous text".
In the External Letterhead, the I next to the recipient field is automatically entered as soon as a subject-heading disposition is entered in the template/document.
The Print button
With the button Imprint it is possible to insert a disposition point with the content "Imprint of I.[...]". The new disposition point is always inserted after the paragraph in which the cursor is located.
The numbering of the remaining disposal points will be adjusted automatically as described in The button Insert digit. In the case of existing impressions, the text "Impression of I.[...]" is also adjusted so that all predecessors are always listed.
The following example illustrates how the automatic naming of the impression lines works. It was created by pressing "Impression" several times:
.
Likewise, the button can be used to remove already existing impressions.
The button Feed line
With the button Lead-in line it is possible to format paragraphs as lead-in lines, which are currently selected or contain the cursor. Each paragraph of the type feed line leads to another printout. A feed line can also be a real address with street, house number and postal code. For multiline feed line information it is mandatory to use a line break (Shift-Enter or Insert → Manual break → Line break), not a paragraph break (simply pressing the Enter key), otherwise the number of printed copies will be calculated incorrectly.
If the paragraph is already defined as a lead-in line, it will be cancelled (and the paragraph format will be reset to body text) after pressing the button.
The buttons for print control of individual blocks
The following applies to all these print options: If a background color is defined for this print block in the Wollmux configuration, the print block will be highlighted with the color defined there in order to visually distinguish the block and make it easier to locate. When printing a corresponding document, the background color is not printed with it.
Button Always print
The Always print button can be used to mark a selected block to be printed in all printouts, even if text areas under a heading of a disposal point are otherwise hidden.
To remove a Always print mark, select the corresponding text with the mouse and press the Always print button again.
Button Not in original
With the button Not in original a marked block can be marked, which is printed in all copies except the original. The version in which all Roman numerals including I. are hidden is always considered as original.
The marking of a block and the unmarking of a block works analogously to Always print by pressing the corresponding button.
Button Original only
With the button Original only a marked block can be marked, which is printed exclusively in the original.As original is valid thereby in principle always the version, with which all Roman numbers inclusive I. are hidden.
The marking of a block and the unmarking of a block works analogously to Always print by pressing the corresponding button.
Button Draft only
With the button Draft only a selected block can be marked which will be printed in draft only. A draft is the printout that contains all the functional orders.
Marking a block and unmarking a block works analogously to Always print by pressing the corresponding button.
Button Print only
With the button Only imprints a marked block can be marked, which is only printed in imprints. All printouts except the first (the original) and the last (the draft) are called impressions.
Marking a block and unmarking a block works analogously to the Always print block by pressing the corresponding button.
The text frame "WollMuxVerfuegungspunkt1"
If there is a text frame named "WollMuxVerfuegungspunkt1" in the template/document (example external letterhead), this frame is treated specially. It is used to position the digit "I." to be displayed next to the recipient field in the external letterhead.
The frame can only have the content "I." and is managed automatically by WollMux. When creating this text frame, no content has to be inserted, because WollMux will automatically enter the content "I." exactly when there is at least one (more) disposal point in the document. If there is no disposal point in the document, this frame remains empty.
If there is a text frame "WollMuxVerfuegungspunkt1" in the template/document, the counting of the further disposition points starts automatically with "II.
Definition of text areas to hide problematic content
Some text contents are not correctly hidden by LibreOffice.org when printing if they are located below a hidden disposition point. This affects the following items:
- Objects anchored to pages are not hidden because they do not belong to any area.
- Tables with visible borders: When hiding an assignment point that contains a table with visible frames, the contents of the table are hidden, but the frames remain visible as scaffolding.
- Manual page breaks: If page breaks are used below a hidden assignment point, LibreOffice.org does not hide these page breaks. As a result, unwanted blank pages are created where only the header is displayed with an incorrect total page number.
With the help of so-called text areas it is nevertheless possible to hide these contents reliably. To do this, select the affected text parts with the mouse and insert a new area via Insert → Area.... Depending on the position of the affected text part, one must pay attention to the following rules when creating the area:
- Below a disposal point:
If the problematic content is below a heading of a disposal point, the area can be named as desired. However, one must take care when marking the affected text parts that the area does not start before the heading of the associated disposition point. No print blocks (e.g. Always print) can be used within an area created in this way, since the entire affected area is always hidden and so the print blocks would not be displayed if they were to be displayed.
- Within a block for print control
With the blocks for print control, any text passages can be shown or hidden when printing the content based directives, even if they are not directly below a heading but, for example, in their own text frame. If the problematic content is in such a print block, the area name must be structured according to the following system:<any name> GROUPS '<SLV_visibility group>'
Thereby you can put any name at the place <any name>. In the place <SLV_visibility group> must be entered one of the following values:- SLV_AllVersions: Analogous to the print block "always print", this area is printed in all versions.
- SLV_NotInOriginal: Analogous to the print block "always except original", this area is printed in all copies except the original.
- SLV_OriginalOnly: Analogous to the print block "only in original", this area is printed exclusively in the original.
- SLV_DraftOnly: Analogous to the print block "only in draft", this area is only printed in the draft.
- SLV_CopyOnly: Analogous to the print block "only imprints", this area is printed in all printouts except the original and the draft.
In this way you define a text area with the name extension GROUPS, which is controlled by the above special visibility groups. The visibility groups are automatically set by WollMux when printing and thus control the visibility of the text area.
Printing of content based directives
Content based directives can be printed using the icon in the Writer toolbar or using the Writer menu File → Print. The dialog "Wollmux comfort print" appears if content based directives exist.
Printouts
The "Printouts" column lists the headers of all recognized disposition points. For each supply line of an avail point, the copy counter of this avail point is incremented by one.
Copies
In the column "Copies" you can set for each printout how often this printout should be printed. Since normally one copy is needed for each supply line of the disposition point, the copy counter is preset with the number of the corresponding supply lines. To prevent a printout from being generated, set the corresponding copy counter to 0.
Printout in reverse order
Here you can specify that the printout starts in reverse order. If the checkbox is activated, the draft (resubmission) will be printed first.
Example: Printing of a reminder
Via the icon Print file directly or the menu entry Print the dialog "Wollmux comfort print" appears.
After pressing the Print all button, three printouts are obtained. Each line marked as a feed line counts as one printout. Resubmission also counts as one printout. If a printout is not required, the number must be set accordingly. Fade in and fade out e.g. for "I.A. Name" can be set via buttons for print control of individual blocks.
Printout can also be printed individually using the "Print" button to the right of "III. Put away" |
Printout can also be printed individually using the "Print" button to the right of "II. Imprint of I." |
Printout can also be printed individually using the "Print" button to the right of "I. Marking" |
Printing an external letterhead
Via the icon Print file directly or the menu item Print the dialog "Wollmux comfort print" appears.
After pressing the Print all button, four printouts are obtained. Each line marked as a feed line, counts as one printout. WV (resubmission) also counts as one printout. If a printout is not required, the number must be set accordingly. Fade in and fade out e.g. for "I.A. Name" can be set via buttons for print control of individual blocks.
Printout "III. WV....." |
Printout "II. imprint of I." |
Printout "II. imprint of I." |
Printout "I. Original" |
---|---|---|---|
Printout can also be printed individually using the "Print" button to the right of "III. WV ....." |
Printout can also be printed individually using the "Print" button to the right of "II. imprint of I." |
Printout can also be printed individually using the "Print" button to the right of "II. impression of I." |
Printout can also be printed individually via the "Print" button to the right of "I. Original" |
Basic information on printing Content based directives
- In the case of an External Letter, the I. is displayed as "I. Original", otherwise the description from the disposition is displayed (e.g. Preliminary Note or Transcript).
- If no paragraph is marked as a supply line in a disposition, the print counter is initialized with 1.
- Each copy can be printed individually with a "Print" button next to the corresponding disposition.
- The sum of all printouts is displayed as a "read only" field.
- All printouts can be printed using the "Print All" button.
- A different printer can be selected or settings can be changed using the "Print Settings" button.
Overview of possible constellations
Here is a summary of the behavior of all buttons in the various possible situations:
Situation/Button |
Insert digit |
Imprint |
Feed line |
|
1a) The Roman numeral is inserted on the left side of the paragraph where the cursor is (for ranges, at the start position of the cursor) and formatted as a disposal point (bold). The cursor remains unchanged. |
1b) At the cursor position (For ranges before the start position of the cursor), a new paragraph is inserted and formatted as the disposal point with the text "Imprint of I. ..." is formatted. This is followed by an additional paragraph after the impression. In any case, the cursor is then at the beginning of the first paragraph after the impression. |
1c) The paragraph in which the cursor is located is formatted as a lead-in line and the cursor remains unchanged. |
|
2a) The Roman numeral of the disposal point is deleted and the paragraph format is reset to "body text". The cursor remains unchanged. |
2b) At the end of the paragraph of the disposal point, the impression is inserted (except for the position) as described in 1b). |
2c) The disposition point in which the cursor is located is formatted as a disposition with feed line and the cursor remains unchanged. |
|
3a) The impression is removed as described in 3b). |
3b) The complete paragraph of the impression is deleted. If the impression was followed by a blank line, this is also deleted. The cursor is then at the end of the previous line of the impression |
3c) After the impression, a new blank line is inserted and this is formatted as a lead line. The cursor is at the beginning of the new lead line. |
|
4a) The digit is removed and the paragraph is marked as a supply line. The cursor remains unchanged. |
4b) At the end of the paragraph of the disposal point with supply line, the impression is inserted (except for the position) as described in 1b). |
4c) The lead is removed, in which the paragraph is formatted as a normal disposal point. The cursor remains unchanged. |
|
5a) The Roman numeral is inserted in the paragraph where the cursor is (for ranges, at the start position of the cursor) and the paragraph is marked as a disposal point with feeder line. The cursor remains unchanged. |
5b) The impression is inserted as described in 1b). |
5c) The lead-in line is removed, in which the paragraph format is reset to "body text". The cursor remains unchanged. |
|
6a) All contained disposition points with leads are removed as described in 4a). All contained casts are removed as described in 3b). All other contained disposal points are removed as described in 2a). The cursor remains unchanged |
6b) All contained casts are removed as described in 3b). The cursor remains unchanged. |
6c) All contained lead lines are removed as described in 5c). The cursor remains unchanged. |
|
7a) The paragraph where the start position of the range is located is formatted as an avail point (for body text 1a) and for lead lines 5a)). The cursor remains unchanged. |
7b) At the start position of the range, the the impression is inserted (for body text and feed lines 1b), for for disposal points 3b)). |
7c) All body text paragraphs are treated as in 1c), all casts are ignored, and all other disposition points are treated as 2c). The cursor remains unchanged. |