Re: what need for "documentt body" in Pages 5.x ?
Re: what need for "documentt body" in Pages 5.x ?
- Subject: Re: what need for "documentt body" in Pages 5.x ?
- From: "koenig.yvan" <email@hidden>
- Date: Sat, 14 Jun 2014 14:11:03 +0200
Hello
When I studied the dictionary of Pages 5.x, I discovered the property named document body which didn't existed in older versions. It’s decribed by : document body (boolean, r/o) : Whether the document has body text.
My first thought was, OK, it true if there is a body text, false if there is only text box, table or shape. I was wrong. With a document created from the blank template, document body is true. So, i'm wondering what is the need for this property which is always set to true.
Yvan KOENIG (VALLAURIS, France) samedi 14 juin 2014 12:00:56
Other surprising behaviours : (1) The dictionary define the properties of table objects but asking for the count of tables available in a Pages 5.2 document containing some of them returns 0. (2) The dictionary states : iWork item n : An item which supports formatting In fact, it appears that an iWork item is in fact a text box (possibly empty) or a shape with text embedded. (3) The dictionary states : text item n [inh. iWork item] : A text containerIn fact, asking for text items in a Pages 5.2 document returns the count of text boxes and ignores the shapes with text embedded as well as tables
Am I facing oddities or am I fooled by a bad understanding of the dictionary ?
Yvan KOENIG (VALLAURIS, France) samedi 14 juin 2014 14:10:58
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden