Commit 0d111a48 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Adding page break before Intellectual clause

parent bb25a0d2
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
@@ -1247,7 +1247,7 @@ def update_heading_styles(docx_input, docx_output):

            _place_label_bookmark(para, label_run, annex_letter.lower(), annex_title)

        elif re.match(r'^\s*History\s*', full_text):
        elif re.match(r'^\s*History\s*', full_text) or re.match(r'^Intellectual Property Rights\s*', full_text):
            insert_page_break_before_heading(para, full_text)
        elif full_text.strip().lower() == "essential patents" or full_text.strip().lower() == "trademarks":
             # Change style from Heading 6 to H6