From: J.M. M. <j.m...@st...> - 2005-01-23 17:15:32
|
Op zo, 23-01-2005 te 11:11 +0100, schreef Fridrich Strba: > Hello Marc & Marc and others, > > I was just thinking whether one could not make libwpg depend on libwpd > and use its WPXProperty* classes along with the WPXString and Co. This > would make us independent from libgsf and we would also not have to be > bothered about implementing the stream abstraction layer. Hmmm, I don't know about depending on libwpd, but I do like using WPXProperty*/WPXString and stream stuff... For now, we can start by depending on it, as no-one uses the library anyway yet. We can always refactor libwpd some more, or even create another 'common' lib ... > We could compose the libwpg from two parser for WPG1 and for WPG2. Since > the WPG formats can contain both vector graphics and bitmap (WPG2 can > contain both in the same time), the possible output (WPXProperty) could > be the corresponding SVG expression for vector graphics and base64 > encoded (uncompressed) bitmap. Sounds sane. Bye! Marc > P.S.: I hope that 2005 is going to be a year of an official release of > libwpg. If you make a good stab at it, it's a good project to learn something about setting up a C++ design... :-) |