LCOV - code coverage report
Current view: top level - chart2/source/controller/dialogs - GL3DBarChartDialogController.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 16 0.0 %
Date: 2014-04-11 Functions: 0 8 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include "GL3DBarChartDialogController.hxx"
      11             : #include <Strings.hrc>
      12             : #include <Bitmaps.hrc>
      13             : #include <ResId.hxx>
      14             : 
      15             : #include <svtools/valueset.hxx>
      16             : 
      17             : namespace chart {
      18             : 
      19           0 : GL3DBarChartDialogController::GL3DBarChartDialogController() {}
      20             : 
      21           0 : GL3DBarChartDialogController::~GL3DBarChartDialogController() {}
      22             : 
      23           0 : bool GL3DBarChartDialogController::shouldShow_GL3DResourceGroup() const
      24             : {
      25           0 :     return true;
      26             : }
      27             : 
      28           0 : OUString GL3DBarChartDialogController::getName()
      29             : {
      30           0 :     return SchResId(STR_TYPE_GL3D_BAR).toString();
      31             : }
      32             : 
      33           0 : Image GL3DBarChartDialogController::getImage()
      34             : {
      35           0 :     return Image(SchResId(IMG_TYPE_GL3D_BAR));
      36             : }
      37             : 
      38             : const tTemplateServiceChartTypeParameterMap&
      39           0 : GL3DBarChartDialogController::getTemplateMap() const
      40             : {
      41             :     static tTemplateServiceChartTypeParameterMap aMap =
      42             :         tTemplateServiceChartTypeParameterMap
      43             :         ("com.sun.star.chart2.template.GL3DBar", ChartTypeParameter(1))
      44           0 :         ("com.sun.star.chart2.template.GL3DBarRoundedRectangle", ChartTypeParameter(2));
      45           0 :     return aMap;
      46             : }
      47             : 
      48           0 : void GL3DBarChartDialogController::fillSubTypeList(
      49             :     ValueSet& rSubTypeList, const ChartTypeParameter& /*rParameter*/ )
      50             : {
      51           0 :     rSubTypeList.Clear();
      52           0 :     rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_GL3D_BAR_ROUNDRECT))));
      53             : 
      54           0 :     rSubTypeList.SetItemText(1, SchResId(STR_GL3D_BAR).toString());
      55           0 : }
      56             : 
      57             : }
      58             : 
      59             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10