diff options
author | Michi Henning <michi@zeroc.com> | 2007-01-12 06:15:56 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-01-12 06:15:56 +0000 |
commit | 9090b7254956921019ab536da9532247074d985a (patch) | |
tree | 67611aae2be9b71643af3517b426974e4ebf3cd2 /cpp/src | |
parent | *** empty log message *** (diff) | |
download | ice-9090b7254956921019ab536da9532247074d985a.tar.bz2 ice-9090b7254956921019ab536da9532247074d985a.tar.xz ice-9090b7254956921019ab536da9532247074d985a.zip |
*** empty log message ***
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2html/Gen.cpp | 4 | ||||
-rw-r--r-- | cpp/src/slice2html/Gen.h | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp index 716ff89de6a..f6c477687ed 100644 --- a/cpp/src/slice2html/Gen.cpp +++ b/cpp/src/slice2html/Gen.cpp @@ -1363,12 +1363,12 @@ TOCGenerator::TOCGenerator(const Files& files, const string& header, const strin start("td"); _out << "<button type=\"button\" id=\"ExpandAllButton\">Expand All" - << "<img class=\"ExpandAllButtonImage\"/></button>"; + << "<img id=\"ExpandAllButtonImage\"/></button>"; end(); start("td"); _out << "<button type=\"button\" id=\"CollapseAllButton\">Collapse All" - << "<img class=\"ExpandAllButtonImage\"/></button>"; + << "<img id=\"ExpandAllButtonImage\"/></button>"; end(); end(); diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h index 00adcdf6460..36b0f96c0e8 100644 --- a/cpp/src/slice2html/Gen.h +++ b/cpp/src/slice2html/Gen.h @@ -47,7 +47,8 @@ protected: void printMetaData(const ContainedPtr&); void printSummary(const ContainedPtr&, const ContainerPtr&, bool); - ::std::string toString(const SyntaxTreeBasePtr&, const ContainerPtr&, bool = true, bool = false, unsigned* = 0); + ::std::string toString(const SyntaxTreeBasePtr&, const ContainerPtr&, bool = true, bool = false, unsigned* = 0, + bool = false); ::std::string toString(const ::std::string&, const ContainerPtr&, bool = true, bool = false, unsigned* = 0); ::std::string getComment(const ContainedPtr&, const ContainerPtr&, bool, bool = false); @@ -65,7 +66,7 @@ private: static ::std::string containedToId(const ContainedPtr&, bool); static StringList getTagged(const ::std::string&, ::std::string&); - static ::std::string getScopedMinimized(const ContainedPtr&, const ContainerPtr&); + static ::std::string getScopedMinimized(const ContainedPtr&, const ContainerPtr&, bool = false); static StringList getContained(const SyntaxTreeBasePtr&); static StringList getContainer(const SyntaxTreeBasePtr&); static StringList toStringList(const ContainedPtr&); @@ -75,15 +76,13 @@ private: static void getHeaders(const ::std::string&, ::std::string&, ::std::string&); static ::std::string getFooter(const ::std::string&); + ::std::string _indexFooter; const Files& _files; static ::std::string _dir; static ::std::string _header1; static ::std::string _header2; static ::std::string _footer; - static ::std::string _indexHeader1; - static ::std::string _indexHeader2; - static ::std::string _indexFooter; }; class StartPageGenerator : private GeneratorBase |