Image
This table lists the use, (default) values, and description of the attributes of the image element.
Attribute |
Use |
Values |
Description/examples |
Width |
Required |
The width of the graphic frame in the specified units. | |
Height |
Required |
The height of the graphic frame in the specified units. | |
X |
Required |
The horizontal position of the center point of the graphic frame with reference to the center point of the ImageFrame in the specified units. | |
Y |
Required |
The vertical position center point of the graphic frame with reference to the center point of the ImageFrame in the specified units. | |
LowResSrc |
Required |
The file path to the image file. If published from IDC the file path is relative to the cache folder (PrintStudio.ProjectsFolder setting in Sitecore.PrintStudio.config). Otherwise it is absolute file path. | |
HighResSrc |
Required |
The file path to the image file. If published from IDC the file path is relative to the cache folder (PrintStudio.ProjectsFolder setting in Sitecore.PrintStudio.config). Otherwise it is absolute file path. | |
Name |
Implied |
Only used internally. | |
Rotation |
Implied |
The rotation angle around the center, number, in degrees. | |
SitecoreID |
Required |
The SitecoreID attribute is used to identify each page object (TextFrame, ImageFrame, etc) with a corresponding Sitecore item. The SitecoreID attribute contains the ID value of that specific item. Each page object item created with the InDesign Connector is related to a Sitecore item. Note When using a script to create a page object (TextFrame, ImageFrame, etc), you should add the SitecoreID attribute and use a default value (e.g. “null”) so the InDesign Connector can identify this item. | |
SitecoreFieldname |
Implied |
Only used internally. | |
SitecoreMediaID |
Implied |
Only used internally. Used for static images and images inside Inline, value is the ID of the media item referenced in "MediaLibrary Reference" field. | |
HorizontalScale |
Implied |
Value - / +. Value of 0.8 means scale to 80%. Value of 2 means 200%. HorizontalScale and VerticalScale always need to be set both in order to use scaling. | |
VerticalScale |
Implied |
Value - / +. Value of 0.8 means scale to 80%. Value of 2 means 200%. HorizontalScale and VerticalScale always need to be set both in order to use scaling. | |
Skew |
Implied |
Skew angle | |
ObjectStyle |
Implied |
An InDesign Object Style can be used for formatting (effects). When the name of the Object Style used in the master is used as value of this attribute it will be applied. If the ObjectStyle does not exist, it is NOT created automatically. | |
RunScript |
Implied |
The full file(s) path. Three parameters are sent to the script. par1: document name par2: XML ID par3: InDesign GUID | |
WrapAndStrokeAttributes | |||
WCont |
Implied |
0 1 2 3 4 5 |
Wrap contour 0: Bounding Box - use the bounds of the graphic 1: Detect Edges - look at the pixel values to find darker areas of the image 2: Alpha Channel - use edge detection algorithm on the alpha channel 3: Photoshop Path - use the embedded path 4: Graphic Frame - use the graphic's frame 5: Same as Clipping - use the graphic's clipping |