diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-05 17:59:05 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-05 17:59:05 +0000 |
commit | 2e06ade356e253decc95d2686d6bea88691f2282 (patch) | |
tree | 6a237afcce7578c1e96ad0a7c22edd75555b4bd0 /oox/source/xls/excelhandlers.cxx | |
parent | 3b1c97a50fbece5f227355a22641cff617c4a046 (diff) |
INTEGRATION: CWS xmlfilter03_DEV300 (1.1.2); FILE ADDED
2008/02/05 14:08:07 dr 1.1.2.1: oox::core::ContextHandler2 and oox::core::FragmentHandler2 for convenience
Diffstat (limited to 'oox/source/xls/excelhandlers.cxx')
-rw-r--r-- | oox/source/xls/excelhandlers.cxx | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/oox/source/xls/excelhandlers.cxx b/oox/source/xls/excelhandlers.cxx new file mode 100644 index 000000000000..83e927767fcd --- /dev/null +++ b/oox/source/xls/excelhandlers.cxx @@ -0,0 +1,74 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: excelhandlers.cxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: kz $ $Date: 2008-03-05 18:59:05 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#include "oox/xls/excelhandlers.hxx" + +using ::rtl::OUString; +using ::oox::core::FragmentHandler2; +using ::oox::core::XmlFilterBase; + +namespace oox { +namespace xls { + +// ============================================================================ + +OoxWorkbookFragmentBase::OoxWorkbookFragmentBase( + const WorkbookHelper& rHelper, const OUString& rFragmentPath ) : + FragmentHandler2( rHelper.getOoxFilter(), rFragmentPath ), + WorkbookHelper( rHelper ) +{ +} + +// ============================================================================ + +OoxWorksheetFragmentBase::OoxWorksheetFragmentBase( const WorkbookHelper& rHelper, + const OUString& rFragmentPath, ISegmentProgressBarRef xProgressBar, WorksheetType eSheetType, sal_Int32 nSheet ) : + FragmentHandler2( rHelper.getOoxFilter(), rFragmentPath ), + WorksheetHelperRoot( rHelper, xProgressBar, eSheetType, nSheet ) +{ +} + +OoxWorksheetFragmentBase::OoxWorksheetFragmentBase( + const WorksheetHelper& rHelper, const OUString& rFragmentPath ) : + FragmentHandler2( rHelper.getOoxFilter(), rFragmentPath ), + WorksheetHelperRoot( rHelper ) +{ +} + +// ============================================================================ + +} // namespace xls +} // namespace oox + |