| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/reportlab/platypus/__pycache__/ |
Upload File : |
�
~G�b�+ � � � d Z dZdZddlZ ej d� � ZdZddlmZ ej Z G d� d � � Z
G d
� d� � ZdS )z3.5.14z.A frame is a container for content on a page.
)�ShowBoundaryValue�Frame� Nzreportlab.platypus)�x1�y1�width�height�leftPadding�
bottomPadding�rightPadding�
topPadding)� rl_configc � � e Zd Zdd�Zd� ZdS )r �r r r 皙�����?Nc �0 � || _ || _ || _ d S �N)�colorr � dashArray)�selfr r r s �;/usr/lib/python3/dist-packages/reportlab/platypus/frames.py�__init__zShowBoundaryValue.__init__ s � ���
���
�"����� c �* � | j d uo
| j dk S )Nr )r r �r s r �__bool__zShowBoundaryValue.__bool__ s � ��z��%�7�$�*�a�-�7r )r r N)�__name__�
__module__�__qualname__r r � r r r r s7 � � � � � �#� #� #� #�
8� 8� 8� 8� 8r r c � � e Zd ZdZ dd�Zd� Zd� Zd� Zd � Zd
� Z d� Z
d� Zdd
�ZeZ
d� Zed� � � Zdd�Zd� Zd� Zd� ZdS )r ah
A Frame is a piece of space in a document that is filled by the
"flowables" in the story. For example in a book like document most
pages have the text paragraphs in one or two frames. For generality
a page might have several frames (for example for 3 column text or
for text that wraps around a graphic).
After creation a Frame is not usually manipulated directly by the
applications program -- it is used internally by the platypus modules.
Here is a diagramatid abstraction for the definitional part of a Frame::
width x2,y2
+---------------------------------+
| l top padding r | h
| e +-------------------------+ i | e
| f | | g | i
| t | | h | g
| | | t | h
| p | | | t
| a | | p |
| d | | a |
| | | d |
| +-------------------------+ |
| bottom padding |
+---------------------------------+
(x1,y1) <-- lower left corner
NOTE!! Frames are stateful objects. No single frame should be used in
two documents at the same time (especially in the presence of multithreading.
� Nr c
�J � | | _ || _ || j d<