If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Issue with Section Odd Break and Pagination Restart
In MS Word, we introduced Section Odd Break at the end of first page and restarted the page numbers on the next page. The issue what we see is, the section odd break is not working as expected. When we tried printing or print preview the document, we don’t see an empty page between the first and second page that Section Odd Break would create.
We have a requirement that if the content of a chapter finishes with odd section break in an odd numbered page, then the back page should print as blank and the next chapter should print in the next odd page. If the content of a chapter finishes with odd section break in an even numbered page, then the next chapter should print in the next page. The functionality is working fine if we have continuous numbering between the chapters. But we did not get blank page if we restart the page numbers for chapters. We are reading xml using java and creating RTF document and please find the source code that we have: \par \b \i0 \ul0 \pard \qj \li0\ri0 \sb0 \fi0 OPINION \par \sect \sectd \marglsxn1296\sbknone { \header \pard }\pard \sect \sectd \marglsxn1296\sbkpage \pgnstarts1 \pgnrestart { \header \pard \fs20 \f1 Page \chpgn \qr \par } \sect \sectd \marglsxn1296\sbknone \f1 { \header \pard \fs20 \f1 Page \chpgn \qr \par \pard \f1 \fs20 \hyphpar0 2010 OPINION, *\qc \par } \sect \sectd \marglsxn1296\sbknone \pard \hyphpar0 \qj \li0\ri0 \sb0 \fi0 {\*\shppict{\pict\pngblip 89504e470d0a1a0a0000000d49484452000000ee...}} \par \pard \par \pard \hyphpar0 \qc \li0\ri0 \sb0 \fi0 2 of 23 DOCUMENTS \par \pard For our requirement, we tried replacing \sbkpage as \sbkodd and it does not work with \sbkodd \pgnstarts1 \pgnrestart (section odd break and pagination restart combination) Section odd break works as expected if we dont have pagination restart for the next chapter. Any suggestion on this issue is much appreciated. Thanks |
Thread Tools | |
Display Modes | |
|
|