> Hi
> I have created a new ppt from a template. This new file have textboxes and
> rectangles.
> I want to update these contents dynamically.

> The problem is:
> 1) How can I identify a particular control it is.(if there is 5 textboxes
> and 5 rectangles then how I know it is a particular textbox)

It's up to you. For instance, you can identify them by the text value, e.g. if 
it is
a TextBox and its value is "control1" then do something.

You can identify your controls by position:

java.awt.Rectangle anchor = shape.getAnchor(); //gets position in the slide

You can tag your controls with different colors: red, blue, ...

> 2) How can I set text to a particular textbox .

http://poi.apache.org/hslf/how-to-shapes.html


Yegor

> Looking forward for reply/suggestions

> Thanks and regards
> smg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to