You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by ATE1 <bi...@infosys.com> on 2009/03/23 05:48:54 UTC
creating PPT using Java
I need to generate powerpoint presentation. The presentation has different
kinds of graphs (bar graphs, line graphs) which should be editable once the
ppt is delivered.(So can not use images).
I tried using apache poi for the same, but it doesnot support editable
charts and graphs.Kindly help me
--
View this message in context: http://www.nabble.com/creating-PPT-using-Java-tp22654294p22654294.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: creating PPT using Java
Posted by Yegor Kozlov <ye...@dinom.ru>.
> by editable what I mean is that the graph can be changed by changing the
> supporting values.
> (For e.g. Suppose, revenues were 900 KUSD and the client wants to show it as
> 1 MUSD, he should be able to do that).
>
> Please suggest me a solution for this..
>
>
Such a solution would imply using a ActiveX component and that's not supported by HSLF. Alas, the "dynamic" approach is
not possible.
Consider the following workarounds:
- use Excel instead of PPT. Create a template file with a chart, modify the data and the chart should be updated.
- re-generate ppt on the server, not on client. That is, if the client wants to show it as 1 MUSD, he should send a
request and get the updated file.
Yegor
>
>
>
>
>
>
> Yegor Kozlov wrote:
>> What exactly do you mean by "editable" charts? If you mean MS Graph object
>> - it is not yet supported.
>> However, it is possible to draw a chart. This way it will be a native ppt
>> shape. You can resize, ungroup, do any
>> standard operations on ppt shapes, etc.
>>
>> See slide10() in
>> http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java
>>
>> Some time ago a user reported using PPGraphics2D with JFreeChart,
>> http://www.jfree.org/jfreechart/.
>>
>> Yegor
>>
>>> I need to generate powerpoint presentation. The presentation has
>>> different
>>> kinds of graphs (bar graphs, line graphs) which should be editable once
>>> the
>>> ppt is delivered.(So can not use images).
>>>
>>> I tried using apache poi for the same, but it doesnot support editable
>>> charts and graphs.Kindly help me
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: creating PPT using Java
Posted by ATE1 <bi...@infosys.com>.
by editable what I mean is that the graph can be changed by changing the
supporting values.
(For e.g. Suppose, revenues were 900 KUSD and the client wants to show it as
1 MUSD, he should be able to do that).
Please suggest me a solution for this..
Yegor Kozlov wrote:
>
> What exactly do you mean by "editable" charts? If you mean MS Graph object
> - it is not yet supported.
> However, it is possible to draw a chart. This way it will be a native ppt
> shape. You can resize, ungroup, do any
> standard operations on ppt shapes, etc.
>
> See slide10() in
> http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java
>
> Some time ago a user reported using PPGraphics2D with JFreeChart,
> http://www.jfree.org/jfreechart/.
>
> Yegor
>
>> I need to generate powerpoint presentation. The presentation has
>> different
>> kinds of graphs (bar graphs, line graphs) which should be editable once
>> the
>> ppt is delivered.(So can not use images).
>>
>> I tried using apache poi for the same, but it doesnot support editable
>> charts and graphs.Kindly help me
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/creating-PPT-using-Java-tp22654294p22656363.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: creating PPT using Java
Posted by ATE1 <bi...@infosys.com>.
The approach you have proposed seems workable, but what client requires is a
Powerpoint presentation which will be directly mailed to his location. So,
there wouldn't be any communication with the server once the ppt is
generated. help me in this..
ATE1 wrote:
>
> Editable means once it is delivered the customer must be able to do
> modifications.
>
> Yegor Kozlov wrote:
>>
>> What exactly do you mean by "editable" charts? If you mean MS Graph
>> object - it is not yet supported.
>> However, it is possible to draw a chart. This way it will be a native ppt
>> shape. You can resize, ungroup, do any
>> standard operations on ppt shapes, etc.
>>
>> See slide10() in
>> http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java
>>
>> Some time ago a user reported using PPGraphics2D with JFreeChart,
>> http://www.jfree.org/jfreechart/.
>>
>> Yegor
>>
>>> I need to generate powerpoint presentation. The presentation has
>>> different
>>> kinds of graphs (bar graphs, line graphs) which should be editable once
>>> the
>>> ppt is delivered.(So can not use images).
>>>
>>> I tried using apache poi for the same, but it doesnot support editable
>>> charts and graphs.Kindly help me
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/creating-PPT-using-Java-tp22654294p22677635.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: creating PPT using Java
Posted by ATE1 <bi...@infosys.com>.
Editable means once it is delivered the customer must be able to do
modifications.
Yegor Kozlov wrote:
>
> What exactly do you mean by "editable" charts? If you mean MS Graph object
> - it is not yet supported.
> However, it is possible to draw a chart. This way it will be a native ppt
> shape. You can resize, ungroup, do any
> standard operations on ppt shapes, etc.
>
> See slide10() in
> http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java
>
> Some time ago a user reported using PPGraphics2D with JFreeChart,
> http://www.jfree.org/jfreechart/.
>
> Yegor
>
>> I need to generate powerpoint presentation. The presentation has
>> different
>> kinds of graphs (bar graphs, line graphs) which should be editable once
>> the
>> ppt is delivered.(So can not use images).
>>
>> I tried using apache poi for the same, but it doesnot support editable
>> charts and graphs.Kindly help me
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/creating-PPT-using-Java-tp22654294p22654923.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: creating PPT using Java
Posted by Yegor Kozlov <ye...@dinom.ru>.
What exactly do you mean by "editable" charts? If you mean MS Graph object - it is not yet supported.
However, it is possible to draw a chart. This way it will be a native ppt shape. You can resize, ungroup, do any
standard operations on ppt shapes, etc.
See slide10() in
http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java
Some time ago a user reported using PPGraphics2D with JFreeChart, http://www.jfree.org/jfreechart/.
Yegor
> I need to generate powerpoint presentation. The presentation has different
> kinds of graphs (bar graphs, line graphs) which should be editable once the
> ppt is delivered.(So can not use images).
>
> I tried using apache poi for the same, but it doesnot support editable
> charts and graphs.Kindly help me
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org