Commit 9ec1ac08 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Merge remote-tracking branch 'remotes/origin/master' into fixListStyles

parents 819027cd 0fe7ecd5
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for generateBaseline/postprocessing.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -956,7 +956,7 @@ def update_heading_styles(docx_input, docx_output):
            # Change style from Heading 1 to Heading 8
            pStyle_elems = para.xpath('./w:pPr/w:pStyle[@w:val="Heading1"]', namespaces=ns)
            if pStyle_elems:
                if re.match(r'\(informative|normative|informative or normative|normative or informative\)', annex_letter, re.IGNORECASE):
                if re.search(r'(informative|normative|informative or normative|normative or informative)', annex_letter, re.IGNORECASE):
                    pStyle_elems[0].set(f"{{{ns['w']}}}val", "Heading8")# Heading8 for certain specs. editHelp is going to harmonise that 
                else:
                    pStyle_elems[0].set(f"{{{ns['w']}}}val", "Heading9")# Heading9 for certain specs. editHelp is going to harmonise that