diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-09 14:32:53 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-10 10:04:14 -0400 |
commit | 486bf19009d2c737dd7bb822f534aaa47dbe9d6e (patch) | |
tree | f3f1283d0bdd509cd9374136f0590a033caac6eb /offapi | |
parent | 713c639ce5ba6371e9c0d9ff51be7cf4c68d3d4c (diff) |
fdo#79676: Initialize with a default chart only from the UI.
When creating an embedded chart object during import, we don't want to
create a default chart which would only mess up the chart data.
With this change, ChartModel::initNew() is a no-op.
Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
(cherry picked from commit c5539bb585370f095cb6c09e38a7dd005d237295)
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/chart2/XChartDocument.idl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart2/XChartDocument.idl b/offapi/com/sun/star/chart2/XChartDocument.idl index 217d7fa38109..0055cbb83fd2 100644 --- a/offapi/com/sun/star/chart2/XChartDocument.idl +++ b/offapi/com/sun/star/chart2/XChartDocument.idl @@ -123,6 +123,10 @@ interface XChartDocument : ::com::sun::star::frame::XModel XDiagram::getWall().</p> */ com::sun::star::beans::XPropertySet getPageBackground(); + + /** Creates a default chart type for a brand-new chart object. + */ + void createDefaultChart(); }; } ; // chart2 |