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
be89276e
Kaydet (Commit)
be89276e
authored
Mar 21, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a new chart type "GL 3D Bar" (working name).
Change-Id: I0b0a65bf4f9365a8d522e3c439afe19797b2fdd5
üst
349a5b72
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
94 additions
and
8 deletions
+94
-8
Library_chartcontroller.mk
chart2/Library_chartcontroller.mk
+1
-0
Bitmaps.hrc
chart2/source/controller/dialogs/Bitmaps.hrc
+5
-4
Bitmaps.src
chart2/source/controller/dialogs/Bitmaps.src
+5
-0
GL3DBarChartDialogController.cxx
...ource/controller/dialogs/GL3DBarChartDialogController.cxx
+41
-0
GL3DBarChartDialogController.hxx
...ource/controller/dialogs/GL3DBarChartDialogController.hxx
+32
-0
Strings_ChartTypes.src
chart2/source/controller/dialogs/Strings_ChartTypes.src
+4
-1
tp_ChartType.cxx
chart2/source/controller/dialogs/tp_ChartType.cxx
+2
-0
Strings.hrc
chart2/source/inc/Strings.hrc
+4
-3
No files found.
chart2/Library_chartcontroller.mk
Dosyayı görüntüle @
be89276e
...
...
@@ -87,6 +87,7 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty \
chart2/source/controller/dialogs/ChangingResource \
chart2/source/controller/dialogs/ChartTypeDialogController \
chart2/source/controller/dialogs/GL3DBarChartDialogController \
chart2/source/controller/dialogs/DataBrowser \
chart2/source/controller/dialogs/DataBrowserModel \
chart2/source/controller/dialogs/DialogModel \
...
...
chart2/source/controller/dialogs/Bitmaps.hrc
Dosyayı görüntüle @
be89276e
...
...
@@ -39,10 +39,11 @@
#define IMG_TYPE_NET (RID_APP_START + 8)
#define IMG_TYPE_STOCK (RID_APP_START + 9)
#define IMG_TYPE_COLUMN_LINE (RID_APP_START + 10)
#define IMG_STEP_START (RID_APP_START + 11)
#define IMG_STEP_END (RID_APP_START + 12)
#define IMG_STEP_CENTER_X (RID_APP_START + 13)
#define IMG_STEP_CENTER_Y (RID_APP_START + 14)
#define IMG_TYPE_GL3D_BAR (RID_APP_START + 11)
#define IMG_STEP_START (RID_APP_START + 12)
#define IMG_STEP_END (RID_APP_START + 13)
#define IMG_STEP_CENTER_X (RID_APP_START + 14)
#define IMG_STEP_CENTER_Y (RID_APP_START + 15)
//Chart Subtypes
...
...
chart2/source/controller/dialogs/Bitmaps.src
Dosyayı görüntüle @
be89276e
...
...
@@ -68,6 +68,11 @@ Image IMG_TYPE_BUBBLE
ImageBitmap = Bitmap { File = "typebubble_16.png" ; };
MaskColor = STD_MASKCOLOR;
};
Image IMG_TYPE_GL3D_BAR
{
ImageBitmap = Bitmap { File = "typegl3dbar_16.png" ; };
MaskColor = STD_MASKCOLOR;
};
Image IMG_STEP_START
{
ImageBitmap = Bitmap { File = "step_start_30.png" ; };
...
...
chart2/source/controller/dialogs/GL3DBarChartDialogController.cxx
0 → 100644
Dosyayı görüntüle @
be89276e
/* -*- 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/.
*/
#include "GL3DBarChartDialogController.hxx"
#include <Strings.hrc>
#include <Bitmaps.hrc>
#include <ResId.hxx>
namespace
chart
{
GL3DBarChartDialogController
::
GL3DBarChartDialogController
()
{}
GL3DBarChartDialogController
::~
GL3DBarChartDialogController
()
{}
OUString
GL3DBarChartDialogController
::
getName
()
{
return
SchResId
(
STR_TYPE_GL3D_BAR
).
toString
();
}
Image
GL3DBarChartDialogController
::
getImage
()
{
return
Image
(
SchResId
(
IMG_TYPE_GL3D_BAR
));
}
const
tTemplateServiceChartTypeParameterMap
&
GL3DBarChartDialogController
::
getTemplateMap
()
const
{
static
tTemplateServiceChartTypeParameterMap
aMap
(
"com.sun.star.chart2.template.GL3DBarRoundedRectangle"
,
ChartTypeParameter
(
1
));
return
aMap
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/GL3DBarChartDialogController.hxx
0 → 100644
Dosyayı görüntüle @
be89276e
/* -*- 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/.
*/
#ifndef INCLUDED_CHART2_GL3DBARCHARTDIALOGCONTROLLER_HXX
#define INCLUDED_CHART2_GL3DBARCHARTDIALOGCONTROLLER_HXX
#include "ChartTypeDialogController.hxx"
namespace
chart
{
class
GL3DBarChartDialogController
:
public
ChartTypeDialogController
{
public
:
GL3DBarChartDialogController
();
virtual
~
GL3DBarChartDialogController
();
virtual
OUString
getName
();
virtual
Image
getImage
();
virtual
const
tTemplateServiceChartTypeParameterMap
&
getTemplateMap
()
const
;
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/Strings_ChartTypes.src
Dosyayı görüntüle @
be89276e
...
...
@@ -142,6 +142,9 @@ String STR_BUBBLE_1
Text [ en-US ] = "Bubble Chart" ;
};
String STR_TYPE_GL3D_BAR
{
Text [ en-US ] = "GL 3D Bar";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/tp_ChartType.cxx
Dosyayı görüntüle @
be89276e
...
...
@@ -25,6 +25,7 @@
#include "res_BarGeometry.hxx"
#include "ControllerLockGuard.hxx"
#include "macros.hxx"
#include "GL3DBarChartDialogController.hxx"
#include <svtools/controldims.hrc>
...
...
@@ -726,6 +727,7 @@ ChartTypeTabPage::ChartTypeTabPage(Window* pParent
m_aChartTypeDialogControllerList
.
push_back
(
new
StockChartDialogController
()
);
}
m_aChartTypeDialogControllerList
.
push_back
(
new
CombiColumnLineChartDialogController
()
);
m_aChartTypeDialogControllerList
.
push_back
(
new
GL3DBarChartDialogController
());
::
std
::
vector
<
ChartTypeDialogController
*
>::
const_iterator
aIter
=
m_aChartTypeDialogControllerList
.
begin
();
const
::
std
::
vector
<
ChartTypeDialogController
*
>::
const_iterator
aEnd
=
m_aChartTypeDialogControllerList
.
end
();
...
...
chart2/source/inc/Strings.hrc
Dosyayı görüntüle @
be89276e
...
...
@@ -64,8 +64,10 @@
#define STR_TYPE_BUBBLE (RID_APP_START + 282)
#define STR_BUBBLE_1 (RID_APP_START + 283)
#define STR_TYPE_GL3D_BAR (RID_APP_START + 127)
//additional strings
#define STR_TEXT_SEPARATOR
(RID_APP_START + 20)
#define STR_TEXT_SEPARATOR (RID_APP_START + 20)
//SchStatisticTabPage and SchDataStatisticsDlg
//see Strings_Statistic.src
...
...
@@ -94,7 +96,7 @@
#define STR_INVALID_TIME_UNIT (RID_APP_START + 292)
//for range di
d
alog
//for range dialog
#define STR_DATA_ROLE_LABEL (RID_APP_START + 241)
#define STR_DATA_ROLE_X (RID_APP_START + 242)
#define STR_DATA_ROLE_Y (RID_APP_START + 243)
...
...
@@ -272,7 +274,6 @@
#define STR_BUTTON_UP (RID_APP_START + 500)
#define STR_BUTTON_DOWN (RID_APP_START + 501)
// ids must not exceed RID_APP_START + 499
// ids >= RID_APP_START + 500 are defined in glob.hrc
...
...
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