A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Issue with Section Odd Break and Pagination Restart



 
 
Thread Tools Display Modes
  #1  
Old December 31st, 2010, 11:34 AM
saravananiyyanar saravananiyyanar is offline
Member
 
First recorded activity by OfficeFrustration: Dec 2010
Posts: 1
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.