#10 Error with styles


Hello !

It's me again ! :)
I've got a problem with the styles : the parser skip
some styles in some cases. In fact only the "heading"

I've joined a small document with 3 titles (heading 1,2
and 3) but the "heading 2" is skipped ! In fact there
is no "paragraph-definition" as it should be :

paragraph-definition name="heading 2"

However if i remove the title and retype it, the bug
disappears ! It must be a case the parser missed i
think ... :(

It would really helped me if you find some answer ! :)

Thank you very much for your great work ! ;)


  • tyfeur

    tyfeur - 2006-07-24

    document with bad title's style recognition

  • tyfeur

    tyfeur - 2006-07-24

    Logged In: YES

    I join my xml output file.

    Some technical informations : the parser is executed under
    XP, the latest version of Python, rtf2xml 1.33 with the
    following command on a cmd shell :

    "C:\Python24\python.exe" -O
    "<path1>\build\scripts-2.4\rtf2xml" --indent 1 --no-lists
    --empty-para --no-group-borders --group-styles
    --no-headings-to-sections "<path2>\title_test.rtf" >

  • tyfeur

    tyfeur - 2006-07-24

    pretty printed xml output

  • tyfeur

    tyfeur - 2006-08-02

    Logged In: YES

    I've found some kind of answer : if you remove the bookmark
    elements in the given rtf, the problem is solved !

    There are 2 '\*\bkmkend' and 2 '\*\bkmkend' markups to remove.

    Strange ... Have you got any ideas to explain that behaviour
    ? :)


  • tyfeur

    tyfeur - 2006-08-02
    • priority: 5 --> 4
  • Matej Cepl

    Matej Cepl - 2016-06-23

    Filed at https://gitlab.com/mcepl/rtf2xml/issues/2 ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks