#21 Incorrect conversion of header following Section Break

closed-fixed
Christian
Conversion (14)
5
2008-04-14
2007-07-30
Anonymous
No

The macro correctly converts a heading level 1 after a page break, but following a Section Break (next page) you get, instead of the correct "=Heading 1=", this:

==Heading 1

I followed through the macro step by step and it seems that it adds the first "=" before the section break and the second after, followed by deleting the break altogether.

I'm not knowledgable enough to fix it myself, so I pass it to you guys.

Thanks a lot for an otherwise great tool!

Nico

Discussion

  • Christian
    Christian
    2008-04-14

    Logged In: YES
    user_id=2032487
    Originator: NO

    I can duplicate this bug in Word 2007. I modified the code execution to delete page breaks before creating a header and that solves the problem. Fix is in the word2007 branch with r22. Try the SVN code and let me know if you still see this problem.

     
  • Christian
    Christian
    2008-04-14

    • assigned_to: nobody --> cneubauer
    • status: open --> closed-fixed