ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / PDF Reader control
  • Overview
  • Ribbon: "View" tab
  • "General" group
  • "Clipboard" group
  • "Zoom" group
  • "Display mode" group
  • "Pages" group
  • "Tools" group
  • Ribbon: "Find" tab
  • Ribbon: "Edit" tab
  • "Rotation" group
  • "Pages" group
  • "Insert" group
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
PDF Reader control: How to use the ribbon and tabs
Overview
The PDF Reader control includes multiple features accessible via:
  • The ribbon. Several tabs are available:
    • The "View" tab, which is used to perform the most common operations on the PDF file.
    • The "Find" tab, which is used to perform searches in the PDF file.
    • The "Edit" tab, which is used to edit the content of the PDF file.
  • The editor pane, which shows the thumbnails of the different pages.
Remark: A tooltip is displayed on the PDF Reader control scrollbar to allow you to see the current page number and the total number of pages at any time..
Ribbon: "View" tab
The "View" tab is used to perform the most common operations on a PDF file.
View tab
This tab contains the following groups:
  • General: Used to open, print or save a PDF document.
  • Clipboard: Used to manage the clipboard (copy).
  • Zoom: Used to manage the zoom on the PDF document.
  • Display mode: Used to manage the display options.
  • Pages: Used to move between the different pages of the PDF document.
  • Tools: Allows you to set the mouse action.

"General" group

The General group is used to open, print or save a PDF document.
General group
You can:
  • Open an existing PDF file.
    • When a PDF file is opened, the file permissions are preserved (copy, print, etc.).
    • If the PDF file is password-protected, the user is prompted to enter the password.
  • Print the current PDF file. The print configuration window is displayed (with a preview of the document).
    Print options
    You can configure:
    • the printer properties: Printer name, orientation, print mode, number of copies.
    • the pages to print: all pages, current page or a selection of pages (pages separated by "-" for a selection, pages separated by ',' for independent pages).
    • the page resizing: reducing oversized pages, adjusting the page or using the actual size. You can also choose the paper source according to the page format.
    You can also:
    • preview the different pages to print.
    • export as an email with the attached PDF file ("Export" button).
  • Save the current PDF file. This option allows you to save the PDF file with its changes (including page orientation). You can save the current file or use the "Save as" option.
    Remark: This feature is available from version 250064 (Update 2). If you use the default window, the change is automatically made when the project is recompiled. If you have customized the internal window, it is necessary to compare the differences between the "IW_WindevAAF_PDFReaderRibbon" internal window of the WDAAF component and the one in "Programs\Data\Preset Windows\EN\AAF". For more details, see Project comparator.
Remark: If the PDF file has been signed, the "View" tab displays specific information.
For more details, see Signing documents.

"Clipboard" group

The Clipboard group allows you to copy the contents of the selection.
Clipboard group
This content can then be pasted into another application (notepad, etc.).
Remarks:
  • You can copy content only if the open PDF file allows copying.
  • To select a section of the PDF document, you must be in "Selection mode".
  • The copy can also be performed via the context menu of the selection.

"Zoom" group

The Zoom group is used to set the zoom in a PDF document.
Zoom group
You can:
  • Display the PDF document at 100%.
  • Display the PDF document in order for the page width to be entirely displayed.
  • Display the PDF document in the format of full pages on the screen.
  • Customize the zoom.

"Display mode" group

The Display mode group is used to define the display options of the current PDF document.
Display Mode group
You can:
  • Display a single page.
  • Display two pages. In this case, you can use a cover page. The first page will be displayed on the right.
    Display in 2-page mode with cover page
Remark: displaying a cover automatically modifies the zoom in order to display the entire page.

"Pages" group

The Pages group is used to move within a PDF document.
Pages group
You can:
  • Show or hide the Thumbnails pane. This pane shows the different pages in the PDF document as thumbnails, and allows moving between them.
  • See the total number of pages in the document.
  • See the number of the current page.
  • Move through the different pages using the arrow buttons.

"Tools" group

The Tools group allows you to set the mouse action.
Tools group
  • If the "Move" tool is selected, the cursor changes to a hand icon and allows you to quickly move through the different pages of the PDF file.
  • If the "Select" tool is selected, the cursor allows you to select and highlight text. Depending on the file permissions, you can copy the selected text.
  • If the "OCR" tool is selected, you can drag over an area to run OCR. The content of the area is analyzed and the corresponding text is copied to the clipboard.
Ribbon: "Find" tab
The "Find" tab is used to perform searches in the current PDF document.
Find tab
To start the search, simply type the sought text in the search area. You can specify the search options:
  • Whole word only: Finds the specified word only. The words containing the specified word will not be found. For example, if the search is performed on "child" with the "Whole word only" option, "children" will not be found.
  • Match case: Distinguishes uppercase and lowercase letters in the search box. For example, if the search is performed on "child" with the "Case sensitive" option, "Child" will not be found.
You can use the arrows to move through the different search results. If the search is completed, a message is displayed.
Ribbon: "Edit" tab
The "Edit" tab allows you to edit the current PDF document.
This tab contains the following groups:
  • Rotation, which allows you to rotate the pages of the PDF document.
  • Pages, which allows you to delete or import pages.
  • Insert, which allows you to add a watermark or a signature.

"Rotation" group

The Rotation group allows you to rotate the pages of the PDF document.
You can rotate all the pages of the document displayed in the PDF reader.
Remarks:
  • To rotate the current page, open the context menu of the page and select the desired option.
  • You can save the document after applying the rotations ("Save" button in the "General" group).

"Pages" group

The "Pages" group allows you to insert or delete pages in the PDF document.
You can:
  • Delete the current page.
    Remark: The current page can be deleted from its context menu ("Delete page" option).
  • Delete a set of pages. In this case, a window opens to indicate:
    • the number of the page(s) to be deleted (separated by a semicolon),
    • the range of pages to be deleted: simply indicate the first and last page to be deleted.
    • the range of pages to be kept: in this case, all pages will be deleted EXCEPT the specified range.
  • Import pages: The import configuration window allows you to:
    • select the PDF file that contains the pages to be imported.
    • indicate the pages to be imported. You can import one or multiple pages, a range of pages or all the pages.
    • indicate the position of the imported pages: at the beginning or end of the document, or before the current page.
You can save the document with the changes made ("Save" button in the "General" group).

"Insert" group

The "Insert" group allows you to insert a watermark or a signature in the PDF document.
You can:
  • Add a watermark.
  • Add one or more handwritten signatures.
  • Add one or more digital signatures.
Adding a watermark
When the "Add a watermark" option is selected, a window opens to indicate:
  • the positioning of the watermark.
  • the watermark text.
  • the font, size and color of the text.
    Caution: the font must already be used in the PDF file. Otherwise, "Arial" will be automatically used.
  • the watermark transparency options.
Adding one or more handwritten signatures
To include handwritten signatures, expand "Handwritten signature".
You can:
  • Add a new signature.
  • Use an existing signature.
  • Delete an existing signature.
When a signature is added, a specific window appears. This window allows you to:
  • Select the image file that contains the signature.
  • Sign using the mouse or a stylus.
    In this case, the color of the pen cannot be changed.
  • Write the signature in a text area, choosing the font, size, etc.
When an existing signature is selected, it appears in the current page of the PDF Reader control. It can be moved and positioned.
This allows you to use multiple handwritten signatures: a full signature and initials, for example. The initials can be positioned at the lower-right of the different pages.
Adding a digital signature
In this case, a PDF signing certificate is required.
When adding a digital signature, a specific window appears.
This window is used to:
  • Select the certificate to sign the PDF file.
  • Select the handwritten signature to be associated with the digital signature.
Caution:
  • A digital signature requires a signing certificate and a handwritten signature.
  • For Acrobat to recognize a signed PDF file, the organization that creates the certificate must be in the Adobe Approved Trust List or in the Certified Document Services program (CDS).
When a digitally signed PDF file is opened, a message appears at the upper-left corner of the PDF Reader control. Users can view the characteristics of the signature by clicking the message.
Saving a document that contains signatures
You can save the document with the changes made ("Save" button in the "General" group).
Opening a document that contains digital signatures:
When opening a digitally signed PDF file, a new area appears under the "View" tab, indicating that the document is signed.
Users can click the "signature" link to see the details of the signature.
In this window, the user can click the link to see the details of the certificate.
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help