diff options
Diffstat (limited to 'sc/source/filter/excel/xlstyle.cxx')
-rw-r--r-- | sc/source/filter/excel/xlstyle.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx index 8439347af6d7..e3657b7c060b 100644 --- a/sc/source/filter/excel/xlstyle.cxx +++ b/sc/source/filter/excel/xlstyle.cxx @@ -85,7 +85,7 @@ static const ColorData spnDefColorTable8[] = #undef EXC_PALETTE_EGA_COLORS_LIGHT #undef EXC_PALETTE_EGA_COLORS_DARK -// ---------------------------------------------------------------------------- + XclDefaultPalette::XclDefaultPalette( const XclRoot& rRoot ) : mpnColorTable( 0 ), @@ -169,7 +169,7 @@ namespace AwtFontFamily = Awt::FontFamily; namespace AwtFontUnderline = Awt::FontUnderline; namespace AwtFontStrikeout = Awt::FontStrikeout; -// ---------------------------------------------------------------------------- + XclFontData::XclFontData() { @@ -517,7 +517,7 @@ void XclFontData::SetApiStrikeout( sal_Int16 nApiStrikeout ) (nApiStrikeout != AwtFontStrikeout::DONTKNOW); } -// ---------------------------------------------------------------------------- + bool operator==( const XclFontData& rLeft, const XclFontData& rRight ) { @@ -536,7 +536,7 @@ bool operator==( const XclFontData& rLeft, const XclFontData& rRight ) (rLeft.maName == rRight.maName); } -// ---------------------------------------------------------------------------- + namespace { @@ -614,7 +614,7 @@ void lclWriteChartFont( ScfPropertySet& rPropSet, } // namespace -// ---------------------------------------------------------------------------- + XclFontPropSetHelper::XclFontPropSetHelper() : maHlpChCommon( sppcPropNamesChCommon ), @@ -766,7 +766,7 @@ ScfPropSetHelper& XclFontPropSetHelper::GetChartHelper( sal_Int16 nScript ) namespace { -// ---------------------------------------------------------------------------- + /** Special number format index describing a reused format. */ const NfIndexTableOffset PRV_NF_INDEX_REUSE = NF_INDEX_TABLE_ENTRIES; @@ -778,7 +778,7 @@ const LanguageType PRV_LANGUAGE_FRENCH_PRIM = LANGUAGE_FRENCH & LANGUAGE_MASK_PR /** Parent language identifier for Asian languages. */ const LanguageType PRV_LANGUAGE_ASIAN_PRIM = LANGUAGE_CHINESE & LANGUAGE_MASK_PRIMARY; -// ---------------------------------------------------------------------------- + /** Stores the number format used in Calc for an Excel built-in number format. */ struct XclBuiltInFormat @@ -789,7 +789,7 @@ struct XclBuiltInFormat sal_uInt16 mnXclReuseFmt; /// Use this Excel format, if meOffset==PRV_NF_INDEX_REUSE. }; -// ---------------------------------------------------------------------------- + /** Defines a literal Excel built-in number format. */ #define EXC_NUMFMT_STRING( nXclNumFmt, pcUtf8 ) \ @@ -807,7 +807,7 @@ struct XclBuiltInFormat #define EXC_NUMFMT_ENDTABLE() \ { EXC_FORMAT_NOTFOUND, 0, NF_NUMBER_STANDARD, 0 } -// ---------------------------------------------------------------------------- + // Currency unit characters #define UTF8_BAHT "\340\270\277" @@ -837,7 +837,7 @@ struct XclBuiltInFormat #define UTF8_KO_MIN "\353\266\204" #define UTF8_KO_SEC "\354\264\210" -// ---------------------------------------------------------------------------- + /** Default number format table. Last parent of all other tables, used for unknown languages. */ static const XclBuiltInFormat spBuiltInFormats_DONTKNOW[] = @@ -1410,14 +1410,14 @@ static const XclBuiltInFormat spBuiltInFormats_THAI[] = EXC_NUMFMT_ENDTABLE() }; -// ---------------------------------------------------------------------------- + #undef EXC_NUMFMT_ENDTABLE #undef EXC_NUMFMT_REUSE #undef EXC_NUMFMT_OFFSET #undef EXC_NUMFMT_STRING -// ---------------------------------------------------------------------------- + /** Specifies a number format table for a specific language. */ struct XclBuiltInFormatTable @@ -1471,7 +1471,7 @@ static const XclBuiltInFormatTable spBuiltInFormatTables[] = { LANGUAGE_THAI, LANGUAGE_DONTKNOW, spBuiltInFormats_THAI } }; -// ---------------------------------------------------------------------------- + } // namespace @@ -1570,7 +1570,7 @@ bool operator==( const XclCellProt& rLeft, const XclCellProt& rRight ) return (rLeft.mbLocked == rRight.mbLocked) && (rLeft.mbHidden == rRight.mbHidden); } -// ---------------------------------------------------------------------------- + XclCellAlign::XclCellAlign() : mnHorAlign( EXC_XF_HOR_GENERAL ), @@ -1689,7 +1689,7 @@ bool operator==( const XclCellAlign& rLeft, const XclCellAlign& rRight ) (rLeft.mbLineBreak == rRight.mbLineBreak) && (rLeft.mbShrink == rRight.mbShrink); } -// ---------------------------------------------------------------------------- + XclCellBorder::XclCellBorder() : mnLeftColor( 0 ), @@ -1718,7 +1718,7 @@ bool operator==( const XclCellBorder& rLeft, const XclCellBorder& rRight ) (rLeft.mbDiagTLtoBR == rRight.mbDiagTLtoBR) && (rLeft.mbDiagBLtoTR == rRight.mbDiagBLtoTR); } -// ---------------------------------------------------------------------------- + XclCellArea::XclCellArea() : mnForeColor( EXC_COLOR_WINDOWTEXT ), @@ -1739,7 +1739,7 @@ bool operator==( const XclCellArea& rLeft, const XclCellArea& rRight ) (rLeft.mnPattern == rRight.mnPattern); } -// ---------------------------------------------------------------------------- + XclXFBase::XclXFBase( bool bCellXF ) : mnParent( bCellXF ? EXC_XF_DEFAULTSTYLE : EXC_XF_STYLEPARENT ), |