Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 25213 invoked from network); 5 Mar 2008 21:54:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2008 21:54:09 -0000 Received: (qmail 51312 invoked by uid 500); 5 Mar 2008 21:54:02 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 51296 invoked by uid 500); 5 Mar 2008 21:54:02 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 51202 invoked by uid 99); 5 Mar 2008 21:54:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 13:54:01 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [69.25.74.51] (HELO mx1.myoutlookonlinE.com) (69.25.74.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 21:53:14 +0000 Received: from BE114.mail.lan ([10.109.208.114]) by mx1.myoutlookonlinE.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Mar 2008 16:53:32 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: gettextrun and iterating shapes do not agree on content? Date: Wed, 5 Mar 2008 16:54:10 -0500 Message-ID: <51A0495894BC194BB63F226807893B5D01C4831E@BE114.mail.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gettextrun and iterating shapes do not agree on content? Thread-Index: Ach/C3GlhtT74GmqQFOxCD3x2eOP1w== From: "Pierce Krouse" To: X-OriginalArrivalTime: 05 Mar 2008 21:53:32.0909 (UTC) FILETIME=[5B0E49D0:01C87F0B] X-Virus-Checked: Checked by ClamAV on apache.org Greetings: I am trying to clone a sheet for a powerpoint slideshow, and it duplicates some text during the copy process. I believe there is something amiss here. For example, the source page I am trying to copy has 3 TextBox objects, with the following text in them: TextRun 1: ${supplier}=20 ${bnid}=20 ${loop attributes} TextRun 2: ${pricetable} TextRun 3: ${photo} When I go to the page and iterate the textruns, this is what I get. All well and good. When I iterate the shapes, it's a different story. BTW I am iterating the shapes so that I can get anchor locations for picture placement. When I iterate the shapes in the sheet, I stop and look in each TextBox shape to see if it is some text I am interested in. Iterating the sheet this way, the textbox hits show: 1: ${supplier}=20 ${bnid}=20 ${loop attributes} 2: ${pricetable} 3: ${photo} 4: ${photo} I don't know why this is so, but it leads to a problem both in looking up interesting text in shapes that I want to act upon, but when I clone the page later by copying shapes into a new sheet, the extra textbox shows up in the upper left corner of the copied page. The anchor coordinates of the original, proper shape that shows up are the right coordinates. The new one has anchor coordinates of z=3D36, y=3D21. Any ideas as to why this is happening and what I can do about it? --Pierce Krouse Boundless Network (512)879-4417 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org