• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: what need for "documentt body" in Pages 5.x ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Le 14/06/2014 à 12:01, koenig.yvan <email@hidden> a écrit :

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

References: 
 >what need for "documentt body" in Pages 5.x ? (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Informal poll
  • Next by Date: Re: Informal poll
  • Previous by thread: what need for "documentt body" in Pages 5.x ?
  • Next by thread: Re: includeStandardAdditions
  • Index(es):
    • Date
    • Thread