diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-04-21 09:17:10 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-04-21 09:17:10 +0000 |
| commit | 1fb1bac3fc0539d036bf1b8f3965bbd2320cadac (patch) | |
| tree | 4403e15004915e3c352fb824ab4c1d896ec5fb5a /src/extension/internal/odf.h | |
| parent | remove compiler warnings (diff) | |
| download | inkscape-1fb1bac3fc0539d036bf1b8f3965bbd2320cadac.tar.gz inkscape-1fb1bac3fc0539d036bf1b8f3965bbd2320cadac.zip | |
Minor cleanup. Sort styleTable.
(bzr r563)
Diffstat (limited to 'src/extension/internal/odf.h')
| -rw-r--r-- | src/extension/internal/odf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extension/internal/odf.h b/src/extension/internal/odf.h index 5b6a2bdde..437148873 100644 --- a/src/extension/internal/odf.h +++ b/src/extension/internal/odf.h @@ -80,6 +80,7 @@ public: void assign(const StyleInfo &other) { + name = other.name; stroke = other.stroke; strokeColor = other.strokeColor; strokeWidth = other.strokeWidth; @@ -91,6 +92,7 @@ public: void init() { + name = "none"; stroke = "none"; strokeColor = "none"; strokeWidth = "none"; @@ -119,6 +121,7 @@ public: return true; } + std::string name; std::string stroke; std::string strokeColor; std::string strokeWidth; @@ -155,7 +158,7 @@ private: //element id -> style entry name std::map<std::string, std::string> styleLookupTable; //style entry name -> style info - std::map<std::string, StyleInfo> styleTable; + std::vector<StyleInfo> styleTable; //for renaming image file names std::map<std::string, std::string> imageTable; |
