Translations - ONYX - 9.0 - Utilisation
Gestion des pieds de documents en mode XML/17/en
De MappingDoc
Révision datée du 2 janvier 2025 à 13:05 par Jdieu (discussion | contributions) (Page créée avec « #Condition the document footer so that it appears only on the last page. To do this, the condition to use is “Page break” with not(1) logic. Indeed, this condition bec... »)
- Condition the document footer so that it appears only on the last page. To do this, the condition to use is “Page break” with not(1) logic. Indeed, this condition becomes true for the rest of the page as soon as a paginated group triggers a page break. For this condition to be relevant, it must therefore be evaluated after processing the group corresponding to the paginated list. The document footer must be created exclusively with “group” or “text” type objects, because these are the only ones that can be executed after a “group” type object.
- Artificially integrate the document footer at the end of the list so that the latter can take it into account when triggering page breaks It is essential to ensure that the document footer has enough space on the last page . The group corresponding to the paginated list must therefore check that this space is available. If this is not the case, a page break must be triggered before writing the document footer. To do this, a specific (artificial) line must be added at the end of the main group. This line will be used to reserve a space whose height will be at least equivalent to that of the document footer.