1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ADC_DISPLAY_HF_TITLE_HXX
25 #define ADC_DISPLAY_HF_TITLE_HXX
26 
27 
28 
29 // USED SERVICES
30 	// BASE CLASSES
31 #include <toolkit/htmlfactory.hxx>
32 	// COMPONENTS
33 	// PARAMETERS
34 
35 
36 class HF_TitleTable : public HtmlMaker
37 {
38   public:
39                         HF_TitleTable(
40                             Xml::Element &      o_rOut );
41     virtual             ~HF_TitleTable();
42 
43     void                Produce_Title(
44                             const char *        i_title );
45     void                Produce_Title(
46                             const char *        i_annotations,
47 //                            const char *        i_label,
48                             const char *        i_title );
49 
50     /// @return a Html::TableCell reference.
51     Xml::Element &      Add_Row();
52 };
53 
54 
55 class HF_SubTitleTable : public HtmlMaker
56 {
57   public:
58     enum E_SubLevel
59     {
60         sublevel_1,     /// Big title.
61         sublevel_2,     /// Small title.
62         sublevel_3      /// No title.
63     };
64 
65     /** @param i_nColumns [1 .. n]
66         @param i_nSubTitleLevel [1 .. 2]
67         1 is a bit bigger than 2.
68     */
69 
70                         HF_SubTitleTable(
71                             Xml::Element &      o_rOut,
72                             const String &      i_label,
73                             const String &      i_title,
74                             int                 i_nColumns,
75                             E_SubLevel          i_eSubTitleLevel = sublevel_1 );
76     virtual             ~HF_SubTitleTable();
77 
78     /// @return an Html::TableRow reference.
79     Xml::Element &      Add_Row();
80 };
81 
82 
83 // IMPLEMENTATION
84 
85 
86 
87 #endif
88