OK, very ugly design, but we are parsing both WPG1 and WPG2. All files
that I tried from the testdoc directory parse without throwing any
exception and moreover start with StartWPG record and and with EndWPG
one. The same for quad.wpg which is WPG2 file.
It is clear that the design will have to improve and one has to make two
different parsers, since the record types of WPG1 and WPG2 do not have
anything to do.
Cheers
Fridrich
Parsing WPG1 along with WPG2
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/conv/raw/main.cpp src/lib/libwpg.cpp src/lib/libwpg.h
CVS: src/lib/wpgheader.cpp src/lib/wpgheader.h
CVS: src/lib/wpgrecord.cpp src/lib/wpgrecord.h
CVS: ----------------------------------------------------------------------
|