diff options
Diffstat (limited to 'sc/source/filter/excel')
44 files changed, 120 insertions, 120 deletions
diff --git a/sc/source/filter/excel/colrowst.cxx b/sc/source/filter/excel/colrowst.cxx index a6b2cf24de9f..534f44e4ca9a 100644 --- a/sc/source/filter/excel/colrowst.cxx +++ b/sc/source/filter/excel/colrowst.cxx @@ -32,14 +32,14 @@ // for filter manager #include "excimp8.hxx" -// ============================================================================ + const sal_uInt8 EXC_COLROW_USED = 0x01; const sal_uInt8 EXC_COLROW_DEFAULT = 0x02; const sal_uInt8 EXC_COLROW_HIDDEN = 0x04; const sal_uInt8 EXC_COLROW_MAN = 0x08; -// ============================================================================ + XclImpColRowSettings::XclImpColRowSettings( const XclImpRoot& rRoot ) : XclImpRoot( rRoot ), diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx index 9a7b122e84ff..740c770e7844 100644 --- a/sc/source/filter/excel/excform8.cxx +++ b/sc/source/filter/excel/excform8.cxx @@ -79,7 +79,7 @@ ExcelToSc8::ExternalTabInfo::ExternalTabInfo() : { } -// ============================================================================ + ExcelToSc8::ExcelToSc8( const XclImpRoot& rRoot ) : ExcelToSc( rRoot ), diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx index 6c603d700b69..4c9485035656 100644 --- a/sc/source/filter/excel/excrecds.cxx +++ b/sc/source/filter/excel/excrecds.cxx @@ -538,7 +538,7 @@ void XclExpSheetProtection::SaveXml( XclExpXmlStream& rStrm ) FSEND ); } } -// ============================================================================ + XclExpPassHash::XclExpPassHash(const Sequence<sal_Int8>& aHash) : XclExpRecord(EXC_ID_PASSWORD, 2), @@ -560,7 +560,7 @@ void XclExpPassHash::WriteBody(XclExpStream& rStrm) rStrm << mnHash; } -// ============================================================================ + XclExpFiltermode::XclExpFiltermode() : XclExpEmptyRecord( EXC_ID_FILTERMODE ) @@ -1103,6 +1103,6 @@ bool XclExpFilterManager::HasFilterMode( SCTAB nScTab ) return false; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index cfec247c9098..ecdc9cfcf8b0 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -3545,6 +3545,6 @@ XclExpChart::XclExpChart( const XclExpRoot& rRoot, Reference< XModel > xModel, c AppendNewRecord( new XclExpChChart( rRoot, xChartDoc, rChartRect ) ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index 718ba0a40e49..14baaea48ae5 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -1974,6 +1974,6 @@ XclExpWebQueryBuffer::XclExpWebQueryBuffer( const XclExpRoot& rRoot ) } } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index 24e54b31cdea..f3530b3c4e10 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -362,7 +362,7 @@ XclExpMsoDrawing::XclExpMsoDrawing( XclEscherEx& rEscherEx ) : { } -// ============================================================================ + XclExpImgData::XclExpImgData( const Graphic& rGraphic, sal_uInt16 nRecId ) : maGraphic( rGraphic ), @@ -423,7 +423,7 @@ void XclExpImgData::SaveXml( XclExpXmlStream& rStrm ) FSEND ); } -// ============================================================================ + XclExpControlHelper::XclExpControlHelper( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ), @@ -1208,7 +1208,7 @@ void XclExpChartObj::WriteShapeTransformation( sax_fastparser::FSHelperPtr pFS, pFS->endElementNS( XML_xdr, XML_xfrm ); } -// ============================================================================ + XclExpNote::XclExpNote( const XclExpRoot& rRoot, const ScAddress& rScPos, const ScPostIt* pScNote, const OUString& rAddText ) : @@ -1388,7 +1388,7 @@ void XclExpNote::WriteXml( sal_Int32 nAuthorId, XclExpXmlStream& rStrm ) rComments->endElement( XML_comment ); } -// ============================================================================ + XclMacroHelper::XclMacroHelper( const XclExpRoot& rRoot ) : XclExpControlHelper( rRoot ) @@ -1454,7 +1454,7 @@ void XclExpShapeObj::WriteSubRecs( XclExpStream& rStrm ) WriteMacroSubRec( rStrm ); } -// ============================================================================ + XclExpComments::XclExpComments( SCTAB nTab, XclExpRecordList< XclExpNote >& rNotes ) : mnTab( nTab ), mrNotes( rNotes ) @@ -1653,6 +1653,6 @@ XclExpDffAnchorBase* XclExpEmbeddedObjectManager::CreateDffAnchor() const return new XclExpDffEmbeddedAnchor( GetRoot(), maPageSize, mnScaleX, mnScaleY ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx index a01f3dbfa156..4e1dc5191e89 100644 --- a/sc/source/filter/excel/xeformula.cxx +++ b/sc/source/filter/excel/xeformula.cxx @@ -2552,7 +2552,7 @@ void XclExpFmlaCompImpl::AppendExt( const OUString& rString ) lclAppend( mxData->maExtDataVec, GetRoot(), rString, (meBiff == EXC_BIFF8) ? EXC_STR_DEFAULT : EXC_STR_8BITLENGTH ); } -// ============================================================================ + namespace { diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx index 113d98c5c4ea..5d2526d06bca 100644 --- a/sc/source/filter/excel/xehelper.cxx +++ b/sc/source/filter/excel/xehelper.cxx @@ -1064,6 +1064,6 @@ void XclExpCachedMatrix::Save( XclExpStream& rStrm ) const } } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx index 23b59771bb6d..26d2b255025d 100644 --- a/sc/source/filter/excel/xelink.cxx +++ b/sc/source/filter/excel/xelink.cxx @@ -36,9 +36,9 @@ using ::std::find_if; using ::std::vector; using ::com::sun::star::uno::Any; -// ============================================================================ + // *** Helper classes *** -// ============================================================================ + // External names ============================================================= @@ -623,9 +623,9 @@ private: XclExpXtiVec maXtiVec; /// List of XTI structures for the EXTERNSHEET record. }; -// ============================================================================ + // *** Implementation *** -// ============================================================================ + // Excel sheet indexes ======================================================== @@ -2249,7 +2249,7 @@ sal_uInt16 XclExpLinkManagerImpl8::InsertXti( const XclExpXti& rXti ) return ulimit_cast< sal_uInt16 >( maXtiVec.size() - 1 ); } -// ============================================================================ + XclExpLinkManager::XclExpLinkManager( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ) @@ -2348,6 +2348,6 @@ void XclExpLinkManager::Save( XclExpStream& rStrm ) mxImpl->Save( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx index 3e6734eda5b2..fad69b372e76 100644 --- a/sc/source/filter/excel/xename.cxx +++ b/sc/source/filter/excel/xename.cxx @@ -37,9 +37,9 @@ using namespace ::oox; -// ============================================================================ + // *** Helper classes *** -// ============================================================================ + /** Represents an internal defined name, supports writing it to a NAME record. */ class XclExpName : public XclExpRecord, protected XclExpRoot @@ -196,9 +196,9 @@ private: size_t mnFirstUserIdx; /// List index of first user-defined NAME record. }; -// ============================================================================ + // *** Implementation *** -// ============================================================================ + XclExpName::XclExpName( const XclExpRoot& rRoot, const OUString& rName ) : XclExpRecord( EXC_ID_NAME ), @@ -758,6 +758,6 @@ void XclExpNameManager::SaveXml( XclExpXmlStream& rStrm ) mxImpl->SaveXml( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xepage.cxx b/sc/source/filter/excel/xepage.cxx index 12ff6be5759d..23091a4e174b 100644 --- a/sc/source/filter/excel/xepage.cxx +++ b/sc/source/filter/excel/xepage.cxx @@ -428,6 +428,6 @@ void XclExpChartPageSettings::Save( XclExpStream& rStrm ) XclExpUInt16Record( EXC_ID_PRINTSIZE, EXC_PRINTSIZE_FULL ).Save( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index 609133a91a8d..42a2c002e047 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -57,9 +57,9 @@ using ::com::sun::star::sheet::DataPilotFieldLayoutInfo; using ::com::sun::star::sheet::DataPilotFieldReference; -// ============================================================================ + // Pivot cache -// ============================================================================ + namespace { @@ -72,7 +72,7 @@ const sal_uInt16 EXC_PCITEM_DATA_DATE = 0x0008; /// Date, time, date/tim /** Maps a bitfield consisting of EXC_PCITEM_DATA_* flags above to SXFIELD data type bitfield. */ static const sal_uInt16 spnPCItemFlags[] = { // STR DBL INT DAT - EXC_SXFIELD_DATA_NONE, // + EXC_SXFIELD_DATA_NONE, EXC_SXFIELD_DATA_STR, // x EXC_SXFIELD_DATA_INT, // x EXC_SXFIELD_DATA_STR_INT, // x x @@ -193,7 +193,7 @@ void XclExpPCItem::WriteBody( XclExpStream& rStrm ) } } -// ============================================================================ + XclExpPCField::XclExpPCField( const XclExpRoot& rRoot, const XclExpPivotCache& rPCache, sal_uInt16 nFieldIdx, @@ -624,7 +624,7 @@ void XclExpPCField::WriteBody( XclExpStream& rStrm ) rStrm << maFieldInfo; } -// ============================================================================ + XclExpPivotCache::XclExpPivotCache( const XclExpRoot& rRoot, const ScDPObject& rDPObj, sal_uInt16 nListIdx ) : XclExpRoot( rRoot ), @@ -911,9 +911,9 @@ void XclExpPivotCache::WriteSxindexlistList( XclExpStream& rStrm ) const } } -// ============================================================================ + // Pivot table -// ============================================================================ + namespace { @@ -951,7 +951,7 @@ OUString lclGetDataFieldCaption( const OUString& rFieldName, GeneralFunction eFu } // namespace -// ============================================================================ + XclExpPTItem::XclExpPTItem( const XclExpPCField& rCacheField, sal_uInt16 nCacheIdx ) : XclExpRecord( EXC_ID_SXVI, 8 ), @@ -994,7 +994,7 @@ void XclExpPTItem::WriteBody( XclExpStream& rStrm ) rStrm << maItemInfo; } -// ============================================================================ + XclExpPTField::XclExpPTField( const XclExpPivotTable& rPTable, sal_uInt16 nCacheIdx ) : mrPTable( rPTable ), @@ -1241,7 +1241,7 @@ void XclExpPTField::WriteSxvdex( XclExpStream& rStrm ) const rStrm.EndRecord(); } -// ============================================================================ + XclExpPivotTable::XclExpPivotTable( const XclExpRoot& rRoot, const ScDPObject& rDPObj, const XclExpPivotCache& rPCache, size_t nId ) : XclExpRoot( rRoot ), @@ -1798,7 +1798,7 @@ void XclExpPivotTable::WriteSxViewEx9( XclExpStream& rStrm ) const } } -// ============================================================================ + namespace { @@ -1950,6 +1950,6 @@ const XclExpPivotCache* XclExpPivotTableManager::CreatePivotCache( const ScDPObj return 0; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xerecord.cxx b/sc/source/filter/excel/xerecord.cxx index 62b475c5ca81..74c37287b29e 100644 --- a/sc/source/filter/excel/xerecord.cxx +++ b/sc/source/filter/excel/xerecord.cxx @@ -231,7 +231,7 @@ void XclExpFutureRecord::Save( XclExpStream& rStrm ) rStrm.EndRecord(); } -// ============================================================================ + XclExpSubStream::XclExpSubStream( sal_uInt16 nSubStrmType ) : mnSubStrmType( nSubStrmType ) @@ -281,6 +281,6 @@ void XclExpSubStream::Save( XclExpStream& rStrm ) rStrm.EndRecord(); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xeroot.cxx b/sc/source/filter/excel/xeroot.cxx index 5708cc337f48..88ab3e3e2c4c 100644 --- a/sc/source/filter/excel/xeroot.cxx +++ b/sc/source/filter/excel/xeroot.cxx @@ -362,6 +362,6 @@ XclExpRootData::XclExpLinkMgrRef XclExpRoot::GetLocalLinkMgrRef() const return IsInGlobals() ? mrExpData.mxGlobLinkMgr : mrExpData.mxLocLinkMgr; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 3dc697d44479..2c37fb177666 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -77,7 +77,7 @@ using namespace ::com::sun::star::uno; using namespace ::formula; using namespace ::oox; -// ============================================================================ + XclExpStream::XclExpStream( SvStream& rOutStrm, const XclExpRoot& rRoot, sal_uInt16 nMaxRecSize ) : mrStrm( rOutStrm ), @@ -465,7 +465,7 @@ void XclExpStream::WriteRawZeroBytes( sal_Size nBytes ) mrStrm.Write( &nData, nBytesLeft ); } -// ============================================================================ + XclExpBiff8Encrypter::XclExpBiff8Encrypter( const XclExpRoot& rRoot ) : mnOldPos(STREAM_SEEK_TO_END), @@ -970,7 +970,7 @@ sax_fastparser::FSHelperPtr XclXmlUtils::WriteFontData( sax_fastparser::FSHelper } -// ============================================================================ + XclExpXmlStream::XclExpXmlStream( const Reference< XComponentContext >& rCC ) : XmlFilterBase( rCC ), diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx index 80bfeb90d204..f3b8069c011e 100644 --- a/sc/source/filter/excel/xestring.cxx +++ b/sc/source/filter/excel/xestring.cxx @@ -28,7 +28,7 @@ using namespace ::oox; -// ============================================================================ + namespace { @@ -560,6 +560,6 @@ void XclExpString::PrepareWrite( XclExpStream& rStrm, sal_uInt16 nBytes ) const rStrm.SetSliceSize( nBytes + (mbIsUnicode ? 2 : 1) ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index 086577958f66..fcf9e690d6c1 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -1039,7 +1039,7 @@ void XclExpBlindFont::Save( XclExpStream& /*rStrm*/ ) // do nothing } -// ============================================================================ + XclExpFontBuffer::XclExpFontBuffer( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ), @@ -2998,7 +2998,7 @@ void XclExpDxfs::SaveXml( XclExpXmlStream& rStrm ) rStyleSheet->endElement( XML_dxfs ); } -// ============================================================================ + XclExpDxf::XclExpDxf( const XclExpRoot& rRoot, XclExpCellAlign* pAlign, XclExpCellBorder* pBorder, XclExpFont* pFont, XclExpNumFmt* pNumberFmt, XclExpCellProt* pProt, XclExpColor* pColor) @@ -3036,7 +3036,7 @@ void XclExpDxf::SaveXml( XclExpXmlStream& rStrm ) rStyleSheet->endElement( XML_dxf ); } -// ============================================================================ + XclExpXmlStyleSheet::XclExpXmlStyleSheet( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ) @@ -3068,6 +3068,6 @@ void XclExpXmlStyleSheet::SaveXml( XclExpXmlStream& rStrm ) rStrm.PopStream(); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index eaf2586f3d6c..5655910990c9 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -40,9 +40,9 @@ using namespace ::oox; namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; -// ============================================================================ + // Helper records for cell records -// ============================================================================ + XclExpStringRec::XclExpStringRec( const XclExpRoot& rRoot, const OUString& rResult ) : XclExpRecord( EXC_ID3_STRING ), @@ -528,9 +528,9 @@ XclExpTableopRef XclExpTableopBuffer::TryCreate( const ScAddress& rScPos, const return xRec; } -// ============================================================================ + // Cell records -// ============================================================================ + XclExpCellBase::XclExpCellBase( sal_uInt16 nRecId, sal_Size nContSize, const XclAddress& rXclPos ) : @@ -1345,9 +1345,9 @@ void XclExpRkCell::WriteContents( XclExpStream& rStrm, sal_uInt16 nRelCol ) rStrm << maRkValues[ nRelCol ]; } -// ============================================================================ + // Rows and Columns -// ============================================================================ + XclExpOutlineBuffer::XclExpOutlineBuffer( const XclExpRoot& rRoot, bool bRows ) : mpScOLArray( 0 ), @@ -1502,7 +1502,7 @@ void XclExpDimensions::WriteBody( XclExpStream& rStrm ) rStrm << sal_uInt16( 0 ); } -// ============================================================================ + namespace { @@ -1723,7 +1723,7 @@ void XclExpColinfoBuffer::SaveXml( XclExpXmlStream& rStrm ) rWorksheet->endElement( XML_cols ); } -// ============================================================================ + XclExpDefaultRowData::XclExpDefaultRowData() : mnFlags( EXC_DEFROW_DEFAULTFLAGS ), @@ -2270,9 +2270,9 @@ XclExpRow& XclExpRowBuffer::GetOrCreateRow( sal_uInt32 nXclRow, bool bRowAlwaysE } -// ============================================================================ + // Cell Table -// ============================================================================ + XclExpCellTable::XclExpCellTable( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ), @@ -2557,6 +2557,6 @@ void XclExpCellTable::SaveXml( XclExpXmlStream& rStrm ) mxExtLst->SaveXml( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xeview.cxx b/sc/source/filter/excel/xeview.cxx index ea466796d6bc..53cf362d562a 100644 --- a/sc/source/filter/excel/xeview.cxx +++ b/sc/source/filter/excel/xeview.cxx @@ -524,6 +524,6 @@ void XclExpTabViewSettings::WriteTabBgColor( XclExpStream& rStrm ) const if ( !maData.IsDefaultTabBgColor() ) XclExpTabBgColor( maData ).Save( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 314c9259910e..026f64d97186 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -4383,6 +4383,6 @@ void XclImpChart::ReadChChart( XclImpStream& rStrm ) mxChartData->ReadRecordGroup( rStrm ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx index ea32ced60b1f..31dd52dea22e 100644 --- a/sc/source/filter/excel/xicontent.cxx +++ b/sc/source/filter/excel/xicontent.cxx @@ -1329,6 +1329,6 @@ XclImpSheetProtectBuffer::Sheet* XclImpSheetProtectBuffer::GetSheetItem( SCTAB n return &itr->second; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 832003b8811c..f1c4430fc258 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -142,7 +142,7 @@ using ::com::sun::star::script::XEventAttacherManager; using ::com::sun::star::table::CellAddress; using ::com::sun::star::table::CellRangeAddress; -// ============================================================================ + namespace { @@ -4336,6 +4336,6 @@ XclImpStream& operator>>( XclImpStream& rStrm, XclImpDffPropSet& rPropSet ) return rStrm; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xiformula.cxx b/sc/source/filter/excel/xiformula.cxx index 867f27de9561..f29636beb36a 100644 --- a/sc/source/filter/excel/xiformula.cxx +++ b/sc/source/filter/excel/xiformula.cxx @@ -114,6 +114,6 @@ const ScTokenArray* XclImpFormulaCompiler::CreateFormula( return mxImpl->CreateFormula(eType, rXclTokArr); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx index d708f7c4e86b..b23c1d0b231f 100644 --- a/sc/source/filter/excel/xihelper.cxx +++ b/sc/source/filter/excel/xihelper.cxx @@ -897,6 +897,6 @@ ScMatrixRef XclImpCachedMatrix::CreateScMatrix( svl::SharedStringPool& rPool ) c return xScMatrix; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx index 4f62ad14c83d..8be264201a7e 100644 --- a/sc/source/filter/excel/xilink.cxx +++ b/sc/source/filter/excel/xilink.cxx @@ -37,9 +37,9 @@ using ::std::vector; -// ============================================================================ + // *** Helper classes *** -// ============================================================================ + // Cached external cells ====================================================== @@ -216,9 +216,9 @@ private: XclImpSupbookList maSupbookList; /// List of external documents. }; -// ============================================================================ + // *** Implementation *** -// ============================================================================ + // Excel sheet indexes ======================================================== @@ -866,7 +866,7 @@ void XclImpLinkManagerImpl::LoadCachedValues() itSupbook->LoadCachedValues(); } -// ============================================================================ + XclImpLinkManager::XclImpLinkManager( const XclImpRoot& rRoot ) : XclImpRoot( rRoot ), @@ -939,6 +939,6 @@ const OUString& XclImpLinkManager::GetMacroName( sal_uInt16 nExtSheet, sal_uInt1 return mxImpl->GetMacroName( nExtSheet, nExtName ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xiname.cxx b/sc/source/filter/excel/xiname.cxx index 6f8094365dd3..6ae1dddfb1ca 100644 --- a/sc/source/filter/excel/xiname.cxx +++ b/sc/source/filter/excel/xiname.cxx @@ -27,9 +27,9 @@ #include "excimp8.hxx" #include "scextopt.hxx" #include "document.hxx" -// ============================================================================ + // *** Implementation *** -// ============================================================================ + XclImpName::TokenStrmData::TokenStrmData( XclImpStream& rStrm ) : mrStrm(rStrm), mnStrmPos(0), mnStrmSize(0) {} @@ -311,6 +311,6 @@ void XclImpNameManager::ConvertAllTokens() it->ConvertTokens(); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xipage.cxx b/sc/source/filter/excel/xipage.cxx index 086dba9cb61b..9c34d59ccdd0 100644 --- a/sc/source/filter/excel/xipage.cxx +++ b/sc/source/filter/excel/xipage.cxx @@ -380,6 +380,6 @@ void XclImpPageSettings::Finalize() } } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx index 01a7d545f27b..9ed241fe75e6 100644 --- a/sc/source/filter/excel/xipivot.cxx +++ b/sc/source/filter/excel/xipivot.cxx @@ -62,9 +62,9 @@ using ::com::sun::star::sheet::DataPilotFieldLayoutInfo; using ::com::sun::star::sheet::DataPilotFieldReference; using ::std::vector; -// ============================================================================ + // Pivot cache -// ============================================================================ + XclImpPCItem::XclImpPCItem( XclImpStream& rStrm ) { @@ -173,7 +173,7 @@ void XclImpPCItem::ReadSxempty( XclImpStream& rStrm ) SetEmpty(); } -// ============================================================================ + XclImpPCField::XclImpPCField( const XclImpRoot& rRoot, XclImpPivotCache& rPCache, sal_uInt16 nFieldIdx ) : XclPCField( EXC_PCFIELD_UNKNOWN, nFieldIdx ), @@ -582,7 +582,7 @@ const sal_Int16* XclImpPCField::GetDateGroupStep() const return 0; } -// ============================================================================ + XclImpPivotCache::XclImpPivotCache( const XclImpRoot& rRoot ) : XclImpRoot( rRoot ), @@ -880,9 +880,9 @@ bool XclImpPivotCache::IsValid() const return maSrcRange.IsValid(); } -// ============================================================================ + // Pivot table -// ============================================================================ + XclImpPTItem::XclImpPTItem( const XclImpPCField* pCacheField ) : mpCacheField( pCacheField ) @@ -915,7 +915,7 @@ void XclImpPTItem::ConvertItem( ScDPSaveDimension& rSaveDim ) const } } -// ============================================================================ + XclImpPTField::XclImpPTField( const XclImpPivotTable& rPTable, sal_uInt16 nCacheIdx ) : mrPTable( rPTable ) @@ -1191,7 +1191,7 @@ void XclImpPTField::ConvertItems( ScDPSaveDimension& rSaveDim ) const (*aIt)->ConvertItem( rSaveDim ); } -// ============================================================================ + XclImpPivotTable::XclImpPivotTable( const XclImpRoot& rRoot ) : XclImpRoot( rRoot ), @@ -1525,7 +1525,7 @@ void XclImpPivotTable::ApplyMergeFlags(const ScRange& rOutRange, const ScDPSaveD } } -// ============================================================================ + XclImpPivotTableManager::XclImpPivotTableManager( const XclImpRoot& rRoot ) : XclImpRoot( rRoot ) @@ -1648,6 +1648,6 @@ void XclImpPivotTableManager::MaybeRefreshPivotTables() (*aIt)->MaybeRefresh(); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xiroot.cxx b/sc/source/filter/excel/xiroot.cxx index 187509b07714..1d0d4be3011d 100644 --- a/sc/source/filter/excel/xiroot.cxx +++ b/sc/source/filter/excel/xiroot.cxx @@ -302,6 +302,6 @@ ScDocumentImport& XclImpRoot::GetDocImport() return *mrImpData.mxDocImport; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx index 6bb02077fb17..75662a1d7d2c 100644 --- a/sc/source/filter/excel/xistream.cxx +++ b/sc/source/filter/excel/xistream.cxx @@ -30,9 +30,9 @@ using namespace ::com::sun::star; -// ============================================================================ + // Decryption -// ============================================================================ + XclImpDecrypter::XclImpDecrypter() : mnError( EXC_ENCR_ERROR_UNSUPP_CRYPT ), @@ -321,9 +321,9 @@ sal_uInt16 XclImpBiff8Decrypter::GetOffset( sal_Size nStrmPos ) const return static_cast< sal_uInt16 >( nStrmPos % EXC_ENCR_BLOCKSIZE ); } -// ============================================================================ + // Stream -// ============================================================================ + XclImpStreamPos::XclImpStreamPos() : mnPos( STREAM_SEEK_TO_BEGIN ), @@ -364,7 +364,7 @@ void XclImpStreamPos::Get( rbValid = mbValid; } -// ============================================================================ + XclBiff XclImpStream::DetectBiffVersion( SvStream& rStrm ) { @@ -1147,6 +1147,6 @@ sal_uInt16 XclImpStream::ReadRawData( void* pData, sal_uInt16 nBytes ) return nRet; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xistring.cxx b/sc/source/filter/excel/xistring.cxx index e25838cfc86d..51b4a04d98dc 100644 --- a/sc/source/filter/excel/xistring.cxx +++ b/sc/source/filter/excel/xistring.cxx @@ -202,6 +202,6 @@ XclImpStringIterator& XclImpStringIterator::operator++() return *this; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx index 21bd97e9213a..5b2d03ccaa33 100644 --- a/sc/source/filter/excel/xistyle.cxx +++ b/sc/source/filter/excel/xistyle.cxx @@ -2021,6 +2021,6 @@ void XclImpXFRangeBuffer::Finalize() } } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xiview.cxx b/sc/source/filter/excel/xiview.cxx index 282c0d9d10e7..b4e196d151a5 100644 --- a/sc/source/filter/excel/xiview.cxx +++ b/sc/source/filter/excel/xiview.cxx @@ -293,6 +293,6 @@ void XclImpTabViewSettings::Finalize() rDoc.SetTabBgColor(nScTab, maData.maTabBgColor); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xladdress.cxx b/sc/source/filter/excel/xladdress.cxx index 19e32972a97b..694e1e071920 100644 --- a/sc/source/filter/excel/xladdress.cxx +++ b/sc/source/filter/excel/xladdress.cxx @@ -22,7 +22,7 @@ #include "xltracer.hxx" #include "xistream.hxx" -// ============================================================================ + void XclAddress::Read( XclImpStream& rStrm, bool bCol16Bit ) { @@ -119,7 +119,7 @@ void XclRangeList::WriteSubList( XclExpStream& rStrm, size_t nBegin, size_t nCou aIt->Write( rStrm, bCol16Bit ); } -// ============================================================================ + XclAddressConverterBase::XclAddressConverterBase( XclTracer& rTracer, const ScAddress& rMaxPos ) : mrTracer( rTracer ), @@ -149,6 +149,6 @@ bool XclAddressConverterBase::CheckScTab( SCTAB nScTab, bool bWarn ) return bValid; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx index dbfedce07f6f..e49b2445280d 100644 --- a/sc/source/filter/excel/xlchart.cxx +++ b/sc/source/filter/excel/xlchart.cxx @@ -1231,7 +1231,7 @@ ScfPropSetHelper& XclChPropSetHelper::GetHatchHelper( XclChPropertyMode ePropMod return maHatchHlpCommon; } -// ============================================================================ + namespace { @@ -1343,6 +1343,6 @@ Reference< XShape > XclChRootData::GetTitleShape( const XclChTextKey& rTitleKey return xTitleShape; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlescher.cxx b/sc/source/filter/excel/xlescher.cxx index ce0ec44064ae..e1787d21bc19 100644 --- a/sc/source/filter/excel/xlescher.cxx +++ b/sc/source/filter/excel/xlescher.cxx @@ -287,7 +287,7 @@ void XclObjTextData::ReadTxo8( XclImpStream& rStrm ) rStrm >> mnFlags >> mnOrient >> mnButtonFlags >> mnShortcut >> mnShortcutEA >> mnTextLen >> mnFormatSize; } -// ============================================================================ + Reference< XControlModel > XclControlHelper::GetControlModel( Reference< XShape > xShape ) { @@ -342,6 +342,6 @@ OUString XclControlHelper::ExtractFromMacroDescriptor( return OUString(); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx index 967c96b83dbf..83a79ca2d112 100644 --- a/sc/source/filter/excel/xlformula.cxx +++ b/sc/source/filter/excel/xlformula.cxx @@ -943,6 +943,6 @@ bool XclTokenArrayHelper::GetMultipleOpRefs( return eState == stClose; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlpage.cxx b/sc/source/filter/excel/xlpage.cxx index dfe6b16dbd0d..a05aa1076dcf 100644 --- a/sc/source/filter/excel/xlpage.cxx +++ b/sc/source/filter/excel/xlpage.cxx @@ -261,6 +261,6 @@ void XclPageData::SetScPaperSize( const Size& rSize, bool bPortrait, bool bStric SetScPaperSize( rSize, bPortrait, true ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx index 82935f4c2804..8010d89cbb9a 100644 --- a/sc/source/filter/excel/xlpivot.cxx +++ b/sc/source/filter/excel/xlpivot.cxx @@ -34,9 +34,9 @@ namespace ScDPLayoutMode = ::com::sun::star::sheet::DataPilotFieldLayoutMode; namespace ScDPRefItemType = ::com::sun::star::sheet::DataPilotFieldReferenceItemType; namespace ScDPGroupBy = ::com::sun::star::sheet::DataPilotFieldGroupBy; -// ============================================================================ + // Pivot cache -// ============================================================================ + XclPCItem::XclPCItem() : meType( EXC_PCITEM_INVALID ), @@ -386,9 +386,9 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclPCInfo& rInfo ) << XclExpString( rInfo.maUserName ); } -// ============================================================================ + // Pivot table -// ============================================================================ + // cached name ================================================================ @@ -935,7 +935,7 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclPTExtInfo& rInfo ) << EXC_PT_NOSTRING; // length of vacate style name } -// ============================================================================ + // Pivot table autoformat settings ============================================ diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx index 0b363995463e..bf12dab002dc 100644 --- a/sc/source/filter/excel/xlroot.cxx +++ b/sc/source/filter/excel/xlroot.cxx @@ -408,6 +408,6 @@ XclTracer& XclRoot::GetTracer() const return *mrData.mxTracer; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx index e3657b7c060b..d237a9b4ce4f 100644 --- a/sc/source/filter/excel/xlstyle.cxx +++ b/sc/source/filter/excel/xlstyle.cxx @@ -1475,7 +1475,7 @@ static const XclBuiltInFormatTable spBuiltInFormatTables[] = } // namespace -// ============================================================================ + XclNumFmtBuffer::XclNumFmtBuffer( const XclRoot& rRoot ) : meSysLang( rRoot.GetSysLanguage() ), @@ -1771,6 +1771,6 @@ bool XclXFBase::Equals( const XclXFBase& rCmp ) const (mbBorderUsed == rCmp.mbBorderUsed) && (mbAreaUsed == rCmp.mbAreaUsed); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx index d12a85aa793d..a044442306e4 100644 --- a/sc/source/filter/excel/xltools.cxx +++ b/sc/source/filter/excel/xltools.cxx @@ -728,6 +728,6 @@ XclExpStream& operator<<( XclExpStream& rStrm, const Color& rColor ) return rStrm << rColor.GetRed() << rColor.GetGreen() << rColor.GetBlue() << sal_uInt8( 0 ); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xltracer.cxx b/sc/source/filter/excel/xltracer.cxx index 5a83ae37c5de..a18b76decdab 100644 --- a/sc/source/filter/excel/xltracer.cxx +++ b/sc/source/filter/excel/xltracer.cxx @@ -146,6 +146,6 @@ void XclTracer::TraceDVType( bool bType) ProcessTraceOnce(eDVType); } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/excel/xlview.cxx b/sc/source/filter/excel/xlview.cxx index 6cb3c3e697f5..0942f25d49bc 100644 --- a/sc/source/filter/excel/xlview.cxx +++ b/sc/source/filter/excel/xlview.cxx @@ -101,6 +101,6 @@ XclSelectionData& XclTabViewData::CreateSelectionData( sal_uInt8 nPane ) return *rxSelData; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |