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
36263596
Kaydet (Commit)
36263596
authored
Tem 01, 2013
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove InsertTrendlineDialog as it is not used anymore.
Change-Id: I58dbdc416254e631f33784bb2a2cf124e69fc69a
üst
b0fbaa6f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
237 deletions
+0
-237
AllLangResTarget_chartcontroller.mk
chart2/AllLangResTarget_chartcontroller.mk
+0
-1
Library_chartcontroller.mk
chart2/Library_chartcontroller.mk
+0
-1
dlg_InsertTrendline.cxx
chart2/source/controller/dialogs/dlg_InsertTrendline.cxx
+0
-106
dlg_InsertTrendline.hrc
chart2/source/controller/dialogs/dlg_InsertTrendline.hrc
+0
-25
dlg_InsertTrendline.src
chart2/source/controller/dialogs/dlg_InsertTrendline.src
+0
-40
res_Trendline.cxx
chart2/source/controller/dialogs/res_Trendline.cxx
+0
-1
dlg_InsertTrendline.hxx
chart2/source/controller/inc/dlg_InsertTrendline.hxx
+0
-62
ChartController_Insert.cxx
chart2/source/controller/main/ChartController_Insert.cxx
+0
-1
No files found.
chart2/AllLangResTarget_chartcontroller.mk
Dosyayı görüntüle @
36263596
...
...
@@ -37,7 +37,6 @@ $(eval $(call gb_SrsTarget_add_files,chart2/res,\
chart2/source/controller/dialogs/dlg_InsertErrorBars.src \
chart2/source/controller/dialogs/dlg_InsertLegend.src \
chart2/source/controller/dialogs/dlg_InsertTitle.src \
chart2/source/controller/dialogs/dlg_InsertTrendline.src \
chart2/source/controller/dialogs/dlg_ObjectProperties.src \
chart2/source/controller/dialogs/dlg_ShapeFont.src \
chart2/source/controller/dialogs/dlg_ShapeParagraph.src \
...
...
chart2/Library_chartcontroller.mk
Dosyayı görüntüle @
36263596
...
...
@@ -98,7 +98,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/dialogs/dlg_InsertErrorBars \
chart2/source/controller/dialogs/dlg_InsertLegend \
chart2/source/controller/dialogs/dlg_InsertTitle \
chart2/source/controller/dialogs/dlg_InsertTrendline \
chart2/source/controller/dialogs/dlg_NumberFormat \
chart2/source/controller/dialogs/dlg_ObjectProperties \
chart2/source/controller/dialogs/dlg_ShapeFont \
...
...
chart2/source/controller/dialogs/dlg_InsertTrendline.cxx
deleted
100644 → 0
Dosyayı görüntüle @
b0fbaa6f
/* -*- 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 "dlg_InsertTrendline.hxx"
#include "dlg_InsertTrendline.hrc"
#include "res_Trendline.hxx"
#include "ResourceIds.hrc"
#include "ResId.hxx"
#include "Strings.hrc"
#include "chartview/ExplicitValueProvider.hxx"
#include "ChartModelHelper.hxx"
#include "ObjectIdentifier.hxx"
#include "DiagramHelper.hxx"
#include "AxisHelper.hxx"
#include "ObjectNameProvider.hxx"
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <svtools/controldims.hrc>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
chart2
;
namespace
{
void
lcl_SetControlXPos
(
Control
&
rControl
,
long
nPosPixel
)
{
Point
aPos
(
rControl
.
GetPosPixel
());
aPos
.
setX
(
nPosPixel
);
rControl
.
SetPosPixel
(
aPos
);
}
}
// anonymous namespace
//.............................................................................
namespace
chart
{
//.............................................................................
InsertTrendlineDialog
::
InsertTrendlineDialog
(
Window
*
pParent
,
const
SfxItemSet
&
rMyAttrs
)
:
ModalDialog
(
pParent
,
SchResId
(
DLG_DATA_TRENDLINE
)),
rInAttrs
(
rMyAttrs
),
aBtnOK
(
this
,
SchResId
(
BTN_OK
)),
aBtnCancel
(
this
,
SchResId
(
BTN_CANCEL
)),
aBtnHelp
(
this
,
SchResId
(
BTN_HELP
)),
m_apTrendlineResources
(
new
TrendlineResources
(
this
,
rInAttrs
,
true
))
{
FreeResource
();
this
->
SetText
(
ObjectNameProvider
::
getName_ObjectForAllSeries
(
OBJECTTYPE_DATA_CURVE
)
);
}
InsertTrendlineDialog
::~
InsertTrendlineDialog
()
{
}
void
InsertTrendlineDialog
::
adjustSize
()
{
long
nControlsRightEdge
=
m_apTrendlineResources
->
adjustControlSizes
();
long
nButtonXPos
=
nControlsRightEdge
+
LogicToPixel
(
Size
(
RSC_SP_CTRL_X
,
10
),
MapMode
(
MAP_APPFONT
)).
getWidth
();
lcl_SetControlXPos
(
aBtnOK
,
nButtonXPos
);
lcl_SetControlXPos
(
aBtnCancel
,
nButtonXPos
);
lcl_SetControlXPos
(
aBtnHelp
,
nButtonXPos
);
Size
aDialogSize
(
GetSizePixel
());
aDialogSize
.
setWidth
(
nControlsRightEdge
+
LogicToPixel
(
Size
(
RSC_SP_CTRL_X
+
RSC_CD_PUSHBUTTON_WIDTH
+
RSC_SP_DLG_INNERBORDER_RIGHT
,
0
),
MapMode
(
MAP_APPFONT
)).
getWidth
());
SetSizePixel
(
aDialogSize
);
}
void
InsertTrendlineDialog
::
FillItemSet
(
SfxItemSet
&
rOutAttrs
)
{
m_apTrendlineResources
->
FillItemSet
(
rOutAttrs
);
}
void
InsertTrendlineDialog
::
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
{
ModalDialog
::
DataChanged
(
rDCEvt
);
if
(
(
rDCEvt
.
GetType
()
==
DATACHANGED_SETTINGS
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
)
m_apTrendlineResources
->
FillValueSets
();
}
//.............................................................................
}
//namespace chart
//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/dlg_InsertTrendline.hrc
deleted
100644 → 0
Dosyayı görüntüle @
b0fbaa6f
/* -*- 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 "ResourceIds.hrc"
#define BTN_OK 1
#define BTN_CANCEL 1
#define BTN_HELP 1
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/dlg_InsertTrendline.src
deleted
100644 → 0
Dosyayı görüntüle @
b0fbaa6f
/* -*- 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 "dlg_InsertTrendline.hrc"
#include "HelpIds.hrc"
#include "CommonResources.hrc"
#include "res_Trendline.hrc"
// is only an initial size, will be calculated to contain all controls
#define DLG_DATA_TRENDLINE_RES_WIDTH 130
#define DLG_DATA_TRENDLINE_ADD_TO_RES 62
ModalDialog DLG_DATA_TRENDLINE
{
HelpID = HID_INSERT_STATISTICS ;
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT( DLG_DATA_TRENDLINE_RES_WIDTH + DLG_DATA_TRENDLINE_ADD_TO_RES, 220 );
Moveable = TRUE ;
BUTTONS_OK_CANCEL_HELP_STACKED( DLG_DATA_TRENDLINE_RES_WIDTH + DLG_DATA_TRENDLINE_ADD_TO_RES )
RESOURCE_TRENDLINE( DLG_DATA_TRENDLINE_RES_WIDTH, 22 )
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/res_Trendline.cxx
Dosyayı görüntüle @
36263596
...
...
@@ -18,7 +18,6 @@
*/
#include "dlg_InsertTrendline.hrc"
#include "res_Trendline.hxx"
#include "res_Trendline_IDs.hrc"
#include "ResId.hxx"
...
...
chart2/source/controller/inc/dlg_InsertTrendline.hxx
deleted
100644 → 0
Dosyayı görüntüle @
b0fbaa6f
/* -*- 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_DLG_INSERT_TRENDLINE_HXX
#define _CHART2_DLG_INSERT_TRENDLINE_HXX
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <svl/itemset.hxx>
#include <memory>
//.............................................................................
namespace
chart
{
//.............................................................................
class
TrendlineResources
;
class
InsertTrendlineDialog
:
public
ModalDialog
{
public
:
InsertTrendlineDialog
(
Window
*
pParent
,
const
SfxItemSet
&
rMyAttrs
);
virtual
~
InsertTrendlineDialog
();
void
FillItemSet
(
SfxItemSet
&
rOutAttrs
);
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
);
// sets the size so that all control texts fit. Has to be done after
// complete construction of the dialog
void
adjustSize
();
private
:
const
SfxItemSet
&
rInAttrs
;
OKButton
aBtnOK
;
CancelButton
aBtnCancel
;
HelpButton
aBtnHelp
;
::
std
::
auto_ptr
<
TrendlineResources
>
m_apTrendlineResources
;
};
//.............................................................................
}
//namespace chart
//.............................................................................
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/main/ChartController_Insert.cxx
Dosyayı görüntüle @
36263596
...
...
@@ -22,7 +22,6 @@
#include "dlg_InsertAxis_Grid.hxx"
#include "dlg_InsertDataLabel.hxx"
#include "dlg_InsertLegend.hxx"
#include "dlg_InsertTrendline.hxx"
#include "dlg_InsertErrorBars.hxx"
#include "dlg_InsertTitle.hxx"
#include "dlg_ObjectProperties.hxx"
...
...
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