diff options
author | Andreas Schlüns <as@openoffice.org> | 2001-08-31 08:38:40 +0000 |
---|---|---|
committer | Andreas Schlüns <as@openoffice.org> | 2001-08-31 08:38:40 +0000 |
commit | a0365ce67104b396f98bfa4730cd8c5ca338e13b (patch) | |
tree | 73a3a6193623837f0c4d611d13487e47a7fc7f68 /framework/test | |
parent | 3ca32d560a263e3a367fb08c29da65ffd716a5be (diff) |
support sort by module/uiname
Diffstat (limited to 'framework/test')
-rw-r--r-- | framework/test/typecfg/cfgview.cxx | 300 |
1 files changed, 202 insertions, 98 deletions
diff --git a/framework/test/typecfg/cfgview.cxx b/framework/test/typecfg/cfgview.cxx index 1aec0dec70d1..3b575fd6e167 100644 --- a/framework/test/typecfg/cfgview.cxx +++ b/framework/test/typecfg/cfgview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cfgview.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: as $ $Date: 2001-08-24 08:09:05 $ + * last change: $Author: as $ $Date: 2001-08-31 09:38:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -154,6 +154,7 @@ #define FRAMESET_TYPES_HTML "fs_types.html" #define FRAMESET_FILTERS_HTML "fs_filters.html" #define FRAMESET_MODULFILTERS_HTML "fs_modulfilters.html" +#define FRAMESET_FILTERSUINAMESORT_HTML "fs_filtersuinamesort.html" #define FRAMESET_DETECTORS_HTML "fs_detectors.html" #define FRAMESET_LOADERS_HTML "fs_loaders.html" #define FRAMESET_INVALIDFILTERS_HTML "fs_invalidfilters.html" @@ -178,6 +179,7 @@ #define FILTERFLAGS_HTML "filterflags.html" #define MODULFILTERS_HTML "modulfilters.html" +#define FILTERSUINAMESORT_HTML "filtersuinamesort.html" #define DOUBLEFILTERUINAMES_HTML "doublefilteruinames.html" #define UNUSEDTYPES_HTML "unusedtypes.html" @@ -236,6 +238,7 @@ class CFGView : public Application void impl_generateTypeListHTML (); void impl_generateFilterListHTML (); void impl_generateFilterModulListHTML (); + void impl_generateFilterUINameSortListHTML (); void impl_generateDetectorListHTML (); void impl_generateLoaderListHTML (); void impl_generateInvalidFiltersHTML (); @@ -421,6 +424,12 @@ void CFGView::impl_generateHTMLView() sMenuHTML.appendAscii( TARGET_VIEW ); sMenuHTML.appendAscii( "\">Filters by Moduls</a></li>\n" ); + sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Filters sorted by modules and uinames" + sMenuHTML.appendAscii( FRAMESET_FILTERSUINAMESORT_HTML ); + sMenuHTML.appendAscii( "\" target=\"" ); + sMenuHTML.appendAscii( TARGET_VIEW ); + sMenuHTML.appendAscii( "\">Filters by UINames/Modules</a></li>\n" ); + sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Detectors" sMenuHTML.appendAscii( FRAMESET_DETECTORS_HTML ); sMenuHTML.appendAscii( "\" target=\"" ); @@ -468,17 +477,18 @@ void CFGView::impl_generateHTMLView() impl_writeFile( MENU_HTML, U2B(sMenuHTML.makeStringAndClear()) ); - impl_generateTypeListHTML (); - impl_generateFilterListHTML (); - impl_generateFilterModulListHTML (); - impl_generateDetectorListHTML (); - impl_generateLoaderListHTML (); - impl_generateInvalidFiltersHTML (); - impl_generateInvalidDetectorsHTML (); - impl_generateInvalidLoadersHTML (); - impl_generateFilterFlagsHTML (); - impl_generateDoubleFilterUINamesHTML(); - impl_generateUnusedTypesHTML (); + impl_generateTypeListHTML (); + impl_generateFilterListHTML (); + impl_generateFilterModulListHTML (); + impl_generateDetectorListHTML (); + impl_generateLoaderListHTML (); + impl_generateInvalidFiltersHTML (); + impl_generateInvalidDetectorsHTML (); + impl_generateInvalidLoadersHTML (); + impl_generateFilterFlagsHTML (); + impl_generateDoubleFilterUINamesHTML (); + impl_generateUnusedTypesHTML (); + impl_generateFilterUINameSortListHTML(); } //***************************************************************************************************************** @@ -766,7 +776,6 @@ void CFGView::impl_generateFilterListHTML() //***************************************************************************************************************** void CFGView::impl_generateFilterModulListHTML() { - LOG_ERROR( "bla", "bla" ) //------------------------------------------------------------------------------------------------------------- // generate frameset for filters sorted by modules OUStringBuffer sFiltersFramesetHTML( 10000 ); @@ -792,13 +801,10 @@ void CFGView::impl_generateFilterModulListHTML() // generate filter list (names and links only!) // use same loop to generate filter property list! OUStringBuffer sAllFiltersHTML( 10000 ); - OUStringBuffer sFilterPropHTML( 10000 ); sAllFiltersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Filters\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html sAllFiltersHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Filter</strong></td></tr>\n" ); // open table - sFilterPropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFilterProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - css::uno::Sequence< ::rtl::OUString > lWriter ; css::uno::Sequence< ::rtl::OUString > lWeb ; css::uno::Sequence< ::rtl::OUString > lGlobal ; @@ -915,94 +921,192 @@ void CFGView::impl_generateFilterModulListHTML() sAllFiltersHTML.appendAscii ( "</a>" ); // close href sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "name" sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row -/* - // write entry in filter property table - sFilterPropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<typename>" to follow table - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "\"></a>" ); - sFilterPropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\"> "); // generate row "Nr <value>" - sFilterPropHTML.append ( OUString::valueOf( nFilters ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Order</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Order <value>" - sFilterPropHTML.append ( aFilter.nOrder ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Type</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Type <value>" - sFilterPropHTML.append ( aFilter.sType ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UIName</td><td valign=\"top\" align=\"top\">" ); // generate row "UIName <value>" - for( ConstStringHashIterator pUIName=aFilter.lUINames.begin() ; - pUIName!=aFilter.lUINames.end() ; - ++pUIName ) - { - sFilterPropHTML.appendAscii ( " [" ); - sFilterPropHTML.append ( pUIName->first ); - sFilterPropHTML.appendAscii ( "] \"" ); - sFilterPropHTML.append ( pUIName->second ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">DocumentService</td><td valign=\"top\" align=\"top\"> " ); // generate row "DocumentService <value>" - sFilterPropHTML.append ( aFilter.sDocumentService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FilterService</td><td valign=\"top\" align=\"top\"> " ); // generate row "FilterService <value>" - sFilterPropHTML.append ( aFilter.sFilterService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Flags</td><td valign=\"top\" align=\"top\"> " ); // generate row "Flags <value>" - if( aFilter.nFlags & FILTERFLAG_IMPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_IMPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_EXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_EXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATE ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_INTERNAL ) { sFilterPropHTML.append( FILTERFLAGNAME_INTERNAL ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATEPATH ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATEPATH ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_OWN ) { sFilterPropHTML.append( FILTERFLAGNAME_OWN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ALIEN ) { sFilterPropHTML.append( FILTERFLAGNAME_ALIEN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_USESOPTIONS ) { sFilterPropHTML.append( FILTERFLAGNAME_USESOPTIONS ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_DEFAULT ) { sFilterPropHTML.append( FILTERFLAGNAME_DEFAULT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINFILEDIALOG ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINFILEDIALOG ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINCHOOSER ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINCHOOSER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ASYNCHRON ) { sFilterPropHTML.append( FILTERFLAGNAME_ASYNCHRON ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_READONLY ) { sFilterPropHTML.append( FILTERFLAGNAME_READONLY ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINSTALLED ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINSTALLED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_CONSULTSERVICE ) { sFilterPropHTML.append( FILTERFLAGNAME_CONSULTSERVICE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_3RDPARTYFILTER ) { sFilterPropHTML.append( FILTERFLAGNAME_3RDPARTYFILTER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PACKED ) { sFilterPropHTML.append( FILTERFLAGNAME_PACKED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_SILENTEXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_SILENTEXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_BROWSERPREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_BROWSERPREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_PREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UserData</td><td valign=\"top\" align=\"top\">" ); // generate row "UserData <value>" - for( ConstStringListIterator pUserData=aFilter.lUserData.begin() ; - pUserData!=aFilter.lUserData.end() ; - ++pUserData ) - { - sFilterPropHTML.appendAscii ( " \"" ); - sFilterPropHTML.append ( *pUserData ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FileFormatVersion</td><td valign=\"top\" align=\"top\"> "); // generate row "FileFormatVersion <value>" - sFilterPropHTML.append ( OUString::valueOf( aFilter.nFileFormatVersion ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">TemplateName</td><td valign=\"top\" align=\"top\"> " ); // generate row "TemplateName <value>" - sFilterPropHTML.append ( aFilter.sTemplateName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sFilterPropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - */ } } sAllFiltersHTML.appendAscii( "</table>\n" ); // close table sAllFiltersHTML.appendAscii( "</body>\n</html>\n" ); // close html -// sFilterPropHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( MODULFILTERS_HTML , U2B(sAllFiltersHTML.makeStringAndClear()) ); -// impl_writeFile( FILTERPROPERTIES_HTML, U2B(sFilterPropHTML.makeStringAndClear()) ); +} + +//***************************************************************************************************************** +void CFGView::impl_generateFilterUINameSortListHTML() +{ + //------------------------------------------------------------------------------------------------------------- + // generate frameset for filters sorted by modules + OUStringBuffer sFiltersFramesetHTML( 10000 ); + + sFiltersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Filters sorted by modules & UINames\n\t\t</title>\n\t</head>\n" ); // open html + sFiltersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols + sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" + sFiltersFramesetHTML.appendAscii( TARGET_LIST ); + sFiltersFramesetHTML.appendAscii( "\" src=\"" ); + sFiltersFramesetHTML.appendAscii( FILTERSUINAMESORT_HTML ); + sFiltersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); + sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" + sFiltersFramesetHTML.appendAscii( TARGET_PROPERTIES ); + sFiltersFramesetHTML.appendAscii( "\" src=\"" ); + sFiltersFramesetHTML.appendAscii( FILTERPROPERTIES_HTML ); + sFiltersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); + sFiltersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols + sFiltersFramesetHTML.appendAscii( "</html>\n" ); // close html + + impl_writeFile( FRAMESET_FILTERSUINAMESORT_HTML, U2B(sFiltersFramesetHTML.makeStringAndClear()) ); + + //------------------------------------------------------------------------------------------------------------- + // generate filter list (names and links only!) + // use same loop to generate filter property list! + OUStringBuffer sAllFiltersHTML( 10000 ); + + sAllFiltersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Filters\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html + sAllFiltersHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Filter</strong></td></tr>\n" ); // open table + + css::uno::Sequence< ::rtl::OUString > lWriter ; + css::uno::Sequence< ::rtl::OUString > lWeb ; + css::uno::Sequence< ::rtl::OUString > lGlobal ; + css::uno::Sequence< ::rtl::OUString > lChart ; + css::uno::Sequence< ::rtl::OUString > lCalc ; + css::uno::Sequence< ::rtl::OUString > lImpress; + css::uno::Sequence< ::rtl::OUString > lDraw ; + css::uno::Sequence< ::rtl::OUString > lMath ; + css::uno::Sequence< ::rtl::OUString > lGraphic; + css::uno::Sequence< ::rtl::OUString > lDefault; + + css::uno::Sequence< ::rtl::OUString > lNames ; + StringList lUINamesUnsorted ; + StringList lUINamesSorted ; + StringList lNamesSorted ; + + m_aData.pCache->queryFilters( FILTERQUERY_TEXTDOCUMENT_WITHDEFAULT ) >>= lWriter ; + m_aData.pCache->queryFilters( FILTERQUERY_WEBDOCUMENT_WITHDEFAULT ) >>= lWeb ; + m_aData.pCache->queryFilters( FILTERQUERY_GLOBALDOCUMENT_WITHDEFAULT ) >>= lGlobal ; + m_aData.pCache->queryFilters( FILTERQUERY_CHARTDOCUMENT_WITHDEFAULT ) >>= lChart ; + m_aData.pCache->queryFilters( FILTERQUERY_SPREADSHEETDOCUMENT_WITHDEFAULT ) >>= lCalc ; + m_aData.pCache->queryFilters( FILTERQUERY_PRESENTATIONDOCUMENT_WITHDEFAULT) >>= lImpress ; + m_aData.pCache->queryFilters( FILTERQUERY_DRAWINGDOCUMENT_WITHDEFAULT ) >>= lDraw ; + m_aData.pCache->queryFilters( FILTERQUERY_FORMULARPROPERTIES_WITHDEFAULT ) >>= lMath ; + m_aData.pCache->queryFilters( FILTERQUERY_GRAPHICFILTERS ) >>= lGraphic ; + m_aData.pCache->queryFilters( FILTERQUERY_DEFAULTFILTERS ) >>= lDefault ; + + sal_Int32 nModuls = 0; + sal_Int32 nFilters = 0; + sal_Int32 nModulCount = 10; + sal_Int32 nFilterCount = 0; + Filter aFilter ; + ::rtl::OString sModul ; + + for( nModuls=0; nModuls<nModulCount; ++nModuls ) + { + switch( nModuls ) + { + case 0: { + lNames = lWriter; + sModul = "Writer"; + } + break; + case 1: { + lNames = lWeb ; + sModul = "Web"; + } + break; + case 2: { + lNames = lGlobal ; + sModul = "GlobalDokument"; + } + break; + case 3: { + lNames = lChart ; + sModul = "Chart"; + } + break; + case 4: { + lNames = lCalc ; + sModul = "Calc"; + } + break; + case 5: { + lNames = lImpress; + sModul = "Impress"; + } + break; + case 6: { + lNames = lDraw ; + sModul = "Draw"; + } + break; + case 7: { + lNames = lMath ; + sModul = "Math"; + } + break; + case 8: { + lNames = lGraphic; + sModul = "Graphic"; + } + break; + case 9: { + lNames = lDefault; + sModul = "Default Filter!"; + } + break; + } + lUINamesUnsorted.free(); + lUINamesSorted.free(); + lNamesSorted.free(); + + sAllFiltersHTML.appendAscii ( "\t\t\t<tr>\n" ); + sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#00aa00 fgcolor=#ffffff valign=\"top\" align=\"top\">-</td>\n" ); + sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#00aa00 fgcolor=#ffffff valign=\"top\" align=\"top\">" ); + sAllFiltersHTML.appendAscii ( sModul ); + sAllFiltersHTML.appendAscii ( "</td>\n" ); + sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); + + nFilterCount = lNames.getLength(); + + for( nFilters=0; nFilters<nFilterCount; ++nFilters ) + { + aFilter = m_aData.pCache->getFilter( lNames[nFilters] ); + lUINamesUnsorted.push_back( DataContainer::getLocalelizedString( aFilter.lUINames, DECLARE_ASCII("de") ) ); + } + + lUINamesSorted = lUINamesUnsorted; + ::std::stable_sort( lUINamesSorted.begin(), lUINamesSorted.end() ); + for( StringListIterator pSortedItem=lUINamesSorted.begin(); pSortedItem!=lUINamesSorted.end(); ++pSortedItem ) + { + StringListIterator pUnsortedItem = ::std::find( lUINamesUnsorted.begin(), lUINamesUnsorted.end(), *pSortedItem ); + sal_Int32 nPosition = pUnsortedItem - lUINamesUnsorted.begin(); + lNamesSorted.push_back( lNames[nPosition] ); + } + + for( nFilters=0; nFilters<nFilterCount; ++nFilters ) + { + aFilter = m_aData.pCache->getFilter( lNamesSorted[nFilters] ); + + // write entry in filter list table + sAllFiltersHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row + sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" + sAllFiltersHTML.append ( OUString::valueOf( nFilters ) ); // write nr + sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "nr" + sAllFiltersHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" + sAllFiltersHTML.appendAscii ( "<a href=\"" ); // open href="filterproperties.html#<filtername>" + sAllFiltersHTML.appendAscii ( FILTERPROPERTIES_HTML ); + sAllFiltersHTML.appendAscii ( "#" ); + sAllFiltersHTML.append ( aFilter.sName ); + sAllFiltersHTML.appendAscii ( "\" target=\"" ); + sAllFiltersHTML.appendAscii ( TARGET_PROPERTIES ); + sAllFiltersHTML.appendAscii ( "\">" ); + sAllFiltersHTML.append ( lUINamesSorted[nFilters] ); // write name + sAllFiltersHTML.appendAscii ( "</a>" ); // close href + sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "name" + sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row + } + } + + sAllFiltersHTML.appendAscii( "</table>\n" ); // close table + sAllFiltersHTML.appendAscii( "</body>\n</html>\n" ); // close html + + impl_writeFile( FILTERSUINAMESORT_HTML , U2B(sAllFiltersHTML.makeStringAndClear()) ); } //***************************************************************************************************************** |