00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 #ifndef _MPCL_TEXT_HTML_FRAMESET__
00027 #define _MPCL_TEXT_HTML_FRAMESET__
00028 
00029 #include "container.hh"
00030 
00031 
00033 namespace mpcl
00034 {
00035 
00037   namespace text
00038   {
00039 
00041     namespace html
00042     {
00043 
00045       class TFrameset;
00046 
00048       typedef
00049         TSmartPointer<TFrameset>
00050         QTFrameset;
00051 
00053       typedef
00054         TSmartPointer<const TFrameset>
00055         QKTFrameset;
00056 
00058       class TFrameset : public TContainer
00059       {
00060 
00061         public:
00062 
00063           
00064           
00065           
00066 
00067           TFrameset ( const char* pkcROWS                  ,
00068                       const char* pkcCOLS                  ,
00069                       const char* pkcBORDER                ,
00070                       const char* pkcBORDERCOLOR  = "gray" ,
00071                       const char* pkcFRAMEBORDER  = "NO"   ,
00072                       const char* pkcFRAMESPACING = "0"    ) :
00073             TContainer (pkcDefaultFramesetId)
00074           {
00075             tAttributeMap ["class-identifier"] = pkcDefaultFramesetId;
00076             tAttributeMap.bind ("cols",         pkcCOLS);
00077             tAttributeMap.bind ("border",       pkcBORDER);
00078             tAttributeMap.bind ("bordercolor",  pkcBORDERCOLOR);
00079             tAttributeMap.bind ("frameborder",  pkcFRAMEBORDER);
00080             tAttributeMap.bind ("framespacing", pkcFRAMESPACING);
00081             tAttributeMap.bind ("rows",         pkcROWS);
00082           }
00083 
00084       };  
00085 
00086     }  
00087 
00088   }  
00089 
00090 }  
00091 
00092 
00093 #endif  // not _MPCL_TEXT_HTML_FRAMESET__