blob: 97cb1bee5ad274f79f0e98d96a351b553e4e5c0d [file] [log] [blame]
/**************************************************************
*
* 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
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef OOX_DRAWINGML_CHART_CHARTSPACECONVERTER_HXX
#define OOX_DRAWINGML_CHART_CHARTSPACECONVERTER_HXX
#include "oox/drawingml/chart/converterbase.hxx"
namespace com { namespace sun { namespace star {
namespace drawing { class XShapes; }
} } }
namespace oox {
namespace drawingml {
namespace chart {
// ============================================================================
struct ChartSpaceModel;
class ChartSpaceConverter : public ConverterBase< ChartSpaceModel >
{
public:
explicit ChartSpaceConverter( const ConverterRoot& rParent, ChartSpaceModel& rModel );
virtual ~ChartSpaceConverter();
/** Converts the contained OOXML chart model to a chart2 document. */
void convertFromModel(
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& rxExternalPage,
const ::com::sun::star::awt::Point& rChartPos );
};
// ============================================================================
} // namespace chart
} // namespace drawingml
} // namespace oox
#endif