bassim.blogg.se

Page break in bi publisher rtf template
Page break in bi publisher rtf template




To achieve this, the following two commands must be entered in the template within the for-each loop of the element by which you want the document to split: What information (data elements) to include in the index file How many occurrences of the element are included in each PDF file What element in the data is repeated (using the simple for-each command) Interestingly, resetting the page numbering also works when calculating total number of pages, whereby the total is from the section, not the entire document, even though the NumPages field is used instead of SectionPages! Go figure, but it worked for me.When you design a template to use this feature, you must add commands to specify these queries. Since the default behavior of the section break is to start on a new page, I found I had to remove the \page directive to avoid an extra page being inserted between the document sections. To create the section break, I inserted the following RTF directives at that point: By searching for the first few words from the second section of the document (in this case, “Sender’s Receipt”), I was able to spot where the section break should go.Ĭhecking the RTF spec, I could see that the \page directive shown above was the page break between two sections of my document where I wanted to reset the page numbering. I was able to find my way around easily enough by searching for labels or keywords from the document. RTF files can be a little confusing, but most of the “junk” in the files is just special codes for formatting the text. The RTF specification was of some help to me in doing this, as well as this explanatory page from Microsoft. Finally I had to edit the RTF file directly. One suggestion I read said to wrap the page number cells in a BI Publisher repeating group using like so:īut this also didn’t work for me. Page numbering was simply not being reset between sections, or worse, did not take into account a fluid document size based upon available data. In short, doing this the normal way did not work for me, and in researching the issue I ran across a number of folks who were having the same problem. However, such a simple thing can be non-trivial when dealing with the BI Publisher Template Builder plugin for Microsoft Office ( available from Oracle - see BI Publisher Desktop). Under normal circumstances, it is fairly easy in Microsoft Word to reset page numbering when starting a new section of your document. Resetting Page Numbering Between Document Sections in BI Publisher’s Template Builder for Word






Page break in bi publisher rtf template