#1
|
|||
|
|||
How do I set "insert page break after" as a style formatting feature?
Hi all,
I'm formatting a large document in Word (Office for Mac 2011) and have a question about page breaks. In formatting paragraph styles, there's the option to "insert page break before". But how do I set "insert page break after" as a style feature? Can't find the option anywhere. Thanks. |
#2
|
|||
|
|||
Sorry no can do. Styles reflect current and previous states. They are not forward looking. The document model makes an assumption the next paragraph is the SAME style.
|
#3
|
|||
|
|||
Thanks fumei -
I understand your point but in fact it is possible to set "style for following paragraph" as a feature. In that way Word seems to know what's coming up next and can forward-format. Well if you have any further advice - basically I have parts of text in a long document that I want to stand alone on one page. I have created a style for this special paragraphs and enabled "page break before", but for now I have to manually add a page break after each of these sections. Just wondering if there's a workaround. |
#4
|
|||
|
|||
Well yes you can set a style for the following, but the DEFAULT is to use the same. However, this is still not forward looking for the style format in question. It simply states what style to use, but says nothing about what the settings are for that style.
However, you could use your special paragraph (with the page break before) follow with another special style that ALSO does a page break before. Thus the text will have breaks before and after. Again, AFAIK there is no setting for a following break (within a style), for the reasons stated. Otherwise using the Enter key to go to a new paragraph (even using the same style) would ALWAYS make a page break. This would be very very unusual typography. For that reason if you DID use a following style with another page break before, you would be limited to one paragraph per page. Last edited by fumei; 09-22-2013 at 09:33 PM. |
#5
|
||||
|
||||
Hmm, I would say that the settings in each particular style are the default. What Word assumes when you initially create a style is not really relevant.
The problem here is that "Page break after" simply isn't supported. I can certainly see that it would be useful at times.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#6
|
|||
|
|||
You could write a macro to scan the document and set a page break before for each paragraph following your style. The code below is probably not the most elegant but would do the job.
Sub myPageBreakAfter() Dim myParagraph As Paragraph Dim LastParaIsMyStyle As Boolean LastParaIsMyStyle = False For Each myParagraph In ActiveDocument.Paragraphs If LastParaIsMyStyle Then myParagraph.PageBreakBefore = True End If If myParagraph.Style = "mySpecialStyleName" Then LastParaIsMyStyle = True Else LastParaIsMyStyle = False End If End Sub |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
Quote:
|
Tags |
formatting, page breaks, styles |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"First column" in word table page break border | mj1856 | Word Tables | 1 | 04-25-2012 03:21 AM |
why the "section break-next page" is switched to "section break-continuous"? | Jamal NUMAN | Word | 6 | 12-14-2011 03:35 PM |
why the "page break" notation appears improperly? | Jamal NUMAN | Word | 1 | 07-19-2011 03:39 AM |
"Table of content" based on "Normal Style" behavior!!!! | Jamal NUMAN | Word | 4 | 07-08-2011 04:12 AM |
Formatting of TOC's generated based on the "Caption" style | JustinWord1000 | Word | 1 | 02-15-2011 03:13 PM |