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 #include <precomp.h> 23 #include <toolkit/hf_docentry.hxx> 24 25 26 // NOT FULLY DEFINED SERVICES 27 28 HF_DocEntryList(Xml::Element & o_out)29HF_DocEntryList::HF_DocEntryList( Xml::Element & o_out ) 30 : HtmlMaker( o_out >>* new Html::DefList ) 31 { 32 } 33 ~HF_DocEntryList()34HF_DocEntryList::~HF_DocEntryList() 35 { 36 } 37 38 Xml::Element & Produce_Term(const char * i_sTerm)39HF_DocEntryList::Produce_Term(const char * i_sTerm ) 40 { 41 Xml::Element & 42 ret = CurOut() 43 >> *new Html::DefListTerm 44 >> *new Html::Bold; 45 if ( NOT csv::no_str(i_sTerm)) 46 ret 47 << i_sTerm; 48 return ret; 49 } 50 51 Xml::Element & Produce_NormalTerm(const char * i_sTerm)52HF_DocEntryList::Produce_NormalTerm(const char * i_sTerm) 53 { 54 Xml::Element & 55 ret = CurOut() 56 >> *new Html::DefListTerm; 57 if ( NOT csv::no_str(i_sTerm)) 58 ret 59 << i_sTerm; 60 return ret; 61 } 62 63 Xml::Element & Produce_Definition()64HF_DocEntryList::Produce_Definition() 65 { 66 return CurOut() 67 >> *new Html::DefListDefinition; 68 } 69