Fix Word Chapter Formatting Changes and Unwanted Landscape Pages
Question details
The user needs to prevent book chapters from changing layouts, margins, or switching to landscape orientation when exporting a Word document to PDF.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Formatting a book template and exporting the final multi-chapter document to PDF.
- Observed behavior
- The exported PDF exhibits altered margins, inconsistent layouts, and sudden changes to landscape orientation caused by unwanted section breaks or direct formatting conflicts.
Turn on formatting marks in your document so you can easily locate and visualize hidden section breaks, page breaks, and paragraph markers before making changes.
Remove Unintended Section Breaks and Standardize Page Setup
Hidden section breaks often carry their own independent page setup rules, which can cause subsequent pages to unexpectedly switch to landscape orientation during export.
Section breaks allow different parts of a document to have distinct formatting. If a section break is accidentally inserted with a landscape orientation applied to the next section, the PDF export will reflect this change. Removing the rogue breaks unifies the document layout.
Navigate to the Home tab and click the Show/Hide ¶ icon in the Paragraph group to display hidden formatting symbols.
Scroll through the end of the problematic chapter or the page just before the landscape orientation begins, looking for a double-dotted line labeled 'Section Break (Next Page)'.
Place your cursor directly before the section break and press the Delete key on your keyboard to remove it.
Go to the Page Layout (or Layout) tab, click Orientation, and select Portrait. Ensure that this is applied to the entire document by checking the Page Setup dialog box settings.

Clear Direct Formatting and Apply Consistent Styles
Direct formatting overrides can cause inconsistent margins and layouts during PDF conversion. Applying standard styles ensures structural stability.
Use an Alternative PDF Export Method
The standard 'Save As PDF' engine can sometimes misinterpret complex document setups. Using a print-to-PDF method can bypass these rendering glitches.
Keep Layouts Intact with WPS Office PDF Export
WPS Writer offers an advanced, highly stable PDF export feature that ensures your book templates, margins, and page orientations look exactly as they do on your screen without unexpected layout shifts.
- 1. Open your document: Launch WPS Office and open your .docx book template or multi-chapter file.
- 2. Verify your layout: Use the Page Layout tab to quickly double-check your margins, paper size, and page orientation.
- 3. Export to PDF: Go to the Menu in the top-left corner, select 'Export to PDF', configure your desired quality settings, and click Export.

Frequently Asked Questions
Why does my Word document randomly change to landscape?
This usually occurs because a hidden 'Section Break' has been inserted, and the new section has been configured with landscape orientation. You can fix this by enabling formatting marks, locating the section break, and either deleting it or changing the page setup for that specific section back to portrait.
How do I apply portrait orientation to my entire document at once?
Go to the Layout (or Page Layout) tab, click the small launcher arrow in the bottom right corner of the Page Setup group to open the dialog box. Select Portrait, and from the 'Apply to' dropdown menu at the bottom, select 'Whole document', then click OK.
Can paragraph styles cause unwanted page breaks in a PDF?
Yes. If a paragraph style (such as a Heading) has the 'Page break before' option enabled in its paragraph settings, it will force the text to start on a new page. This is useful for chapter titles but can disrupt the layout if accidentally applied to normal text.
Why do my margins change when I save as PDF?
Changes in margins during PDF conversion are often caused by the document being scaled for the printer's default paper size (like A4 vs. Letter) or by unaccepted Track Changes. Ensure your document paper size matches your intended PDF output and that all tracked changes are resolved before exporting.




