summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-03 15:58:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-03 15:58:12 +0000
commit64dd7fc442c9db89252d67c3da33d1edefe074f4 (patch)
tree06a46cbf335ed8eff48ba2509acb401e81ef02d0
parentINTEGRATION: CWS adc14 (1.3.22); FILE MERGED (diff)
downloadcore-64dd7fc442c9db89252d67c3da33d1edefe074f4.tar.gz
core-64dd7fc442c9db89252d67c3da33d1edefe074f4.zip
INTEGRATION: CWS adc14 (1.4.8); FILE MERGED
2006/04/28 12:29:25 np 1.4.8.2: #i62433#, More condensed base type hierarchies. 2006/04/27 09:43:32 np 1.4.8.1: #i62433#, Combine See Also tags, put deprecated and unpublished into title line.
-rw-r--r--autodoc/source/display/toolkit/hf_title.cxx43
1 files changed, 40 insertions, 3 deletions
diff --git a/autodoc/source/display/toolkit/hf_title.cxx b/autodoc/source/display/toolkit/hf_title.cxx
index 3f5b186bf8c2..d330bfd6a4c0 100644
--- a/autodoc/source/display/toolkit/hf_title.cxx
+++ b/autodoc/source/display/toolkit/hf_title.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hf_title.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-12-14 15:35:12 $
+ * last change: $Author: rt $ $Date: 2006-05-03 16:58:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -68,7 +68,6 @@ HF_TitleTable::~HF_TitleTable()
{
}
-
void
HF_TitleTable::Produce_Title( const char * i_title )
{
@@ -77,6 +76,44 @@ HF_TitleTable::Produce_Title( const char * i_title )
<< i_title;
}
+void
+HF_TitleTable::Produce_Title( const char * i_annotations,
+ const char * i_title )
+{
+ if (csv::no_str(i_annotations))
+ {
+ Produce_Title(i_title);
+ return;
+ }
+
+ Xml::Element &
+ rRow = Add_Row();
+ rRow
+ << new Html::ClassAttr("title");
+
+ Xml::Element &
+ rTable = rRow
+ >> *new Html::Table()
+ << new Html::ClassAttr("title-table")
+ << new Html::WidthAttr("99%");
+ Xml::Element &
+ rInnerRow = rTable
+ >> *new Html::TableRow;
+ rInnerRow
+ >> *new Html::TableCell
+ << new Html::WidthAttr("25%")
+ << new Html::ClassAttr("title2")
+ << i_annotations;
+ rInnerRow
+ >> *new Html::TableCell
+ << new Html::WidthAttr("50%")
+ << new Html::ClassAttr("title")
+ << i_title;
+ rInnerRow
+ >> *new Html::TableCell
+ << new Html::WidthAttr("*");
+}
+
Xml::Element &
HF_TitleTable::Add_Row()
{