1 // Copyright (c) 1996 James Clark
2 // See the file copying.txt for copying permission.
4 #ifndef StyleEngine_INCLUDED
5 #define StyleEngine_INCLUDED 1
10 #include "SgmlParser.h"
11 #include "FOTBuilder.h"
12 #include "GroveManager.h"
15 #ifdef DSSSL_NAMESPACE
16 namespace DSSSL_NAMESPACE {
21 class STYLE_API StyleEngine {
23 StyleEngine(Messenger &, GroveManager &,
24 int unitsPerInch, bool debugMode, bool dsssl2,
25 bool strictMode, const FOTBuilder::Extension * = 0);
26 void defineVariable(const StringC &);
27 void parseSpec(SgmlParser &specParser,
28 const CharsetInfo &charset,
31 void process(const NodePtr &, FOTBuilder &);
34 StyleEngine(const StyleEngine &); // undefined
35 void operator=(const StyleEngine &); // undefined
37 Interpreter *interpreter_;
41 #ifdef DSSSL_NAMESPACE
45 #endif /* not StyleEngine_INCLUDED */