Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4b9740b4
Kaydet (Commit)
4b9740b4
authored
Ara 07, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove duplicate defines and put it into a common place.
Change-Id: I55415985f37970e4d1ba8605e6d22c45198fe19f
üst
8450a99c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
7 deletions
+37
-7
DragMethod_RotateDiagram.cxx
chart2/source/controller/main/DragMethod_RotateDiagram.cxx
+1
-2
defines.hxx
chart2/source/inc/defines.hxx
+27
-0
ThreeDHelper.cxx
chart2/source/tools/ThreeDHelper.cxx
+2
-2
VCoordinateSystem.cxx
chart2/source/view/axes/VCoordinateSystem.cxx
+1
-0
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+1
-0
VDiagram.cxx
chart2/source/view/diagram/VDiagram.cxx
+1
-0
ViewDefines.hxx
chart2/source/view/inc/ViewDefines.hxx
+2
-3
ChartView.cxx
chart2/source/view/main/ChartView.cxx
+1
-0
PlottingPositionHelper.cxx
chart2/source/view/main/PlottingPositionHelper.cxx
+1
-0
No files found.
chart2/source/controller/main/DragMethod_RotateDiagram.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include "DiagramHelper.hxx"
#include "DiagramHelper.hxx"
#include "ChartTypeHelper.hxx"
#include "ChartTypeHelper.hxx"
#include "ThreeDHelper.hxx"
#include "ThreeDHelper.hxx"
#include "defines.hxx"
#include <svx/sdr/overlay/overlaypolypolygon.hxx>
#include <svx/sdr/overlay/overlaypolypolygon.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
...
@@ -37,8 +38,6 @@
...
@@ -37,8 +38,6 @@
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
#include <drawinglayer/geometry/viewinformation3d.hxx>
#include <drawinglayer/geometry/viewinformation3d.hxx>
#define FIXED_SIZE_FOR_3D_CHART_VOLUME (10000.0)
//.............................................................................
//.............................................................................
namespace
chart
namespace
chart
{
{
...
...
chart2/source/inc/defines.hxx
0 → 100644
Dosyayı görüntüle @
4b9740b4
/* -*- 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 .
*/
#ifndef __CHART2_DEFINES_HXX__
#define __CHART2_DEFINES_HXX__
#define FIXED_SIZE_FOR_3D_CHART_VOLUME 10000.0
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/tools/ThreeDHelper.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#include "ChartTypeHelper.hxx"
#include "ChartTypeHelper.hxx"
#include "BaseGFXHelper.hxx"
#include "BaseGFXHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "defines.hxx"
#include <editeng/unoprnms.hxx>
#include <editeng/unoprnms.hxx>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
...
@@ -43,8 +45,6 @@ using ::rtl::math::cos;
...
@@ -43,8 +45,6 @@ using ::rtl::math::cos;
using
::
rtl
::
math
::
sin
;
using
::
rtl
::
math
::
sin
;
using
::
rtl
::
math
::
tan
;
using
::
rtl
::
math
::
tan
;
#define FIXED_SIZE_FOR_3D_CHART_VOLUME (10000.0)
namespace
namespace
{
{
...
...
chart2/source/view/axes/VCoordinateSystem.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "VAxisBase.hxx"
#include "VAxisBase.hxx"
#include "ViewDefines.hxx"
#include "ViewDefines.hxx"
#include "DataSeriesHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "defines.hxx"
#include "chartview/ExplicitValueProvider.hxx"
#include "chartview/ExplicitValueProvider.hxx"
#include <com/sun/star/chart2/AxisType.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
...
...
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include "RelativePositionHelper.hxx"
#include "RelativePositionHelper.hxx"
#include "DateHelper.hxx"
#include "DateHelper.hxx"
#include "DiagramHelper.hxx"
#include "DiagramHelper.hxx"
#include "defines.hxx"
//only for creation: @todo remove if all plotter are uno components and instanciated via servicefactory
//only for creation: @todo remove if all plotter are uno components and instanciated via servicefactory
#include "BarChart.hxx"
#include "BarChart.hxx"
...
...
chart2/source/view/diagram/VDiagram.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "CommonConverters.hxx"
#include "CommonConverters.hxx"
#include "ChartTypeHelper.hxx"
#include "ChartTypeHelper.hxx"
#include "ThreeDHelper.hxx"
#include "ThreeDHelper.hxx"
#include "defines.hxx"
#include <editeng/unoprnms.hxx>
#include <editeng/unoprnms.hxx>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
...
...
chart2/source/view/inc/ViewDefines.hxx
Dosyayı görüntüle @
4b9740b4
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef _
CHART_COMMONDEFINES_HXX
#ifndef _
_CHART2_VIEWDEFINES_HXX__
#define _
CHART_COMMONDEFINES_HXX
#define _
_CHART2_VIEWDEFINES_HXX__
namespace
chart
namespace
chart
{
{
...
@@ -26,7 +26,6 @@ namespace chart
...
@@ -26,7 +26,6 @@ namespace chart
//
//
//=========================================================================
//=========================================================================
#define CHART_3DOBJECT_SEGMENTCOUNT ((sal_Int32)32)
#define CHART_3DOBJECT_SEGMENTCOUNT ((sal_Int32)32)
#define FIXED_SIZE_FOR_3D_CHART_VOLUME (10000.0)
//There needs to be a little distance betweengrid lines and walls in 3D, otherwise the lines are partly hidden by the walls
//There needs to be a little distance betweengrid lines and walls in 3D, otherwise the lines are partly hidden by the walls
#define GRID_TO_WALL_DISTANCE (1.0)
#define GRID_TO_WALL_DISTANCE (1.0)
...
...
chart2/source/view/main/ChartView.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
#include "BaseGFXHelper.hxx"
#include "BaseGFXHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "DateHelper.hxx"
#include "DateHelper.hxx"
#include "defines.hxx"
#include <rtl/uuid.h>
#include <rtl/uuid.h>
#include <comphelper/scopeguard.hxx>
#include <comphelper/scopeguard.hxx>
...
...
chart2/source/view/main/PlottingPositionHelper.cxx
Dosyayı görüntüle @
4b9740b4
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include "ShapeFactory.hxx"
#include "ShapeFactory.hxx"
#include "PropertyMapper.hxx"
#include "PropertyMapper.hxx"
#include "DateHelper.hxx"
#include "DateHelper.hxx"
#include "defines.hxx"
#include <com/sun/star/chart/TimeUnit.hpp>
#include <com/sun/star/chart/TimeUnit.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment