Defining a page group
- Open a PDF file in Adobe Acrobat Professional and click to make the plug-in the active tool.
- To define a text-based page group, draw a box around the target text. Otherwise, draw a box anywhere on the page.
- Click Define Page Group.
- Either accept or change the default page group name. We recommend that you use the default name, so that anyone working on the PDF file can easily see where the page group boundary is defined. If you do change the name, do not use spaces or special characters (such @, #, $, and %). You can use periods and underscores.
- For text-based page groups, you can alter the location and size of the enclosing box by entering values for Horizontal and Vertical coordinates, Width, and Height. The position and size of the box are adjusted after you click OK.
- From the Page Groups list, select one of these options:
- Treat entire PDF as a single page group: Creates a single page group that includes all processed pages.
- Create fixed-length page groups: Creates page groups of specific lengths based on the value of the Page Group Length property. Page grouping starts on page 1 of the PDF file.
For example, select 5 to create page groups for pages 1–5, 6–10, 11–15, and 16–18 in an 18–page PDF file.
- Begin page group when the selected text is found: Creates page groups based on text that you select. Any page with the selected text
inside the box you drew becomes the first page of a new page group.
For example, select Page 1 of to create a new page group each time that RICOH ProcessDirector Plug-in for Adobe Acrobat finds the text Page 1 of inside the box you drew.
Note: Characters in a PDF file have white space enclosing them. Make sure that the Selected Text field does not include characters — such as white-space characters — that you do not want. If it does, cancel the page group definition and redraw the box around the text. - Begin page group when the specified text is found: Creates page groups based on text that you specify. Any page with the specified
text inside the box you drew becomes the first page of a new page group. The text
does not need to be on the same page as the box you drew.
From the Match method list, select one of these options:
-
Match text exactly: Matches the exact text that you specify.
-
Match text containing: Matches the text that you specify to a portion of the text in the box you drew. The text that you specify does not need to be in the same location on each page.
For example, use this option to create a new page group each time that RICOH ProcessDirector Plug-in for Adobe Acrobat finds the text Page 1 of anywhere inside the box you drew. The box can contain other text. Page 1 of 4 and This is Page 1 of 4 found in the box both match the specified text Page 1 of.
-
Match text using wildcards [* or ?]: Matches the text that you specify, which includes wildcard characters, by interpreting the wildcard characters as any characters. The asterisk (*) matches zero or more characters. The question mark (?) matches a single character.
For example, the first page of each mail piece has an account number that starts with A followed by seven digits. The position of the account number varies on each statement. You draw a box large enough to include the account number on all the statements and type A??????? as the value of the Specify text to match property. RICOH ProcessDirector Plug-in for Adobe Acrobat starts a new page group on each page with an account number like A1265581 or A6428229.
Note: If you typed A??????* as the value of the Specify text to match property, RICOH ProcessDirector Plug-in for Adobe Acrobat would start a new page group when it finds account numbers with six or more digits. -
Match text using a Java regular expression: Matches the Java regular expression that you specify.
For example, each mail piece is in one of two languages: English or Spanish. You type (Page 1 of).*|(Página 1 de).* as the value of the Specify text to match property. RICOH ProcessDirector Plug-in for Adobe Acrobat starts a new page group when the text found is Page 1 of followed by any number of characters or Página 1 de followed by any number of characters. Examples: Page 1 of, Page 1 of 6, Página 1 de 2, or Página 1 de 10.
Note: For more information, see the Java documentation for the java.util.regex.Pattern class.
-
- Begin page group when text in selected area changes: Creates page groups when text inside the box you drew changes. The page with the
changed text becomes the first page of a new page group.
For example, you draw a box around an account name. RICOH ProcessDirector Plug-in for Adobe Acrobat creates a page group each time a new account name appears in the box you drew.
Important: When you draw the box for this type of page group, make sure that the location of the box on every page encompasses only the text to evaluate or white space (no text). If other text appears in the box, unwanted page groups are identified. Pages that contain white space, in the location of the box, do not start a new page group. - Begin page group when text or drawn objects are detected: Creates page groups when either a graphic object or text is enclosed in the box
you drew. If the box you drew does not contain the text or entire graphic, then the
page is not the start of a new page group.
Note: Not all marks are graphics. Some marks are image data.
- Click OK.
- Click and verify that the page groups begin on the correct pages.If text-based page groups do not begin on the correct pages, the box you drew might not be the correct size for the text you selected or specified. Inspect the page groups to see if you can find the problem. Then redraw the box, change the text, or both.
- Edit the page group definition by double-clicking the box representing the page group, or by clicking and then double-clicking the page group name.
- When you are ready to save all your enhancements to the PDF file, including the new page group definition, click .