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





--- Comment #3 from Yegor Kozlov <[EMAIL PROTECTED]>  2008-06-06 06:32:32 PST 
---
AutoShape extends TextShape. See the javadocs.

Change your code as follows and try 3.1-beta2. 

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

Yegor


-- 
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