Download ReportLab PDF Generation User Guide
Transcript
User Guide Table of contents 3.3 Using non-standard Type 1 fonts . . . 3.4 Standard Single-Byte Font Encodings 3.5 TrueType Font Support . . . . . . . . 3.6 Asian Font Support . . . . . . . . . . 3.7 RenderPM tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 4 Exposing PDF Special Capabilities 4.1 Forms . . . . . . . . . . 4.2 Links and Destinations . 4.3 Outline Trees . . . . . . 4.4 Page Transition Effects . 4.5 Internal File Annotations 4.6 Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 . 54 . 56 . 56 . 56 . 57 Chapter 5 PLATYPUS - Page Layout and Typography Using Scripts 59 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 . . . . . . 5.1 Design Goals . . . . . . . . . . . 5.2 Getting started . . . . . . . . . . 5.3 Flowables . . . . . . . . . . . . . 5.4 Guidelines for flowable positioning 5.5 Frames . . . . . . . . . . . . . . 5.6 Documents and Templates . . . . . . . . . . . 48 . 49 . 51 . 52 . 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 6 Paragraphs 66 6.1 Using Paragraph Styles . . . . . 6.2 Paragraph XML Markup Tags . . 6.3 Intra-paragraph markup . . . . . 6.4 Bullets and Paragraph Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 7 Tables and TableStyles 7.1 Table User Methods . . 7.2 TableStyle . . . . . . . 7.3 TableStyle User Methods 7.4 TableStyle Commands . . 59 . 60 . 61 . 61 . 62 . 63 . . . . . . . . . . . . . 66 . 70 . 71 . 74 76 . . . . . . . . . . . . Chapter 8 Programming Flowables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 . 77 . 77 . 77 82 8.1 DocAssign(self, var, expr, life='forever') . . . . . . . . . . . . . . . . . 82 8.2 DocExec(self, stmt, lifetime='forever') . . . . . . . . . . . . . . . . . . 82 8.3 DocPara(self, expr, format=None, style=None, klass=None, escape=True)82 Page 3