https://bugs.documentfoundation.org/show_bug.cgi?id=149631

            Bug ID: 149631
           Summary: Record Macro won't record inserting a page break of a
                    specified type
           Product: LibreOffice
           Version: 7.3.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: luke.kend...@gmail.com

Context:

I found that none of my level 1 chapter title style chapters were being added
to the Table of Contents, and the only way to correct it was to delete the page
break and the chapter title, then to insert a page break and a new chapter
title and assign the chapter heading style again: after that, the chapter
headings would appear in the TOC.

Bug:

After recording a macro with the 17 steps needed to do this, I discovered that
recording a macro will not record the insertion of a manual page break with a
specific page style chosen from the drop-down list.

Looking into the macro code, the code to insert the page break was commented
out (so of course it wasn't included when the macro was run). Manually
uncommenting the line of code caused the insert page break dialogue to pup up
to manually choose the page style.

Steps to reproduce:

Enable macros.
Turn on Record macro
Perform some operations, one of which includes inserting a manual page break
End recording
Run the macro

Observed result:

No page break insertion occurs.

Expected result:

Page break (with the previously chosen following page style) is inserted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to