← Back
Editing: doctemplate.cpython-311.pyc
� ~G�b�� � � � d Z dZdZddlT ddlmZ ddlmZ ddlmZ ddl m Z dd lmZm Z dd lZddlmZ ddlmZmZmZmZmZ e n# e$ r dd lmZ Y nw xY wdd lZdd lZ ej d� � Z G d� de � � Z!d� Z"d� Z# G d� de$� � Z% G d� de&� � Z' G d� de&� � Z( G d� de(� � Z) G d� de(� � Z* G d� de(� � Z+ G d� d e*� � Z, G d!� de(� � Z) G d"� d#e*� � Z- e-d$� � Z. e*d%� � Z/d&� Z0 G d'� d(e&� � Z1 G d)� d*e1� � Z2 G d+� d,e1� � Z3 G d-� d.e(� � Z4 G d/� d0� � Z5d1� Z6 G d2� d3e7� � Z8 G d4� d5� � Z9d6� Z: G d7� d8� � Z; G d9� d:e;� � Z<d;� Z=e>d<k rdd=l?m@Z@mAZA d>� ZBd?� ZCd@� ZD eD� � d S d S )A)�ActionFlowable�BaseDocTemplate�CurrentFrameFlowable�FrameActionFlowable� FrameBreak�Indenter�IndexingFlowable�LayoutError�LCActionFlowable�NextFrameFlowable�NextPageTemplate�NotAtTopPageBreak�NullActionFlowable�PageAccumulator� PageBegin�PageTemplate�SimpleDocTemplatez3.5.20a> This module contains the core structure of platypus. rlatypus constructs documents. Document styles are determined by DocumentTemplates. Each DocumentTemplate contains one or more PageTemplates which defines the look of the pages of the document. Each PageTemplate has a procedure for drawing the "non-flowing" part of the page (for example the header, footer, page number, fixed logo graphic, watermark, etcetera) and a set of Frames which enclose the flowing part of the page (for example the paragraphs, tables, or non-fixed diagrams of the text). A document is built when a DocumentTemplate is fed a sequence of Flowables. The action of the build consumes the flowables in order and places them onto frames on pages as space allows. When a frame runs out of space the next frame of the page is used. If no frame remains a new page is created. A new page can also be created if a page break is forced. The special invisible flowable NextPageTemplate can be used to specify the page template for the next page (which by default is the one being used for the current frame). � )�*)�_ContainerSpace)�inch)� Paragraph)�Frame)�defaultPageSize�verboseN)�canvas)�isSeq�encode_label�decode_label�annotateException�strTypes)�Setzreportlab.platypusc � � e Zd ZdS )r N)�__name__� __module__�__qualname__� � �@/usr/lib/python3/dist-packages/reportlab/platypus/doctemplate.pyr r D s � � � � � ��Dr'