Description
Create a new Plugin to generate PDF of TIki Pages. PDF generation has been moved to mPDF and now we are to develop a new pluginPDF for TIKI. The plugin will have all existing features and we will enhance it further in the PluginPDF.
Tiki Admin
Tiki Admin should have a page for PDF generation global settings. Users can override settings and in future versions users can also save their own preset for PDF generation.
Plugin Settings
Dimensions: Landscape or Portrait (default portrait)
Margins: Left : Right : Top: Bottom (same or different values can be setup)
Page Size: (page break) Different presets can be setup like A3, A4, Legal etc.
Page Break: special tag
Header Settings
Wikipage XYZ or we can give following options to build header (can build multiple headers and give option to select in future)
Height:
Background color:
Background Image:
Repeat Image:
Tagline Text Color
Tagline Text Font Size, Type
Tagline Text align: Left : Right , Top : Bottom
Tagline Text : Text field
Padding: left: right: top: bottom
Logo Image / Text : Text or Upload Image
Logo Align: Left : Right : Center
Logo Padding: Left: Right: Top: Bottom
Skip Header on first page: True : False
Footer Settings
Height:
Background Color:
Background Image:
Background Image Repeat:
Copyright Text Color
Copyright Text Font Size, Type
Copyright Text align: Left : Right , Top : Bottom
Copyright Text : Text field
Copyright left: right: top: bottom
Paging Format:
Paging alignment: left:right:top:bottom
Enable Paging: Yes No
TOC: Enable / Disable
TOC: Styling
User Side
User will have an option for Advanced PDF generation which will open a new page where the user can change PDF Settings (pre defined by the admin) and also preview the PDF.
PDF Previewer
PDF preview will show the PDF to be generated and User to be able to modify settings and see the changes in real time.