https://issues.apache.org/bugzilla/show_bug.cgi?id=45150

           Summary: Mutiple Textboxes from a Slide all return the same Text.
           Product: POI
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I use:

Shape[] shapes = slide.getShapes();

for (int i = 0; i < shapes.length; i++) {
 if ( shapes[i] instanceof TextBox ) {
        TextBox textBox = (TextBox) shapes[i];                                 
                System.out.println(textBox.getText());
     }
}

For Example : 

I have 4 Textboxes on a slide.
They are all saved in the Shape[].

The method "getText" always returns the same text even if the texts in the
presentation are different.

Is it just a mistake made by myself or a bug?
Im using Poi 3.0.2 Final.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to