Difference between revisions of "Documentation/FAQ/Writer/FormattingPagesAndDocuments/How do I get my page count to not count my title page? (How do I offset the page count?)"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE: How do I get my page count to not count my title page? (How do I offset the page count?)}} <section begin=question/> '''How do I get my page count to not count my title pa...)
 
m
 
Line 8: Line 8:
 
If you have a title page or cover page in your document, Writer's "page count" field still counts those pages and will be too high.
 
If you have a title page or cover page in your document, Writer's "page count" field still counts those pages and will be too high.
  
Unfortunately, you can't offset the "page count" field. So we're going to use a formula, instead, to insert a proper page count. Here's what you need to do:
+
Unfortunately, you <font color="red">can't</font> offset the "page count" field. So we're going to use a formula, instead, to insert a proper page count. Here's what you need to do:
  
 
# Place the cursor where you want to insert the page count (perhaps in your header).
 
# Place the cursor where you want to insert the page count (perhaps in your header).
# Press the F2 key to bring up the formula bar. Type in the formula "=page - 1" (the "=" will already be in there). The "page" variable is the number of pages in the document, not the page you're currently on. Subtract the number of pages that you don't want to have counted in the page count (in this example, 1, for a title page).
+
# Press the {{key|F2}} key to bring up the formula bar. Type in the formula "<font color="darkblue">=page - 1</font>" (the "=" will already be in there). The "page" variable is the number of pages in the document, not the page you're currently on. Subtract the number of pages that you don't want to have counted in the page count (in this example, 1, for a title page).
# Press the Enter key to insert the formula.
+
# Press the {{key|Enter}} key to insert the formula.
# Choose Tools > Update > Fields from the menu (or press F9) to force the formula to refresh. (Otherwise, the page count formula will just be 0.)
+
# Choose {{menu|Tools|Update|Fields}} from the menu (or press {{key|F9}}) to force the formula to refresh. (Otherwise, the page count formula will just be 0.)
# To edit this formula again later, place the cursor immediately before the formula, and press F2.
+
# To edit this formula again later, place the cursor immediately before the formula, and press {{key|F2}}.
  
Note: Every time the page count changes, you'll need to refresh the formula again.
+
{{Note|Every time the page count changes, you'll need to refresh the formula again.}}
  
 
<section end=answer/>
 
<section end=answer/>
  
 
[[Category:Documentation/FAQ/Writer/FormattingPagesAndDocuments]]
 
[[Category:Documentation/FAQ/Writer/FormattingPagesAndDocuments]]

Latest revision as of 14:26, 22 July 2022


How do I get my page count to not count my title page? (How do I offset the page count?)


If you have a title page or cover page in your document, Writer's "page count" field still counts those pages and will be too high.

Unfortunately, you can't offset the "page count" field. So we're going to use a formula, instead, to insert a proper page count. Here's what you need to do:

  1. Place the cursor where you want to insert the page count (perhaps in your header).
  2. Press the  F2  key to bring up the formula bar. Type in the formula "=page - 1" (the "=" will already be in there). The "page" variable is the number of pages in the document, not the page you're currently on. Subtract the number of pages that you don't want to have counted in the page count (in this example, 1, for a title page).
  3. Press the  ↵ Enter  key to insert the formula.
  4. Choose Tools → Update → Fields from the menu (or press  F9 ) to force the formula to refresh. (Otherwise, the page count formula will just be 0.)
  5. To edit this formula again later, place the cursor immediately before the formula, and press  F2 .
Documentation note.png Every time the page count changes, you'll need to refresh the formula again.


Personal tools