/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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 . */ #include "OpenglShapeFactory.hxx" #include "DummyXShape.hxx" #include "ViewDefines.hxx" #include "Stripe.hxx" #include "CommonConverters.hxx" #include "macros.hxx" #include "PropertyMapper.hxx" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; namespace chart { using dummy::DummyXShape; using dummy::DummyXShapes; namespace opengl { uno::Reference< drawing::XShapes > OpenglShapeFactory::getOrCreateChartRootShape( const uno::Reference< drawing::XDrawPage>& ) { return new DummyXShapes(); } // methods for 3D shape creation uno::Reference OpenglShapeFactory::createCube( const uno::Reference& , const drawing::Position3D& , const drawing::Direction3D& , sal_Int32 , const uno::Reference< beans::XPropertySet >& , const tPropertyNameMap& , bool ) { return new DummyXShape(); } uno::Reference OpenglShapeFactory::createCylinder( const uno::Reference& , const drawing::Position3D& , const drawing::Direction3D& , sal_Int32 ) { return new DummyXShape(); } uno::Reference OpenglShapeFactory::createPyramid( const uno::Reference& , const drawing::Position3D& , const drawing::Direction3D& , double , bool , const uno::Reference< beans::XPropertySet >& , const tPropertyNameMap& ) { return new DummyXShape(); } uno::Reference OpenglShapeFactory::createCone( const uno::Reference& , const drawing::Position3D& , const drawing::Direction3D& , double , sal_Int32 ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createPieSegment2D( const uno::Reference< drawing::XShapes >& , double , double , double , double , const drawing::Direction3D& , const drawing::HomogenMatrix& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createPieSegment( const uno::Reference< drawing::XShapes >& , double , double , double , double , const drawing::Direction3D& , const drawing::HomogenMatrix& , double ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createStripe( const uno::Reference< drawing::XShapes >& , const Stripe& , const uno::Reference< beans::XPropertySet >& , const tPropertyNameMap& , sal_Bool , short , bool ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createArea3D( const uno::Reference< drawing::XShapes >& , const drawing::PolyPolygonShape3D& , double ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createArea2D( const uno::Reference< drawing::XShapes >& , const drawing::PolyPolygonShape3D& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createSymbol2D( const uno::Reference< drawing::XShapes >& , const drawing::Position3D& , const drawing::Direction3D& , sal_Int32 , sal_Int32 , sal_Int32 ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createGraphic2D( const uno::Reference< drawing::XShapes >& , const drawing::Position3D& , const drawing::Direction3D& , const uno::Reference< graphic::XGraphic >& ) { return new DummyXShape(); } uno::Reference< drawing::XShapes > OpenglShapeFactory::createGroup2D( const uno::Reference< drawing::XShapes >& , OUString ) { return new DummyXShapes(); } uno::Reference< drawing::XShapes > OpenglShapeFactory::createGroup3D( const uno::Reference< drawing::XShapes >& , OUString ) { return new DummyXShapes(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createCircle2D( const uno::Reference< drawing::XShapes >& , const drawing::Position3D& , const drawing::Direction3D& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createCircle( const uno::Reference< drawing::XShapes >& , const awt::Size& , const awt::Point& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createLine3D( const uno::Reference< drawing::XShapes >& , const drawing::PolyPolygonShape3D& , const VLineProperties& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createLine2D( const uno::Reference< drawing::XShapes >& , const drawing::PointSequenceSequence& , const VLineProperties* ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createLine ( const uno::Reference< drawing::XShapes >& , const awt::Size& , const awt::Point& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createInvisibleRectangle( const uno::Reference< drawing::XShapes >& , const awt::Size& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createRectangle( const uno::Reference< drawing::XShapes >& , const awt::Size& , const awt::Point& , const tNameSequence& , const tAnySequence& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createRectangle( const uno::Reference< drawing::XShapes >& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createText( const uno::Reference< drawing::XShapes >& , const OUString& , const tNameSequence& , const tAnySequence& , const uno::Any& ) { return new DummyXShape(); } uno::Reference< drawing::XShape > OpenglShapeFactory::createText( const uno::Reference< drawing::XShapes >& , const awt::Size& , const awt::Point& , uno::Sequence< uno::Reference< chart2::XFormattedString > > , const uno::Reference< beans::XPropertySet > , double , const OUString& ) { return new DummyXShape(); } void OpenglShapeFactory::createSeries( const uno::Reference< drawing::XShapes> & , const DataSeriesState& ) { } void OpenglShapeFactory::renderSeries( const uno::Reference< drawing::XShapes> & , const DataSeriesState& , const DataSeriesState&, double ) { } } //namespace dummy } //namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */