Dear Developers,
I need to save a Calc chart to external graphical image file.
9 years ago it was promised that a special component would be introduced
for that purpose:
http://graphics.openoffice.org/servlets/ReadMsg?list=dev&msgNo=70
I couldn't find any trace of such a component in current OO,
Oleg ,
I think that wath waspromesed is also done.
You can export a shape to a image, using draw and export the drawpage to
any graphical image file you wanted.
I have the code in Basic.
Comeback when needed and i will post the code here
Greetz
Fernand
Dear Developers,
I need to save a Cal
On 02/23/10 09:12, Fernand Vanrie wrote:
I think that wath waspromesed is also done.
You can export a shape to a image, using draw and export the drawpage to
any graphical image file you wanted.
I have the code in Basic.
Comeback when needed and i will post the code here
A usage example for
Hi Oleg,
please find an updated example here
http://www.ooowiki.de/DiagrammExport
It exports chart shapes directly from the current calc document.
Regards,
Christian
Am 22.02.2010 21:41, schrieb Oleg Mikheev:
Dear Developers,
I need to save a Calc chart to external graphical image file.
9 y
> A usage example for GraphicExportFilter is at
> http://codesnippets.services.openoffice.org/Office/Office.GraphicExport.snip.
> It also works in Calc.
>
>
Hi
Unfortunately it still doesn't do what I need. The only way I can use
GraphicExport is to get a list of shapes and checking their CLSIDs a
On 02/24/10 10:10, Oleg Mikheev wrote:
A usage example for GraphicExportFilter is at
http://codesnippets.services.openoffice.org/Office/Office.GraphicExport.snip.
It also works in Calc.
Hi
Unfortunately it still doesn't do what I need. The only way I can use
GraphicExport is to get a list of
> Unfortunately it still doesn't do what I need. The only way I can use
> GraphicExport is to get a list of shapes and checking their CLSIDs as
> described on
>
> http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Accessing_Existing_Chart_Documents
>
> What is
Oleg ,
You can insert your shape in a tempory "hiden "draw" doc and export
from there, i use this thechniek for export images out of Writerdocs,
its fast and gives no further problems.
Unfortunately it still doesn't do what I need. The only way I can use
GraphicExport is to get a list o
On 02/27/10 21:22, Oleg Mikheev wrote:
Unfortunately it still doesn't do what I need. The only way I can use
GraphicExport is to get a list of shapes and checking their CLSIDs as
described on
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Accessing_Existin
On 02/27/10 21:22, Oleg Mikheev wrote:
Unfortunately it still doesn't do what I need. The only way I can use
GraphicExport is to get a list of shapes and checking their CLSIDs as
described on
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Accessing_Existin
> > Unfortunately ChartDocument does not support XDrawPageSupplier,
> > at least that's what UNO API document states:
> > http://api.openoffice.org/docs/common/ref/com/sun/star/chart/ChartDocument.html
> >
> > Or did you mean some other ChartDocument?
> >
>
> No, the documentation is incomplete the
W: Re: [graphics-dev] save chart image to file
Date: Tue, 25 May 2010 13:51:11 +0400
From: Doan Nguyen Van
To: 'Oleg Mikheev'
*From:* Doan Nguyen Van [mailto:ngvdoa...@yahoo.co.uk]
*Sent:* Tuesday, May 25, 2010 13:46
*To:* 'dev@graphics.openoffice.org'
*Cc:* 'ingrid
could
(try to) answer the question.
Thanks!
Original Message
Subject:FW: Re: [graphics-dev] save chart image to file
Date: Tue, 25 May 2010 13:51:11 +0400
From: Doan Nguyen Van
To: 'Oleg Mikheev'
*From:* Doan Nguyen Van [mailto:ngvdoa...@yah
On 02/26/10 02:59, Ingrid Halama wrote:
> Hi,
> In case the draw page from spreadsheet is used it is ok to export only the
first shape from that page (as this first shape is the chart as it seems in
this scenario). But different if you use the draw page of the chart. In that
case it is wrong t
Am 26.05.10 12:34, Doan Nguyen Van schrieb:
The draw page of the chart has only one shape (drawPage.getCount()returns
1). I've tried to use the draw page for exporting but It was failed, no
image has been exported.
Ah, I see. Then this is a different problem. The shapes representing the chart
> Hm, there are different possibilities how to trigger the generation of the
shapes within the given draw page.
I think the best one is to directly request the view to update:
. . .
This is not standard API code, but I don't expect this part of the chart2
API
to change in the next years.
Am 26.05.10 16:11, Doan Nguyen Van schrieb:
Thanks so much for your helps! Now I could resolve the problem.
Nice to hear that!
Now I have another problem concerning getting position of a chart within a
sheet. With draw page of the sheet, we could get position of the shape using
following co
Ingrid,
> If your first method gives you the wanted result, why not using it?
Because the shapes (of draw page of the sheet) don't have any references to
TableChart or ChartDocument, so it is not possible to understand which
TableChart some shape is related to.
> The second method canno
Hi Doan Nguyen Van,
Am 26.05.10 17:20, Doan Nguyen Van schrieb:
Ingrid,
If your first method gives you the wanted result, why not using it?
Because the shapes (of draw page of the sheet) don't have any references
to TableChart or ChartDocument, so it is not possible to understand
whi
Ingrid,
> If your first method gives you the wanted result, why not using it?
Because the shapes (of draw page of the sheet) don't have any references to
TableChart or ChartDocument, so it is not possible to understand which
TableChart some shape is related to.
> The second method canno
Hi Doan Nguyen Van,
On 05/27/10 09:50, Doan Nguyen Van wrote:
> Do you know how to receive XSpreadsheet from XChartDocument or XTableChart?
Query XChartDocument for interface com.sun.star.container.XChild.
The parent then should be a XSpreadsheetDocument.
Kind regards,
Ingrid
-
Hi Doan Nguyen Van,
On 05/27/10 13:18, Doan Nguyen Van wrote:
I have more one question: Is chart name unique in the spreadsheet document?
As the PersistName is used to save the OLE object, it must be unique, yes.
Kind regards,
Ingrid
Ingrid,
Thank you very much for your helps.
Kind regards,
Doan Nguyen Van
23 matches
Mail list logo