diff options
Diffstat (limited to 'sw/source/filter/html/svxcss1.cxx')
-rw-r--r-- | sw/source/filter/html/svxcss1.cxx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx index 83b13fb5e21c..cfc0d6bb465b 100644 --- a/sw/source/filter/html/svxcss1.cxx +++ b/sw/source/filter/html/svxcss1.cxx @@ -54,7 +54,6 @@ #include <memory> - using namespace ::com::sun::star; // die Funktionen zum Parsen einer CSS1-Property sind von folgendem Typ: @@ -265,11 +264,8 @@ struct SvxCSS1ItemIds sal_uInt16 nDirection; }; - static SvxCSS1ItemIds aItemIds; - - struct SvxCSS1BorderInfo { Color aColor; @@ -689,7 +685,6 @@ bool SvxCSS1Parser::SelectorParsed( CSS1Selector *pSelector, bool bFirst ) return false; // den Selektor haben wir gespeichert. Loeschen toedlich! } - sal_Bool SvxCSS1Parser::DeclarationParsed( const OUString& rProperty, const CSS1Expression *pExpr ) { @@ -703,7 +698,6 @@ sal_Bool SvxCSS1Parser::DeclarationParsed( const OUString& rProperty, return sal_True; // die Deklaration brauchen wir nicht mehr. Loeschen! } - SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const OUString& rBaseURL, sal_uInt16 nMinFixLineSp, sal_uInt16 *pWhichIds, sal_uInt16 nWhichIds ) : CSS1Parser(), @@ -871,7 +865,6 @@ sal_Bool SvxCSS1Parser::ParseStyleOption( const OUString& rIn, return bSuccess; } - sal_Bool SvxCSS1Parser::GetEnum( const CSS1PropertyEnum *pPropTable, const OUString &rValue, sal_uInt16& rEnum ) { @@ -1001,7 +994,6 @@ void SvxCSS1Parser::SetDfltEncoding( rtl_TextEncoding eEnc ) eDfltEnc = eEnc; } - static void ParseCSS1_font_size( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1064,8 +1056,6 @@ static void ParseCSS1_font_size( const CSS1Expression *pExpr, } } - - static void ParseCSS1_font_family( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1145,7 +1135,6 @@ static void ParseCSS1_font_family( const CSS1Expression *pExpr, } } - static void ParseCSS1_font_weight( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1203,7 +1192,6 @@ static void ParseCSS1_font_weight( const CSS1Expression *pExpr, } } - static void ParseCSS1_font_style( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1273,7 +1261,6 @@ static void ParseCSS1_font_style( const CSS1Expression *pExpr, rItemSet.Put( SvxCaseMapItem( eCaseMap, aItemIds.nCaseMap ) ); } - static void ParseCSS1_font_variant( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1326,7 +1313,6 @@ static void ParseCSS1_text_transform( const CSS1Expression *pExpr, } } - static void ParseCSS1_color( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1351,7 +1337,6 @@ static void ParseCSS1_color( const CSS1Expression *pExpr, } } - static void ParseCSS1_column_count( const CSS1Expression *pExpr, SfxItemSet& /*rItemSet*/, SvxCSS1PropertyInfo &rPropInfo, @@ -1369,7 +1354,6 @@ static void ParseCSS1_column_count( const CSS1Expression *pExpr, } } - static void ParseCSS1_direction( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1395,7 +1379,6 @@ static void ParseCSS1_direction( const CSS1Expression *pExpr, } } - static void MergeHori( SvxGraphicPosition& ePos, SvxGraphicPosition eHori ) { OSL_ENSURE( GPOS_LT==eHori || GPOS_MT==eHori || GPOS_RT==eHori, @@ -1642,7 +1625,6 @@ static void ParseCSS1_background_color( const CSS1Expression *pExpr, } } - static void ParseCSS1_line_height( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1706,7 +1688,6 @@ static void ParseCSS1_line_height( const CSS1Expression *pExpr, } - static void ParseCSS1_font( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -1788,7 +1769,6 @@ static void ParseCSS1_font( const CSS1Expression *pExpr, rItemSet.Put( aWeight ); } - // font-size CSS1Expression aExpr( pExpr->GetType(), pExpr->GetString(), pExpr->GetNumber() ); @@ -1815,7 +1795,6 @@ static void ParseCSS1_font( const CSS1Expression *pExpr, ParseCSS1_font_family( pExpr, rItemSet, rPropInfo, rParser ); } - static void ParseCSS1_letter_spacing( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1859,7 +1838,6 @@ static void ParseCSS1_letter_spacing( const CSS1Expression *pExpr, } } - static void ParseCSS1_text_decoration( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1967,7 +1945,6 @@ static void ParseCSS1_text_decoration( const CSS1Expression *pExpr, rItemSet.Put( SvxBlinkItem( bBlinkOn, aItemIds.nBlink ) ); } - static void ParseCSS1_text_align( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& /*rPropInfo*/, @@ -1988,7 +1965,6 @@ static void ParseCSS1_text_align( const CSS1Expression *pExpr, } } - static void ParseCSS1_text_indent( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2040,7 +2016,6 @@ static void ParseCSS1_text_indent( const CSS1Expression *pExpr, } } - static void ParseCSS1_margin_left( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2096,7 +2071,6 @@ static void ParseCSS1_margin_left( const CSS1Expression *pExpr, } } - static void ParseCSS1_margin_right( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2152,7 +2126,6 @@ static void ParseCSS1_margin_right( const CSS1Expression *pExpr, } } - static void ParseCSS1_margin_top( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2211,7 +2184,6 @@ static void ParseCSS1_margin_top( const CSS1Expression *pExpr, } } - static void ParseCSS1_margin_bottom( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2270,7 +2242,6 @@ static void ParseCSS1_margin_bottom( const CSS1Expression *pExpr, } } - static void ParseCSS1_margin( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2411,7 +2382,6 @@ static void ParseCSS1_margin( const CSS1Expression *pExpr, } } - static sal_Bool ParseCSS1_padding_xxx( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, SvxCSS1PropertyInfo& rPropInfo, @@ -2470,7 +2440,6 @@ static sal_Bool ParseCSS1_padding_xxx( const CSS1Expression *pExpr, return bSet; } - static void ParseCSS1_padding_top( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2531,7 +2500,6 @@ static void ParseCSS1_padding( const CSS1Expression *pExpr, } } - static void ParseCSS1_border_xxx( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, SvxCSS1PropertyInfo& rPropInfo, @@ -2675,7 +2643,6 @@ static void ParseCSS1_border_xxx_width( const CSS1Expression *pExpr, pInfo->nNamedWidth = nNWidth; } - static void ParseCSS1_border_top_width( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2776,7 +2743,6 @@ static void ParseCSS1_border_style( const CSS1Expression *pExpr, } } - static void ParseCSS1_border_top( const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo& rPropInfo, @@ -2817,7 +2783,6 @@ static void ParseCSS1_border( const CSS1Expression *pExpr, ParseCSS1_border_xxx( pExpr, rItemSet, rPropInfo, rParser, 0, sal_True ); } - static void ParseCSS1_float( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, SvxCSS1PropertyInfo& rPropInfo, @@ -2833,8 +2798,6 @@ static void ParseCSS1_float( const CSS1Expression *pExpr, } } - - static void ParseCSS1_position( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, SvxCSS1PropertyInfo& rPropInfo, @@ -2850,7 +2813,6 @@ static void ParseCSS1_position( const CSS1Expression *pExpr, } } - static void ParseCSS1_length( const CSS1Expression *pExpr, long& rLength, SvxCSS1LengthType& rLengthType, @@ -2895,7 +2857,6 @@ static void ParseCSS1_length( const CSS1Expression *pExpr, } } - static void ParseCSS1_width( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, SvxCSS1PropertyInfo& rPropInfo, @@ -2928,7 +2889,6 @@ static void ParseCSS1_top( const CSS1Expression *pExpr, ParseCSS1_length( pExpr, rPropInfo.nTop, rPropInfo.eTopType, sal_False ); } - // Feature: PrintExt static void ParseCSS1_size( const CSS1Expression *pExpr, SfxItemSet & /*rItemSet*/, @@ -2981,7 +2941,6 @@ static void ParseCSS1_size( const CSS1Expression *pExpr, // /Feature: PrintExt - // Feature: PrintExt static void ParseCSS1_page_break_xxx( const CSS1Expression *pExpr, @@ -3099,7 +3058,6 @@ static void ParseCSS1_so_language( const CSS1Expression *pExpr, } } - // die Zuordung Property zu parsender Funktion struct CSS1PropEntry { @@ -3114,7 +3072,6 @@ struct CSS1PropEntry #define CSS1_PROP_ENTRY(p) \ { { sCSS1_P_##p }, ParseCSS1_##p } - // die Tabelle mit den Zuordnungen static CSS1PropEntry aCSS1PropFnTab[] = { @@ -3174,7 +3131,6 @@ static CSS1PropEntry aCSS1PropFnTab[] = CSS1_PROP_ENTRY(so_language) }; - static int bSortedPropFns = sal_False; extern "C" |