+
    bIiC                     `   R t RtRt^ RIHt ^ RIHtHtHtH	t	 ^ R	I
Ht ^ R
IHtHtHtHtHtHtHtHtHtHt H!t"H#t$H%t& ]! ]^^ 4      t']! ]^ ^4      t(]! ]^^4      t) ! R R4      t* ! R R]*4      t+],! ]]]]]	R7      3R lt- ! R R]*4      t. ! R R]*4      t/]0! 4       t1 ! R R4      t2R t3R t4R# )z3.3.0a  Classes for ParagraphStyle and similar things.

A style is a collection of attributes, but with some extra features
to allow 'inheritance' from a parent, and to ensure nobody makes
changes after construction.

ParagraphStyle shows all the attributes available for formatting
paragraphs.

getSampleStyleSheet()  returns a stylesheet you can use for initial
development, with a few basic heading and text styles.
PropertySetParagraphStyle	LineStyle	ListStyleStyleSheet1)black)TA_LEFT	TA_CENTERTA_RIGHT
TA_JUSTIFY)tt2ps)canvas_basefontnameunderlineWidthunderlineOffsetunderlineGapstrikeWidthstrikeOffset	strikeGapspaceShrinkageplatypus_link_underlinehyphenationLanghyphenationMinWordLengthuriWasteReduceembeddedHyphenationc                   T   a  ] tR t^3t o / tR	R ltR tR tR tR
R lt	R	R lt
RtV tR# )r   Nc                   RV P                   9  g   Q R4       hRV P                   9  g   Q R4       hV'       dS   VP                  V P                  8X  g8   Q RVP                  P                  : RV P                  P                  : 24       hWn        W n        V P
                  P                  V P                   4       V P                  4        V P                  ! R/ VB  R# )	zWhen initialized, it copies the class defaults;
then takes a copy of the attributes of the parent
if any.  All the work is done in init - styles
should cost little to use at runtime.namez1Class Defaults may not contain a 'name' attributeparentz3Class Defaults may not contain a 'parent' attributezParent style z# must have same class as new style N )	defaults	__class____name__r   r   __dict__updaterefresh_setKwds)selfr   r   kws   &&&,}C:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO CLAUDE\MAESTRO\maestro-backend\venv\Lib\site-packages\reportlab/lib/styles.py__init__PropertySet.__init__6   s     T]]*_,__*t}},c.cc,##t~~5  dqw  rB  rB  rK  rK  LP  LZ  LZ  Lc  Lc  8d  d5 	T]]+
 	    c                T    VP                  4        F  w  r#W0P                  V&   K  	  R # N)itemsr"   )r&   r'   keyvalues   &,  r(   r%   PropertySet._setKwdsL   s     ((*JC"']]3 %r+   c                T    R V P                   P                  : RV P                  : R2# )<z 'z'>)r    r!   r   r&   s   &r(   __repr__PropertySet.__repr__Q   s    "nn55tyyAAr+   c                    V P                   '       dG   V P                   P                  P                  4        F  w  rVR9  g   K  W P                  V&   K  	  R# R# )zsre-fetches attributes from the parent on demand;
use if you have been hacking the styles.  This is
used by __init__Nr   r   )r   r"   r.   )r&   r/   r0   s   &  r(   r$   PropertySet.refreshT   sF     ;;;"kk2288:
00).MM#& ; r+   c                   \        VR ,           V P                  4       \        VR,           V P                  4       \        V P                  P                  4       4      pVP                  4        VP                  R4       VP                  R4       V F7  pV P                  P                  VR4      p\        W: RV: 2,           4       K9  	  R# )zname =zparent =r   r   Nz = )	printr   r   listr"   keyssortremoveget)r&   indentkeylistr/   r0   s   &&   r(   	listAttrsPropertySet.listAttrs]   s    fx+fz!4;;/t}}))+,vx CMM%%c40E&U334 r+   c                    V P                  W4      pV P                  P                  4       Vn        Wn        VR J ;'       d    T ;'       g    TVn        VP
                  ! R/ VB  V# )Nr   )r    r"   copyr   r   r%   )r&   r   r   kwdsrs   &&&, r(   clonePropertySet.cloneh   sX    NN4']]'')
T>**d44f	

Tr+   r8   r-   ) )r!   
__module____qualname____firstlineno__r   r)   r%   r5   r$   rC   rI   __static_attributes____classdictcell____classdict__s   @r(   r   r   3   s.     H,(
B/	5 r+   c                   
   ] tR t^pt/ R]bR^
bR^bR^ bR^ bR^ bR]bR^ bR	^ bR
]bR^
bR^ bR]bRRbRRbR^ bR^ b/ R^ bRRbRRbR^bR^ bRRbRRbR^bR]bRRbR^ bR^ bR ]bR!]	bR"]
bR#]bR$]bCR%]R&]R'RR(RR)]R*]R+]/CtR,tR# )-r   fontNamefontSizeleading
leftIndentrightIndentfirstLineIndent	alignmentspaceBefore
spaceAfterbulletFontNamebulletFontSizebulletIndent	textColor	backColorNwordWrapshapingborderWidthborderPaddingborderColorborderRadiusallowWidowsallowOrphanstextTransformendDotssplitLongWordsr   bulletAnchorstartjustifyLastLinejustifyBreaksr   r   r   r   r   r   linkUnderlineunderlineColorstrikeColorr   r   r   r   )r!   rL   rM   rN   _baseFontNamer   r   _baseUnderlineWidth_spaceShrinkage_baseStrikeWidth_baseUnderlineOffset_baseUnderlineGap_baseStrikeOffset_baseStrikeGap_platypus_link_underline_hyphenationLang_embeddedHyphenation_uriWasteReducer   rO   r   r+   r(   r   r   p   s   1
=1
21
 	"1
 	Q	1

 	a1
 	!1
 	G1
 	a1
 	Q1
 	1
 	1
 	q1
 	U1
 	D1
  	4!1
( 	1)1
* 	q+1
, 	-1
. 	t/1
0 	11
2 	q31
4 	51
6 	71
8 	$91
> 	?1
@ 	-A1
B 	C1
D 	1E1
F 	G1
H 	/I1
J 	'K1
L 	/M1
N 	)O1
P 	)Q1
R 	^1Dt+3/a1
Hr+   )centrecenterleftrightjustifyc                 l    VP                  V P                  4       R 4      pVf   \        V : R24      hV# )Nz is illegal value for alignment)r@   lower
ValueError)v__map___s   && r(   str2alignmentr      s6    
 	AGGId#Ay
aU*I#JKKHr+   c                   2   a  ] tR t^t o R^R]/tR tRtV tR# )r   widthcolorc                (    VP                  ^4       R# )zCYou can ask a LineStyle to set up the canvas for drawing
the lines.N)setLineWidth)r&   canvass   &&r(   prepareCanvasLineStyle.prepareCanvas   s     	Ar+   r   N)	r!   rL   rM   rN   r   r   r   rO   rP   rQ   s   @r(   r   r      s      
H r+   c                   >    ] tR t^t]! ^^ RR]R^^ RRRRR7      tRtR# )	r   r   1	HelveticaautoltrN)rW   rX   bulletAlign
bulletTypebulletColorr]   r^   bulletOffsetYbulletDedent	bulletDirbulletFormatrn   r   )r!   rL   rM   rN   dictr   r   rO   r   r+   r(   r   r      s0    "!*!#!Hr+   c                   ^   a  ] tR t^t o RtR tR t]3R ltR t	R t
RR ltR	 tR
 tRtV tR# )r   a  
This may or may not be used.  The idea is to:

1. slightly simplify construction of stylesheets;

2. enforce rules to validate styles when added
   (e.g. we may choose to disallow having both
   'heading1' and 'Heading1' - actual rules are
   open to discussion);
   
3. allow aliases and alternate style lookup
   mechanisms
   
4. Have a place to hang style-manipulation
   methods (save, load, maybe support a GUI
   editor)

Access is via getitem, so they can be
compatible with plain old dictionaries.
c                "    / V n         / V n        R # r-   )byNamebyAliasr4   s   &r(   r)   StyleSheet1.__init__   s    r+   c                     V P                   V,          #   \         d9     T P                  T,          u #   \         d    \        R T,          4      hi ; ii ; i)z"Style '%s' not found in stylesheet)r   KeyErrorr   r&   r/   s   &&r(   __getitem__StyleSheet1.__getitem__   s_    	K<<$$ 	KK{{3'' KCcIJJK	Ks    A6AAAc                R     W,          #   \          d    T\        8w  d   Tu # h i ; ir-   )r   _stylesheet1_undefined)r&   r/   defaults   &&&r(   r@   StyleSheet1.get   s.    	9 	..w	s   
 &&c                J    WP                   9   ;'       g    WP                  9   # r-   r   r   r   s   &&r(   __contains__StyleSheet1.__contains__   s    ll"88c[[&88r+   c                
    W9   # r-   r   r   s   &&r(   has_keyStyleSheet1.has_key   s
    {r+   Nc                   VP                   pW0P                  9   d   \        R V,          4      hW0P                  9   d   \        RV,          4      hV'       dE   W P                  9   d   \        R V,          4      hW P                  9   d   \        RV,          4      hWP                  V&   V'       d   WP                  V&   R# R# )z(Style '%s' already defined in stylesheetz1Style name '%s' is already an alias in stylesheetz1Alias name '%s' is already an alias in stylesheetN)r   r   r   r   )r&   stylealiasr/   s   &&& r(   addStyleSheet1.add   s    jj++EKLL,,NQTTUU#IEQRR$RUZZ[[ C"'LL r+   c                z    W9   d   V P                  V4      # \        V P                  P                   R V: 24      h)z instance has no attribute )r@   AttributeErrorr    r!   )r&   as   &&r(   __getattr__StyleSheet1.__getattr__  s8    9TXXa[( 7 788STUSXYZZr+   c                V   \        V P                  P                  4       4      pVP                  4        / p\        V P                  P                  4       4       F	  w  r4W2V&   K  	  V F=  w  rTVP                  VR 4      p\        WS4       VP                  R4       \        4        K?  	  R # )Nz    )r<   r   r.   r>   r   r@   r;   rC   )r&   stylesaliir   r   r   s   &     r(   r<   StyleSheet1.list  s    dkk'')*"4<<#5#5#78NUK 9#MTHHUD)E$OOF#G	 $r+   r   r-   )r!   rL   rM   rN   __doc__r)   r   r   r@   r   r   r   r   r<   rO   rP   rQ   s   @r(   r   r      s>     *K 4 9("[
 
r+   c                      \        R R4      p \        V n        ^V n        RV n        V P                  4        \        4        \        RV 4      pRVn        VP                  4        W3# )NormalNg,@LiteralCourier)r   rt   rT   rU   rV   rC   r;   )pNormalpPres     r(   
testStylesr     s[    Xd+G$GGGO	G)W-DDMNN=r+   c                 4   \        4       p V P                  \        R\        ^
^R7      4       V P                  \        RV R,          ^R7      4       V P                  \        RV R,          \        R7      4       V P                  \        RV R,          \
        ^^^R7      R	R
7       V P                  \        RV R,          \
        ^^\        ^R7      RR
7       V P                  \        RV R,          \
        ^^^^R7      RR
7       V P                  \        RV R,          \        ^^^^R7      RR
7       V P                  \        RV R,          \        ^
^^
^R7      RR
7       V P                  \        RV R,          \
        ^	R^^R7      RR
7       V P                  \        RV R,          \
        ^R^^R7      RR
7       V P                  \        RV R,          ^ ^R7      RR
7       V P                  \        RV R,          ^ ^$^ ^\        R7      R R
7       V P                  \        R!V R,          R"^R#^ ^$R$R%7      4       V P                  \        R&R'^^ R(R)\        R*^^ R+R,R'R'R-7      R.R
7       V P                  \        R/R'^^ R(R)\        R*^^ R+R,R'R'R-7      R0R
7       V # )1zReturns a stylesheet objectr   )r   rT   rU   rV   BodyText)r   r   r[   Italic)r   r   rT   Heading1)r   r   rT   rU   rV   r\   h1)r   Title)r   r   rT   rU   rV   rZ   r\   titleHeading2)r   r   rT   rU   rV   r[   r\   h2Heading3h3Heading4h4Heading5g%@h5Heading6g @h6Bullet)r   r   rY   r[   bu
Definition)r   r   rY   rW   r_   r[   r]   dfCoder   g!@rK   )r   r   rT   rU   rV   rY   rW   r   UnorderedListNr   r   r   r   r   )r   r   rW   rX   r   r   r   r]   r^   r   r   r   r   rn   ulOrderedListol)
r   r   r   rt   _baseFontNameI_baseFontNameBr	   _baseFontNameBIr   r   )
stylesheets    r(   getSampleStyleSheetr   (  s!   JNN>x+8+-*,.  NN>z)3H)=./1  NN>x)3J)?-;= 
 NN>z)3H)=-;+-*,-.0    NN>w)3H)=-;+-*,,5-.0 !  " NN>z)3H)=-;+-*,.0-.0    NN>z)3H)=-<+-*,.0-.0    NN>z)3H)=-<+-*,.0-.0    NN>z)3H)=-;+,*../-.0    NN>z)3H)=-;+,*-./-.0    NN>x)3H)=23./1 	   NN>|)3H)=23-//0./1@B    NN>v)3H)=+4+,*-23-/246 7 NN9/'++-,-,2+.,1/:/1./-3*/-1&*  !  $ NN9-'++-,-,2+.,1/:/1./-3*/-1&*  !  " r+   N)r   r   r   r   r   r   r   )5__version__r   __all__reportlab.lib.colorsr   reportlab.lib.enumsr   r	   r
   r   reportlab.lib.fontsr   reportlab.rl_configr   rt   r   ru   r   rx   r   ry   r   rw   r   rz   r   r{   r   rv   r   r|   r   r}   r   _hyphenationMinWordLengthr   r   r   r~   r   r   r   r   r   r   r   r   r   objectr   r   r   r   r   r+   r(   <module>r      s    		
 ' H H %L L L L }Qq)}Qq)a*; ;z2
[ 2
h !&&"(	*       O ObLr+   