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
f84216c5
Kaydet (Commit)
f84216c5
authored
Haz 04, 2010
tarafından
Thomas Benisch
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
calc55: #i112094# chart data table dialog cannot be disabled via UNO API
üst
004a8660
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
res_ErrorBar.cxx
chart2/source/controller/dialogs/res_ErrorBar.cxx
+18
-1
No files found.
chart2/source/controller/dialogs/res_ErrorBar.cxx
Dosyayı görüntüle @
f84216c5
...
...
@@ -37,6 +37,7 @@
#include "RangeSelectionHelper.hxx"
// for RANGE_SELECTION_INVALID_RANGE_BACKGROUND_COLOR
#include "TabPageNotifiable.hxx"
#include "macros.hxx"
#include <rtl/math.hxx>
#include <vcl/dialog.hxx>
...
...
@@ -147,7 +148,8 @@ ErrorBarResources::ErrorBarResources( Window* pParent, Dialog * pParentDialog,
m_pParentWindow
(
pParent
),
m_pParentDialog
(
pParentDialog
),
m_pCurrentRangeChoosingField
(
0
),
m_bHasInternalDataProvider
(
true
)
m_bHasInternalDataProvider
(
true
),
m_bDisableDataTableDialog
(
false
)
{
if
(
m_bNoneAvailable
)
m_aRbNone
.
SetClickHdl
(
LINK
(
this
,
ErrorBarResources
,
CategoryChosen
));
...
...
@@ -197,7 +199,21 @@ void ErrorBarResources::SetChartDocumentForRangeChoosing(
const
uno
::
Reference
<
chart2
::
XChartDocument
>
&
xChartDocument
)
{
if
(
xChartDocument
.
is
())
{
m_bHasInternalDataProvider
=
xChartDocument
->
hasInternalDataProvider
();
uno
::
Reference
<
beans
::
XPropertySet
>
xProps
(
xChartDocument
,
uno
::
UNO_QUERY
);
if
(
xProps
.
is
()
)
{
try
{
xProps
->
getPropertyValue
(
C2U
(
"DisableDataTableDialog"
)
)
>>=
m_bDisableDataTableDialog
;
}
catch
(
uno
::
Exception
&
e
)
{
ASSERT_EXCEPTION
(
e
);
}
}
}
m_apRangeSelectionHelper
.
reset
(
new
RangeSelectionHelper
(
xChartDocument
));
// has internal data provider => rename "cell range" to "from data"
...
...
@@ -240,6 +256,7 @@ void ErrorBarResources::UpdateControlStates()
m_aLbFunction
.
Enable
(
bIsFunction
);
// range buttons
m_aRbRange
.
Enable
(
!
m_bHasInternalDataProvider
||
!
m_bDisableDataTableDialog
);
bool
bShowRange
=
(
m_aRbRange
.
IsChecked
());
bool
bCanChooseRange
=
(
bShowRange
&&
...
...
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