PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
The ComPDF Flutter SDK allows you to configure the bottom menu in Page Editing mode via CPDFConfiguration.
Configure it through CPDFConfiguration.globalConfig.pageEditor. If you do not provide this configuration, the SDK shows insertPage, replacePage, extractPage, copyPage, rotatePage, and deletePage by default.
CPDFConfiguration(
globalConfig: const CPDFGlobalConfig(
pageEditor: CPDFPageEditorConfig(
menus: [
CPDFPageEditorMenus.insertPage,
CPDFPageEditorMenus.rotatePage,
CPDFPageEditorMenus.deletePage,
]
)
)
)Example:
| Android | iOS |
|---|---|
![]() | ![]() |
Available Menu Options
| Option | Description |
|---|---|
insertPage | Insert pages into the document. |
replacePage | Replace selected pages. |
extractPage | Extract selected pages into a new document. |
copyPage | Copy selected pages. |
rotatePage | Rotate selected pages. |
deletePage | Delete selected pages. |