This article contains information on how to validate PDF Document for PDF A Standard using Python, how to work with TOC, how to set PDF expiry date, and etc.... You need to set line_dash property of TocInfo . import...# set LeaderType toc_info . line_dash = ap . text . TabLeaderType...