• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

AttributeEx object?

Guest
Aug 09, 2011 Aug 09, 2011

Copy link to clipboard

Copied

Does anyone know what the AttributeEx object is?

I didn't see it in the FDK ref, just in the new ExtendScript documentation and OMV released last week. Unfortunately, in both sources the definition is given as "An Array of AttributeEx objects with integer indexing and a  length  property", which I assume is the definition for some other, not-listed object.

It seems to have all the same properties as a regular Attribute, plus a property named overriddenFlags. Also, the default values for valflags, allow, and overriddenFlags are not zero.

Admittedly more curiosity than anything. Wild speculation welcome.

TOPICS
Scripting

Views

509

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 14, 2011 Aug 14, 2011

Copy link to clipboard

Copied

LATEST

Oliver,

This was added in FrameMaker 10 and is roughly described in the fm10_fdk_supplement.pdf, the omv.xml contains only this:

AttributesEx

Adobe FrameMaker-10 Object Model

An Array of AttributeEx objects with integer indexing and a  length  property.

The FDK supplement goes on with:

F_AttributeExT

Describes an individual attribute. The new members added to the existing structure F_AttributeT are for internal purpose. Do not use the new members.

typedef struct F_AttributeExT {

  StringT name;

  F_StringsT values;

  F_StringsT originalValues; /* Internal purpose. */

  UByteT valflags;  /* validation error flags - R/O */

  UByteT allow; /* allow validation error as special case*/

  UByteT overriddenFlags; /* Internal purpose. */

} F_AttributeExT;

I guess "Ex" is "Extended" in this name.

- Michael

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines