diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-14 23:20:48 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-15 01:30:55 +0100 |
commit | 4517bb391afea870f856e030d8b1e5e8ee9364ac (patch) | |
tree | 4949d9d12301e4873b0cad8cb53c576fadea0d1a /svx | |
parent | b327b0dc2724958acce6e1df1620c1a919ea6bf8 (diff) |
first step for Insert->Chart From File
This needs some tweaks but it looks like we are already able to choose
the chart and import it. There are some more tweaks needed to handle
internal vs. external data provider, errors, other components, ...
Change-Id: Ib3e7f8bbf7b7f49b071d85120930624e2add91a7
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svxids.hrc | 1 | ||||
-rw-r--r-- | svx/sdi/svx.sdi | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/svx/inc/svx/svxids.hrc b/svx/inc/svx/svxids.hrc index 43411c808214..e92b3da33ff6 100644 --- a/svx/inc/svx/svxids.hrc +++ b/svx/inc/svx/svxids.hrc @@ -333,6 +333,7 @@ #define SID_OBJECT_ALIGN_UP ( SID_SVX_START + 134 ) #define SID_OBJECT_ALIGN_MIDDLE ( SID_SVX_START + 135 ) #define SID_OBJECT_ALIGN_DOWN ( SID_SVX_START + 136 ) +#define SID_INSERT_DIAGRAM_FROM_FILE ( SID_SVX_START + 139 ) #define SID_INSERT_DIAGRAM ( SID_SVX_START + 140 ) #define SID_DRAW_CHART SID_INSERT_DIAGRAM #define SID_INSERT_TABLE ( SID_SVX_START + 141 ) diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index a0b4f8546d1f..c432a52017a7 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -6449,6 +6449,31 @@ SfxVoidItem InsertObjectChart SID_INSERT_DIAGRAM ] //-------------------------------------------------------------------------- +SfxVoidItem InsertObjectChartFromFile SID_INSERT_DIAGRAM_FROM_FILE +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_INSERT; +] + +//-------------------------------------------------------------------------- SfxVoidItem InsertPlugin SID_INSERT_PLUGIN (SfxStringItem ClassLocation FN_PARAM_2, SfxStringItem Commands FN_PARAM_3) |