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
f61e453f
Kaydet (Commit)
f61e453f
authored
Agu 25, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Agu 29, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl charts
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
üst
5d622c55
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
ChartModel.hxx
chart2/inc/ChartModel.hxx
+2
-0
ChartModel.cxx
chart2/source/model/main/ChartModel.cxx
+7
-0
XChartDocument.idl
offapi/com/sun/star/chart2/XChartDocument.idl
+4
-0
embedhlp.cxx
svtools/source/misc/embedhlp.cxx
+12
-1
No files found.
chart2/inc/ChartModel.hxx
Dosyayı görüntüle @
f61e453f
...
...
@@ -438,6 +438,8 @@ public:
virtual
void
SAL_CALL
createDefaultChart
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
isOpenGLChart
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// ____ XDataReceiver (public API) ____
virtual
void
SAL_CALL
attachDataProvider
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
chart2/source/model/main/ChartModel.cxx
Dosyayı görüntüle @
f61e453f
...
...
@@ -32,6 +32,7 @@
#include "NameContainer.hxx"
#include "UndoManager.hxx"
#include "ChartView.hxx"
#include "GL3DHelper.hxx"
#include <vcl/openglwin.hxx>
...
...
@@ -964,6 +965,12 @@ void SAL_CALL ChartModel::createDefaultChart()
insertDefaultChart
();
}
sal_Bool
SAL_CALL
ChartModel
::
isOpenGLChart
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
return
GL3DHelper
::
isGL3DDiagram
(
m_xDiagram
);
}
// ____ XTitled ____
uno
::
Reference
<
chart2
::
XTitle
>
SAL_CALL
ChartModel
::
getTitleObject
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
...
...
offapi/com/sun/star/chart2/XChartDocument.idl
Dosyayı görüntüle @
f61e453f
...
...
@@ -127,6 +127,10 @@ interface XChartDocument : ::com::sun::star::frame::XModel
/** Creates a default chart type for a brand-new chart object.
*/
void createDefaultChart();
/** Returns true if the chart is based on OpenGL
*/
boolean isOpenGLChart();
};
} ; // chart2
...
...
svtools/source/misc/embedhlp.cxx
Dosyayı görüntüle @
f61e453f
...
...
@@ -804,7 +804,18 @@ bool EmbeddedObjectRef::IsChart(const ::com::sun::star::uno::Reference < ::com::
bool
EmbeddedObjectRef
::
IsGLChart
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
embed
::
XEmbeddedObject
>&
xObj
)
{
static
const
char
*
env
=
getenv
(
"CHART_DUMMY_FACTORY"
);
return
IsChart
(
xObj
)
&&
env
;
if
(
IsChart
(
xObj
))
{
if
(
env
)
return
true
;
uno
::
Reference
<
chart2
::
XChartDocument
>
xChartDoc
(
xObj
->
getComponent
(),
uno
::
UNO_QUERY
);
if
(
!
xChartDoc
.
is
())
return
false
;
return
xChartDoc
->
isOpenGLChart
();
}
return
false
;
}
void
EmbeddedObjectRef
::
UpdateReplacement
()
...
...
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