2010-10-27 12:43:08 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-11-30 12:23:25 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2007-04-25 15:10:18 +00:00
|
|
|
#ifndef SC_VBA_PIVOTTABLE_HXX
|
|
|
|
#define SC_VBA_PIVOTTABLE_HXX
|
|
|
|
#include <cppuhelper/implbase1.hxx>
|
|
|
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
|
|
|
#include <com/sun/star/sheet/XDataPilotTable.hpp>
|
2009-02-13 13:03:24 +00:00
|
|
|
#include <ooo/vba/excel/XPivotTable.hpp>
|
2009-09-18 15:24:22 +00:00
|
|
|
#include "excelvbahelper.hxx"
|
|
|
|
#include <vbahelper/vbahelperinterface.hxx>
|
2007-04-25 15:10:18 +00:00
|
|
|
|
2009-02-13 13:03:24 +00:00
|
|
|
typedef InheritedHelperInterfaceImpl1< ov::excel::XPivotTable > PivotTableImpl_BASE;
|
2007-04-25 15:10:18 +00:00
|
|
|
|
|
|
|
class ScVbaPivotTable : public PivotTableImpl_BASE
|
|
|
|
{
|
|
|
|
css::uno::Reference< css::sheet::XDataPilotTable > m_xTable;
|
|
|
|
public:
|
|
|
|
ScVbaPivotTable( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XDataPilotTable >& xTable );
|
2009-02-13 13:03:24 +00:00
|
|
|
virtual css::uno::Reference< ov::excel::XPivotCache > SAL_CALL PivotCache( ) throw (css::uno::RuntimeException);
|
2007-12-07 10:04:48 +00:00
|
|
|
// XHelperInterface
|
2012-03-24 14:00:06 +00:00
|
|
|
virtual rtl::OUString getServiceImplName();
|
2007-12-07 10:04:48 +00:00
|
|
|
virtual css::uno::Sequence<rtl::OUString> getServiceNames();
|
2007-04-25 15:10:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //SC_VBA_PIVOTTABLE_HXX
|
2010-10-27 12:43:08 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|