U o^@sddlmZddlmZmZddlmZddlmZddl m Z m Z ddl m Z ddlmZdd lmZmZmZmZmZGd d d eZd d ZGdddeZdS)) Serialisable)TypedAlias) ExtensionList) NestedBool)TextRichText)Layout)GraphicalProperties) ParagraphRegularTextRun LineBreakParagraphPropertiesCharacterPropertiesc@s|eZdZdZeeddZedZee ddZ e ddZ ee ddZedZeeddZedZeeddZdZd d d Zd S) TitletitleT) expected_type allow_nonetx)rspPrtxPr)rlayoutoverlayrrNcCs0|dkrt}||_||_||_||_||_dSN)rrrrrr)selfrrrrrextLstrn/private/var/folders/sd/whlwsn6x1_qgglc0mjv25_695qk2gl/T/pip-install-4zq3fp6i/openpyxl/openpyxl/chart/title.py__init__(szTitle.__init__)NNNNNN)__name__ __module__ __qualname__tagnamerrrrtextr rrrr rZgraphicalPropertiesr rbodyrrZ __elements__rrrrrrs$      rcs:t}tt_fdd|dD}||jj_|S)Ncs g|]}tt|dgdqS))t)rZpPr)r r ).0sZ parapropsrr >sztitle_maker.. )rrrZdefRPrsplitrZrichZ paragraphs)r$rZparasrr*r title_maker:s  r.cs$eZdZeZdZfddZZS)TitleDescriptorTcs(t|trt|}tt|||dSr) isinstancestrr.superr/__set__)rinstancevalue __class__rrr3Is zTitleDescriptor.__set__)r r!r"rrrr3 __classcell__rrr6rr/Dsr/N)Z!openpyxl.descriptors.serialisablerZopenpyxl.descriptorsrrZopenpyxl.descriptors.excelrZopenpyxl.descriptors.nestedrr$rr rr Zshapesr Zopenpyxl.drawing.textr r rrrrr.r/rrrrs      !