summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-08-07 09:20:55 +0000
committerTavmjong Bah <tavmjong@free.fr>2017-08-07 09:20:55 +0000
commitccfaafdc59f88d185fe5cd5c3a83bf6364c361a5 (patch)
treed91c94d3de9ad09d62870e98113eb08d5ef346d6 /src/document.h
parentAdd support for more than one style sheet in a document and imported style sh... (diff)
downloadinkscape-ccfaafdc59f88d185fe5cd5c3a83bf6364c361a5.tar.gz
inkscape-ccfaafdc59f88d185fe5cd5c3a83bf6364c361a5.zip
Add support for imported style sheets via @import to Inkscape.
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index 92f53559f..b60561c32 100644
--- a/src/document.h
+++ b/src/document.h
@@ -113,10 +113,13 @@ public:
Inkscape::XML::Document *rdoc; ///< Our Inkscape::XML::Document
Inkscape::XML::Node *rroot; ///< Root element of Inkscape::XML::Document
+
private:
SPRoot *root; ///< Our SPRoot
+
public:
CRCascade *style_cascade;
+ CRStyleSheet *style_sheet;
protected:
char *uri; ///< A filename (not a URI yet), or NULL