Added "generator" RTF destination handling.
authorPhil Krylov <phil@newstar.rinet.ru>
Mon, 14 Mar 2005 21:40:48 +0000 (21:40 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Mar 2005 21:40:48 +0000 (21:40 +0000)
dlls/riched20/reader.c
dlls/riched20/rtf.h

index 261e65d2a038c0581427cc1168ec233c4db9341f..4b68fedfba0af5ce468573ffd11feb6a3e9738b4 100644 (file)
@@ -2845,6 +2845,7 @@ static RTFKey     rtfKey[] =
        { rtfDestination,       rtfStyleSheet,          "stylesheet",   0 },
        { rtfDestination,       rtfKeyCode,             "keycode",      0 },
        { rtfDestination,       rtfRevisionTbl,         "revtbl",       0 },
+       { rtfDestination,       rtfGenerator,           "generator",    0 },
        { rtfDestination,       rtfInfo,                "info",         0 },
        { rtfDestination,       rtfITitle,              "title",        0 },
        { rtfDestination,       rtfISubject,            "subject",      0 },
@@ -3667,6 +3668,7 @@ Destination (RTF_Info *info)
 
        switch (info->rtfMinor)
        {
+       case rtfGenerator:
        case rtfPict:
        case rtfFNContSep:
        case rtfFNContNotice:
index 2704ae0504ddfcc90eb01320823f26b52538ab75..bce3560de6dbc923317b2dae0424456b9c546797 100644 (file)
 # define               rtfIndexRange           71
 # define               rtfTOC                  72
 # define               rtfNeXTGraphic          73
-# define               rtfMaxDestination       74      /* highest dest + 1 */
+# define               rtfGenerator            74
+# define               rtfMaxDestination       75      /* highest dest + 1 */
 
 # define       rtfFontFamily   4
 # define               rtfFFNil                0