Home

1186 XML Reference.book - the Sitecore Developer Network

image

Contents

1. TAE LinePoint Attribute Def Value s Default Value Explanation examples AnchorPointX l The horizontal position of the anchor point in the specified units AnchorPointY l The vertical position of the anchor point in the specified units LeftDirPointX R The horizontal position of the Left direction point in the specified units LeftDirPointY R The vertical position of the Left direction point in the specified units PointType R kL kL Line point kCS kCS Continuous smooth point kCK kCK Continuous unsmooth point RightDirPointX l The horizontal position of the Right direction point in the specified units RightDirPointY l The vertical position of the Right direction point in the specified units a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 34 Adaptive Print Studio XML Reference Q SI teco re Chapter 5 Content Elements This chapter describes the content elements that can be used within a text frame table cell or Inline frame This chapter contains the following sections e ParagraphStyle Element e CharacterStyle Element e SpecialCharacter Element e InsertVar Element Sitecore is a registered trademark All other brand and product names are the property of their respective
2. To generate a table of contents you need to publish the InsertVar element in the content and publish a corresponding InsertVar element in the table of contents The source element will be used to determine the page number The page number will be published at the location of the target variable In the content lt InsertVar Name TTOC_1 Value gt In the table of contents lt InsertVar Name TOC_1 Value gt Make sure the name of the source variable uses the prefix TTOC_ and the target variable uses the prefix TOC_ You can add any other value for example TTOC_DOC_1 Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 39 User Manual Q sitecore An example of a basic XML 1 lt xml version 1 0 encoding UTF 8 standalone yes gt 2 z lt Project Units points CloseProject True gt 3 lt Books gt 4 lt Book BookFilename ExportPDF False PrintBook False gt 5 lt Documents gt 6 lt Document Type Dynamic MasterFilename DocFilename c temp tests TOC_test indd PageWidth 612 000000000000000 PageHei if lt Preferences SuperScriptPos 33 299999999999997 SuperScriptSize 58 299999999999997 SubScriptPos 33 299999999999997 Sul 8 lt Colors gt 94 lt Sty
3. 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 1 Invert text wrap WSide l NAR ON O Wrap side O both left amp right sides Left side Right side Side Towards Spine Side Away from Spine Largest Area AUN LCap l Nao Line cap O But cap 1 Round cap 2 Projecting cap JType l Join type O Miter join 1 Round join 2 Bevel join MLim l Miter limit Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 27 User Manual Ellipse Continuea Q sitecore Attribute Def Value s Def value Explanation examples SAlign l 0 Stroke alignment 1 O Align stroke to center 2 1 Align stroke to inside 2 Align stroke to outside LEnd l Simple Line end LStart Bar Line start SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 28 Adaptive Print Studio XML Reference 4 6
4. 8 8 Right aligned tab 9 9 Tab 10 10 Hard return new paragraph 24 24 Page numbers 25 25 Section marker 160 160 Nonbreaking space 173 173 Discretionary hyphen 8212 8212 Em dash 8211 8211 En dash 8209 8209 Nonbreaking Hyphen 8193 8193 Flush space 8194 8194 En space 8195 8195 Em space 8199 8199 Figure space 8200 8200 Punctuation space 8201 8201 Thin space 8202 8202 Hair space 1396927554 1396927554 Column break a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 38 Adaptive Print Studio XML Reference Q SI teco re 5 4 InsertVar Element InsertVar Attribute Def Value s Def value Explanation examples Name Name of the variable If the variable does not exist in the master a new variable of the type Custom Text is created If the variable exists regardless of type it is inserted in the content at the place where the InsertVar element is placed Value Value of the variable content The value will only be set if the variable is of the type Custom Text a R Required l Implied 5 4 1 Using the InsertVar Element in a Table of Contents Besides using the InsertVar element to insert variables in the content you can also use the InsertVar element to generate a table of contents and or index
5. 9 lt Find gt VAR_1 lt Find gt 10 lt Replace gt this is VAR_1 lt Replace gt 1 lt Variable gt 12 lt Variables gt 13 lt Pages gt 14 lt Page MasterPrefix A MasterBase Master Number 3 gt 15 lt TextFrame Width 200 Height 200 X 120 Y 120 Z Index 0 gt 16 lt ParagraphStyle Style P_ProductGroup gt Some content lt ParagraphStyle gt 17 lt ParagraphStyle Style Body gt create var in content lt InsertVar Name VAR_3 Value this is VAR_3 gt lt ParagraphStyle gt 18 lt ParagraphStyle Style Body gt use var 1 lt InsertVar Name VAR_1 Value gt lt ParagraphStyle gt 19 lt ParagraphStyle Style Body gt and var 3 again lt InsertVar Name VAR_3 Value gt lt ParagraphStyle gt 20 lt ParagraphStyle Style Body gt creation date var lt InsertVar Name VAR_X Value gt lt ParagraphStyle gt 21 lt ParagraphStyle Style Body gt other var lt InsertVar Name VAR_X1 Value test gt lt ParagraphStyle gt 22 i lt TextFrame gt 23 F lt Page gt 24 lt Pages gt 25 F lt Document gt 26 F lt Documents gt 27 r lt Book gt 28 lt Books gt 29 lt Project gt 30 In this sample XML we set the value of the VAR_1 variable to this is VAR_1 In the content we use the InsertVar element to create a new variable called VAR_3 We then insert the variable VAR_1 Then we insert the VAR_3 Then we insert the variable VAR_X which correspon
6. Attribute Defa Value s Def value Explanation examples Width R The width of the graphic frame in the specified units Height R The height of the graphic frame in the specified units x R The horizontal position of the center point of the graphic frame with reference to the left corner point of the page in the specified units Y R The vertical position center point of the graphic frame with reference to the left corner point of the page in the specified units Stroke l The stroke color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values StrokeThickness l The thickness of the stroke in points StrokeType l Solid Solid Stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Z Index R The z index of the graphic frame Can be used to move a frame to the front back If the z index is unknown use any value like for example 0 Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values LayerName R The name o
7. Note When using a script to create a page object Textframe ImageFrame etc you should add the SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item SitecoreFieldname l Only used internally Scaling l None Images can be scaled automatically by using the values of this Asls attribute Fit Content to Frame Fit Frame to Content None use image width height x and y to position the image Center Content Asls place the image in its actual with and height Fit Content Proportionally Fill Frame Proportionally Fill Frame Proportionally and Center Fit Content Proportionally and Center HorizontalScale 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 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 l Value in degrees Center l True False False do nothing False True the image is placed as Indesign value Center Content attribute is used with scaling attributes FitFrame l True False False do nothing False True the frame is placed as Indesign value Fit frame to Content attribute is used with scaling attributes values ObjectStyle l An InDesign Object Style can be used for formatting effects When the name of the Object Style used in the master
8. ParagraphStyle Style Body gt This is the source title 2 lt InsertVar Name TTOC_2 Value gt lt ParagraphStyle gt 279 F lt TextFrame gt 280 lt Page gt 281 lt Page MasterPrefix A MasterBase Master Number gt 282 i lt TextFrame Width 150 Height 150 X 150 Y 150 Z Index 11 gt 283 lt ParagraphStyle Style P_ProductGroup gt source contents 284 F lt ParagraphStyle gt 285 lt ParagraphStyle Style Body gt This is the source title 3 lt InsertVar Name TTOC_3 Value gt lt ParagraphStyle gt 286 lt ParagraphStyle Style Body gt This is the source title 4 lt InsertVar Name TTOC_4 Value gt lt ParagraphStyle gt 287 F lt TextFrame gt 288 F lt Page gt 289 F lt Pages gt 290 F lt Document gt 291 F lt Documents gt 292 r lt Book gt Note Please note that the start number of the first page in the second document is set to 5 since we for this example want the first document to start on page number 5 Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 42 Adaptive Print Studio XML Reference Q siteco re To set the numbering options 1 Select the first page in the master document 2 Right click and select Numbering amp Section Options s Insert Pages Duplicate Sp
9. Size Scale set scaling percentage FitTo Size set the exact width and height FitTo fit to screen resolution FitToValue l 1280 x 800 1280 x 800 Set the value when Sizing is set to FitTo 984 x 588 Values in ppi 800 x 600 760 x 420 640 x 480 600 x 300 Height l 0 100 100 Real numbers Set the height when Sizing is set to Size Width l 0 100 100 Real numbers Set the width when Sizing is set to Size TextExport l Vectorize Vectorize Sets the text export policy for all text frame dictating how text is Live to be represented in the exported file Rasterize Vellum Transparency l Ignore Ignore Sets the preferred method for handling transparency on a page Flatten or spread if it exists Native UseNetwork l True True Set whether to allow using network access in generated SWF False ViewAfterExport l True False Sets whether to view the generated SWF file after exporting False UpdateBook i True True If set to true or left empty will effect to book update False Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 12 Adaptive Print Studio XML Reference Q SI teco re a R Required l Implied Note 1 e f CreateBook True a book file is created When CreateBook True and ExportPDF True a PDF file of the book is created e f CreateBook True
10. StrokeType l Solid Solid Stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Transparency l 0 100 Real Numbers The opacity in percentage of the graphic frame Winvert l 0 Invert text wrap 1 WMode l 0 O no text wrap 1 1 jump object 2 2 jump to next column 3 3 wrap around bounding box 4 4 Invalid unimplemented 5 5 Invalid unimplemented 6 6 wrap around object shape 7 7 Invalid unimplemented 8 8 Invalid unimplemented Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 33 User Manual Line Continued Q sitecore Attribute Def Value s Default Value Explanation examples WOffset l top Distance of wrap offset left Ex 1 2 1 2 0 bottom right single WSide l 0 Wrap side 1 O Both left amp right sides 2 1 Left side 3 2 Right side 4 3 Side Towards Spine 5 4 Side Away from Spine 5 Largest Area Z Index l The z index of the graphic frame Can be used to move a frame to the front back If the z index is unknown use any value like for example 0 a R Required l Implie 4 7 1 LinePoint Element
11. graphic frame with reference to the left corner point of the page in the specified units Y R The vertical position center point of the graphic frame with reference to the left corner point of the page in the specified units Stroke l The stroke color in swatch or rrggbb or CMYK c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values StrokeThickness l The thickness of the stroke in points StrokeType l Solid Solid Stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Z Index R The z index of the graphic frame Can be used to move a frame to the front back If the z index is unknown use any value like for example 0 Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values LayerName R The name of the layer where the graphic frame is put on If the layer does not exist it is created using defaults Rotation l The rotation of the graphic frame rotated round the centre middle In degrees VerticalAlignment l Top Top The vertical alignment of the cont
12. holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 35 User Manual Q SI tecore 5 1 ParagraphStyle Element CharacterStyle a E SpecialCharacter L A Inline E 0 0 nsertVar Es Table ParagraphStyle Attribute Defa Value s Default Value Explanation examples The style name that needs to be used to format this paragraph Style R a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 36 Adaptive Print Studio XML Reference Q SI teco re 5 2 CharacterStyle Element attributes CharacterStyle Attribute Def Value s Default Value Explanation examples Style R The style name that needs to be used to format this set of characters a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 37 User Manual 5 3 SpecialCharacter Element O sitecore SpecialCharacter Attribute Def Value s Default Value Explanation examples Type R 3 3 End nested style 7 7 Indent to here
13. if the row needs to remain together with the row False a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 50 Adaptive Print Studio XML Reference Q SI teco re 6 3 Cell Element 0 ns 0 0 Cell Attribute Def Value s Def value Explanation examples CellStyle R The name of the cell style If the cell style does not exist in the master document it is created using defaults ColWidth R The width of the column HorStradle R Value is horizontal stradle stradle of columns no stradle value is 0 when no value is inserted 0 is used default Two columns stradle value is 1 VerStradle R Value is vertical stradle stradle of rows no stradle value is 0 when no value is inserted 0 is used default Two rows stradle value is 1 a R Required Implied The following example shows how to use the HorStradle attribute to merge the first three cells of the first row lt xml version 1 0 encoding UTF 8 gt lt IDOCTYPE Table SYSTEM D SourceCode engine schema PrintStu lt Table ColCount HeaderRows FooterRows TableStyle gt S lt Row gt lt Cell CellStyle ColWidth HorStradle 2 VerStradle gt lt Cell CellStyle ColWidth HorStradle 0 Ver
14. is used as value of this attribute it will be applied If the objectstyle does not exist it is NOT created automatically RunScript l The full file s path 3 Parameters are sent to the script par1 documentname par2 XML iD par3 InDesign GUID FillTint l The percentage of the tint for the background color StrokeTint l The percentage of the tint for the stroke color Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 22 Adaptive Print Studio XML Reference ImageFrame Continued Q sitecore Attribute Def Value s Def value Explanation examples WMode l 0 Wrap mode 1 0 no text wrap 2 1 jump object 3 2 jump to next column 4 3 wrap around bounding box 5 4 Invalid unimplemented 6 5 Invalid unimplemented 7 6 wrap around object shape 8 7 Invalid unimplemented 8 Invalid unimplemented WOffset l top left bottom right single Distance of wrap offset Ex 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 1 Invert text wrap WSide l 0 Wrap side 1 O both left 8 right sides 2 1 Left side 3 2 Right side 4 3 Side Towards Spine 5 4 Side Away from Spine 5 Largest Area LCap l 0 Line cap 1 0 But cap 2 1 Round cap 2
15. lt Footnotes gt lt Flow MasterPrefix A MasterBase Master gt lt ParagraphStyle Style NormalParagraphStyle gt lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA And even more content gt lt InsertVar Name FN_3 Value gt lt ParagraphStyle gt lt Document gt lt Documents gt lt Book gt Books gt roject gt This will create the following document More content ad even more contentB lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA Some content gt lt InsertVar Name FN_1 Value gt lt CDATA gt lt ParagraphStyle gt lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA More content gt lt CharacterStyle Style Super gt lt InsertVar Name FN_2 Value gt lt CharacterStyle gt lt lt Document Type Dynamic MasterFilename C templtestslfootnotemaster indd DocFilename C temp tests output_test indd PageWidth 612 000000000000000 Paget Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 63 Adaptive Print Studio XML Reference Chapter 9 Style Elements The style settings can be stored inside the master document They can also be defined in XML The XML values overrule the settings in the master These style settings are documented in this cha
16. temp tests INXBook indb ExportPDF False PrintBook False gt lt Documents gt i lt Document Type Dynamic MasterFilename c temp tests INXmaster indd DocFilename c temp tests INX_content_test indd PageWidi lt Pages gt lt Page MasterPrefix A MasterBase Master Number 1 gt lt TextFrame Width 150 Height 150 X 150 Y 150 Z Index 11 gt lt ParagraphStyle Style P_ProductGroup gt source contents lt ParagraphStyle gt lt ParagraphStyle Style Body gt This is the source item 1 lt InsertVar Name TI_0 Value gt lt ParagraphStyle gt lt ParagraphStyle Style Body gt This is the source item 2 lt InsertVar Name TI_1 Value gt lt ParagraphStyle gt lt TextFrame gt lt Page gt lt Page MasterPrefix A MasterBase Master Number gt lt TextFrame Width 150 Height 150 X 150 Y 150 Z Index 11 gt lt ParagraphStyle Style P_ProductGroup gt source contents lt ParagraphStyle gt lt ParagraphStyle Style Body gt This is the source item 1 lt InsertVar Name TI_0 Value gt lt ParagraphStyle gt lt ParagraphStyle Style Body gt This is the source item 2 lt InsertVar Name TI_2 Value gt lt ParagraphStyle gt i lt TextFrame gt lt Page gt lt Pages gt lt Document gt lt Document Type Dynamic MasterFilename c templtestsUNXmaster indd DocFilename c temp tests INX_test indd PageWidth 612 lt Pages gt lt Page MasterPrefix A M
17. the graphic frame CornerType l The corner effect setting of the graphic frame as in Indesign Name l Frame label not used for now Stroke l The stroke color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 StrokeThickness l The thickness of the stroke in points StrokeType l Solid Solid The type of stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Rotation l The rotation of the graphic frame rotated round the centre middle In degrees Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 margin left l Left margin in the specified units margin top l Top margin in the specified units margin right l Right margin in the specified units margin bottom l Bottom margin in the specified units VerticalAlignment l Top Top The vertical alignment of the content in the frame when Type Middle text is used Bottom Justify ld l The automatic generated identifier for this object Identifier l Can be used to specify an identifier for this object SitecorelD l Only used in combination with Sitecore Identifies Sitecore items created from InDesign objects SitecoreFieldname l Only used in combination with Sitecore Identifies Sitecore item fields used for creating InDesign objects Sitecore is a reg
18. the text frame in the entire flow SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD 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 SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item SitecoreFieldname l Only used internally HorizontalScale 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 l 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 l 0 360 Value in degrees NrOfColumns Value number of columns used for text frames ColumnGutter l Value of gutter between columns ObjectStyle l An InDesign Object Style can be used for formatting effects If 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 ScriptOverflow l The full file s path Script is executed when text overflow is encountered for the text frame 3 parameters are sent to th
19. 36 lt ParagraphStyle Style P_ProductGroup gt table of contents lt ParagraphStyle gt 137 lt ParagraphStyle Style Body gt Title 1 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_1 Value gt lt ParagraphStyle gt 138 lt ParagraphStyle Style Body gt Title 2 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_2 Value gt lt ParagraphStyle gt 139 lt ParagraphStyle Style Body gt Title 2 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_3 Value gt lt ParagraphStyle gt 140 lt ParagraphStyle Style Body gt Title 2 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_4 Value gt lt ParagraphStyle gt 141 F lt TextFrame gt 142 F lt Page gt 143 F lt Pages gt 144 F lt Document gt 145 Document Type Dynamic MasterFilename c temp tests TOCmaster indd DocFilename c temp tests TOC_content_test indd PageW 146 lt Preferences SuperScriptPos 33 299999999999997 SuperScriptSize 58 299999999999997 SubScriptPos 33 299999999999997 Sut 147 lt Colors gt 233 lt Styles gt 264 lt Layers gt 272 lt Pages gt 273 i lt Page MasterPrefix A MasterBase Master Number 5 gt 274 lt TextFrame Width 150 Height 150 X 150 Y 150 Z4ndex 11 gt 275 lt ParagraphStyle Style P_ProductGroup gt source contents 276 F lt ParagraphStyle gt 277 lt ParagraphStyle Style Body gt This is the source title 1 lt InsertVar Name TTOC_1 Value gt lt ParagraphStyle gt 278 lt
20. Element 0 000 cee eee eae 21 44 Image Element voi a ee ia eee ears 24 4 5 Ellipse Element 000 cee eee 26 4 6 Rectangle Element 20 0000 29 AT Line Element sis ie Sass ob Bias Bs ee RA OP AA ra 32 4 7 1 LinePoint Element 0 0 0 0 00000 cece eee eee eens 34 Content Elements 35 5 1 ParagraphStyle Element 0 0 000 36 5 2 CharacterStyle Element 0 0000 eee 37 5 3 SpecialCharacter Element 0000 cee ees 38 5 4 InsertVar Element 2000 c eee eee 39 5 4 1 Using the InsertVar Element in a Table of Contents 39 5 4 2 Using the InsertVar Element in an Index 0 000 eee 45 ATMOS ger oa as a sy as A ee ae as cer eee eu eee a 48 6 1 Table Element ooooococcoo teens 49 G2 RowElement ii a A A A A a 50 6 3 Cell Element o oooocoocooo ees 51 MA AAA A O oat 4 pee E 53 7 1 Inline Element 54 Flow Eleme nts 2 26 2 20208 aaa a avd bee ae ee eee oid ee eds 58 8 1 Flow Element cst errei oe ac ew bl de A ee Sd ON ee ee ea eda des 59 8 2 Footnote Element 2 00000 ees 61 Style Elements er 225 crsa eee ee ee eee a eee ea eee ee 64 9 1 Preferences vivio ae onthe ia aa a dee Ree ae eee Ae 65 92 COMO Sas aha Cee t A eae aes ote oe ee ES 66 9 3 LayerElement o asrni 2 0 68 0 eee eee ee eee ee ee eee eee 67 9 4 Style Element dr ead wea ed FOE eae a das 68 Special Elements i asd eddad iada ede dad
21. If a page exists the page objects are added to that specific page If it does not exist a new page is created and the page objects are added to that new page MasterPrefix R For InDesign for example A B and so on MasterBase R For InDesign for example Master Transition l Blinds None Sets the page transition Box Comb Cover Dissolve Fade PageTurn Push Split Uncover Wipe Zoomin ZoomOut Direction l Down None Sets the transition direction Left LeftDown LeftUp Right RightDown RightUp Up In Out Horizontal Vertical Horizontalln HorizontalOut Verticalln VerticalOut Speed l Slow Default time Sets the transition speed Medium Fast ContNr l True True If the attribute is not specified the value is taken from the master False document Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 17 User Manual a R Required l Implied 4 2 TextFrame Element O sitecore TextFrame Attribute Def Value s Def value Explanation examples Width R The width of the graphic frame in the specified units Height R The height of the graphic frame in the specified units x R The horizontal position of the center point of the graphic frame with reference to the left corner point of the
22. Projecting cap JType l 0 Join type 1 O Miter join 2 1 Round join 2 Bevel join MLim l Miter limit SAlign l 0 Stroke alignment 1 O Align stroke to center 2 1 Align stroke to inside 2 Align stroke to outside LEnd l Simple Line end and LStart line start Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 23 User Manual 4 4 Image Element Image Attribute Def Value s Def value Explanation examples Width R The width of the graphic frame in the specified units Height R The height of the graphic frame in the specified units x R 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 R The vertical position center point of the graphic frame with reference to the center point of the ImageFrame in the specified units LowResSrc R The full dos path c name gif of low resolution images HighResSrc R The full dos path c name tiff of high resolution images Name l Only used internally Rotation l The rotation of the graphic frame rotated round the centre middle In de
23. R Capitalized Used for the Hyphenation tab R Ladder R LastWord R Limit R Zone R CrossColumn R AfterFirst R BeforeLast R ShortestWord R Mode InsetBottom Inset bottom for table or cell styles InsetLeft Inset left for table or cell styles InsetRight Inset right for table or cell styles InsetTop Inset top for table or cell styles Justification R WordspaceMin Used for the Justification tab R WordspaceMax R WordspaceDes R GlyphscaleMin R GlyphscaleMax R GlyphscaleDes R LetterspaceMin R LetterspaceMax R LetterspaceDes R AutoLeading R SingleWordJustification Kerning The Kerning Basic Character Formats Language See note at the end of this table The language used for determining hyphens LastLinelndent The indent for the last line Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 69 User Manual Character Styles Paragraph Table Cell styles Attribute Def Value s Default Value Q sitecore Explanation examples Leader R CharValue Leftindent The left indent for paragraph or character styles LetterSpacing The letter spacing for paragraph or character styles Ligatures The Ligatures Basic Character Formats LineHeight The line height for paragrap
24. Rectangle Element Rectangle G Rectangle Attribute Def Value s Def value Explanation examples Width R The width of the graphic frame in the specified units Height R The height of the graphic frame in the specified units x R The horizontal position of the center point of the graphic frame with reference to the left corner point of the page in the specified units Y R The vertical position center point of the graphic frame with reference to the left corner point of the page in the specified units Stroke l The stroke color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values StrokeThickness l The thickness of the stroke in points StrokeType l Solid Solid Stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Z Index R The z index of the graphic frame Can be used to move a frame to the front back If the z index is unknown use any value like for example 0 Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master doc
25. Sitecore Adaptive Print Studio Q SI tecore InDesign Publishing Engine 1 1 Reference Manual October 2 2012 InDesign Publishing Engine 1 1 Reference Manual Complete Reference to Sitecore Adaptive Print Studio Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Reference Manual Q SI tecore Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 2 InDesign Publishing Engine 1 1 Q SI tecore Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 OVETVIEW 0 tai aaa ia da aa is ar 5 INTFOGUCHION 4 velo A a gee dae a 6 2 1 Process Overview o e teens 7 2 2 Sample Documents 000 00 cece eee 8 Document Elements 02000 cece eee teen eee 9 3 1 Project Element rea a a eee 10 3 2 BOOK ml 111 ss assie ee 11 3 3 Document Element 2 00 00 eee eee 14 Page Elements e isre resiti iia cece tenet eee 16 4 1 Page Element icons coa a a dade Pant eiaae edad 17 4 2 TextFrame Element 0 0 0 0 00 cece eee eee eee eens 18 4 3 ImageFrame
26. Stradle gt lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt r lt Row gt lt Row gt i lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt i lt Cell CellStyle ColWidth HorStradle 0 VerStradle gt r lt Row gt lt Table gt This will create the following table in InDesign Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 51 User Manual O SI tecore Be aware to use stradles correctly If you create a row with four cells and stradle the first cell with the other three cells this is basically a row with one cell Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 52 Adaptive Print Studio XML Reference Q SI teco re Chapter 7 Inline Frames This chapter describes the elements involved with creating Inline frames This chapter contains the following sections e Inline Element Sitec
27. Style gt 10 i lt Flow gt 1 lt Pages gt 12 lt Document gt 13 lt Documents gt 14 15 lt Books gt 16 lt Project gt 7 Or when combined with a page type production 1 lt xml version 1 0 encoding UTF 8 standalone yes gt 2 lt Project gt 3 lt Books gt 4 lt Book BookFilename ExportPDF False PrintBook False gt 5 lt Documents gt 6 lt Document Type Dynamic MasterFilename C temp simpleDocMaster indd DocFilename C temp simpleDoc indd gt i lt Pages gt 8 lt Page MasterPrefix A MasterBase Master Number 1 gt 9 lt Rectangle X 50 Y 50 Width 100 Height 100 Z Index 1 gt 10 lt Page gt 11 lt Page MasterPrefix A MasterBase Master Number gt 12 lt Rectangle X 50 Y 50 Width 100 Height 100 Z Index 1 gt 13 lt Page gt 14 lt Flow MasterPrefix A MasterBase Master gt 15 lt ParagraphStyle Style BodyText gt Some content lt ParagraphStyle gt 16 lt Flow gt ai lt Pages gt 18 lt Document gt 19 lt Documents gt 20 lt Book gt 21 FP lt Books gt Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 60 Adaptive Print Studio XML Reference 8 2 Footnote Element Q sitecore Footnote Attrib
28. a es 73 10 1 Variable Element ooocooooooooo eee 74 Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 3 User Manual O SI tecore Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 4 Adaptive Print Studio XML Reference Q SI teco re Chapter 1 Overview This document describes the XML structure used by the Publishing Engine of Adaptive Print Studio The document contains the following chapters Chapter 1 Overview Chapter 2 Introduction This chapter introduces some basic principles when publishing InDesign documents using the Sitecore Publishing Engine Chapter 3 Document Elements This chapter describes the elements that build the basic project and document structure Chapter 4 Page ElementsPage Elements This chapter describes the elements used to define pages and page objects Chapter 5 Page ElementsContent Elements This chapter describes the content elements that can be used within a text frame table cell or Inline frame Chapter 6 Page ElementsTables This chapter describes the elements involved with creating InDesign tables Chapte
29. acity l The opacity in percentage values from 0 to 100 of the frame When value is 0 no fill color is shown means 0 When the attribute is not used the standard InDesign value is used Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 18 Adaptive Print Studio XML Reference Q sitecore TextFrame Attribute Def Value s Def value Explanation examples Transparency l The transparency of the graphic frame as in Indesign When value is 0 no fill color is shown means 0 When the attribute is not used the standard InDesign value is used Name l Only used internally by the InDesign connector CornerRadius l The corner effects setting in the specified units of the graphic frame CornerType l None The corner effect setting of the graphic frame Rounded Ex None None None None Inverse Rounded Inset Bevel Fancy margin left l Left margin in the specified units margin top l Top margin in the specified units margin right l Right margin in the specified units margin bottom l Bottom margin in the specified units ld l Only used internally Identifier l Only used internally FlowName l Name of the flow used for threaded text frames FlowOrder The order of
30. alue a R Required l Implie When using a Flow type production pages are automatically added when necessary The content is placed automatically using a globally defined text frame These text frames are fetched from the master page referred to by using the MasterPrefix and MasterBase attributes of the Flow element Make sure your master pages contain these text frames and are placed in a layer called flow See the following example PAGES None i E z 1 1 Master A a y LAYERS p footnotes S Ip row qu S Ib uve Pages A A 3 Layers a Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 59 User Manual Q SI te CO re The very basic structure of a flow type production looks like 1 lt xml version 1 0 encoding UTF 8 standalone yes gt 2 lt Project gt 3 lt Books gt 4 lt Book BookFilename ExportPDF False PrintBook False gt 5 lt Documents gt 6 lt Document Type Dynamic MasterFilename C temp simpleDocMaster indd DocFilename C temp simpleDoc indd gt lt Pages gt 8 lt Flow MasterPrefix A MasterBase Master gt El lt ParagraphStyle Style BodyText gt Some content lt Paragraph
31. asterBase Master Number 3 gt lt TextFrame Width 100 Height 100 X 80 Y 80 Z Index 11 gt lt ParagraphStyle Style P_ProductGroup gt Index lt ParagraphStyle gt lt ParagraphStyle Style Body gt Item 1 lt SpecialCharacter Type 9 gt lt InsertVar Name I_0 Value gt 37 lt ParagraphStyle gt 38 lt ParagraphStyle Style Body gt Item 2 lt SpecialCharacter Type 9 gt 39 lt InsertVar Name 1_1 Value gt 40 lt ParagraphStyle gt 41 lt TextFrame gt 42 lt Page gt 43 i lt Pages gt 44 lt Document gt 45 lt Documents gt 46 r oi lt Book gt AT L Ranes Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 46 Adaptive Print Studio XML Reference Q sitecore In InDesign this would look like r l fa INX_test 244 is is the source item 1 is is the source item 2 And in the index document Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 47 Adaptive Print Studio XML Reference Q SI teco re Chapter 6 Tables This chapter describ
32. ct Textframe ImageFrame etc you should add the SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item SitecoreFieldname l Only used internally HorizontalScale l 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 l 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 l Value in degrees ObjectStyle l 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 I The full file s path 3 parameters are sent to the script par1 documentname par2 XML iD par3 InDesign GUID FillTint l The percentage of the tint for the background color StrokeTint l The percentage of the tint for the stroke color WMode l ANOARWN AO Wrap mode O no text wrap jump object jump to next column wrap around bounding box Invalid unimplemented Invalid unimplemented wrap around object shape Invalid unimplemented Invalid unimplemented ANOAARWNH WOffset l top left bottom right single Distance of wrap offset Ex
33. cument are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 44 Adaptive Print Studio XML Reference O SI teco re Note Documents with facing Pages selected left and right pages face each other in a double page spread that start with an even page number Number attribute begin on the left page Odd numbered pages are right hand pages 5 4 2 Using the InsertVar Element in an Index To generate an index you need to publish the InsertVar element in the content and you need to publish a corresponding InsertVar element in the index as well The source element will then be used to determine the page number and the page number will be published at the location of the target variable In the content lt InsertVar Name TI_1 Value gt In the index lt InsertVar Name I_1 Value gt The index helps you to find information in long documents Therefore you need several places in the content where variables correspond with an index variable Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 45 User Manual Q SI te CO re A sample XML could look like lt xml version 1 0 encoding UTF 8 standalone yes gt a lt Project Units mm gt lt Books gt lt Book CreateBook True BookFilename c
34. daptive Print Studio SaveAs l Not supported using the Adaptive Print Studio PageCount l The page count is driven by inserted value No value means as is in XML Odd means document always ends on odd page Even means document always ends on even page ScriptFilename l Full path of an InDesign script added to document For additional information we refer to the Adobe website SDKs WaterMark False If set to True a watermark is printed across all pages in the document MarkText l Default The watermark text watermark Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 14 Adaptive Print Studio XML Reference Document Continuea Q sitecore Attribute Def Value s Def value Explanation examples MarkFontSize l 58 The watermark text font size MarkFontColor l 555555 The font color in rgb rrggbb For example rrggbb ff0000 which is red Shuffle l bed True If field is left empty the master document settings are used alse a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 15 Adaptive Print S
35. ds to a variable of the type Creation date in the master And finally we create a new variable called VAR_X1 and set the value of that variable to test This would result in Some content create var in content this is VAR_3 use var 1 this is VAR_1 and var 3 again this is VAR_3 creation date var created Saturday February 2012 ther var test Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 76
36. e 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 Opacity l The vertical alignment of the content in the textframe Rotation l The rotation of the graphic frame rotated round the centre middle In degrees RunScript l The full file s path Three parameters are sent to the script par1 documentname par2 XML iD par3 InDesign GUID SAlign l 0 Stroke alignment 1 O Align stroke to center 2 1 Align stroke to inside 2 Align stroke to outside SitecoreFieldname l Only used internally SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD 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 SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item Stroke l The stroke color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values StrokeThickness l The thickness of the stroke in points StrokeTint l The percentage of the tint for the stroke color
37. e script par1 documentname par2 XML iD par3 InDesign GUID RunOnce l True True True the scriptoverflow is only run once False False the script is executed until no overflow is encountered RunScript The full file s path Three parameters are sent to the script par1 documentname par2 XML iD par3 InDesign GUID Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 19 Q sitecore User Manual TextFrame Attribute Def Value s Def value Explanation examples FitFrame l True False True the frame is auto fitted according to the text in the False frame ShowOverflow l True False Show overflow indicator Overflow frame uses OverFlow False objectstyle and content uses OverFlow paragraphstyle The calling frame gets a strokecolor called OverFlow Only works in InDesign server FillTint l The percentage of the tint for the background color StrokeTint l The percentage of the tint for the stroke color WMode l 0 Wrap mode 1 2 0 no text wrap 3 1 jump object 4 2 jump to next column 5 3 wrap around bounding box 6 4 Invalid unimplemented T 5 Invalid unimplemented 8 6 wrap around object shape 7 Invalid unimplemented 8 Invalid unimplemented WOffset l top left bottom right single Wrap offset D
38. e the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 68 Adaptive Print Studio XML Reference Character Styles Paragraph Table Cell styles Q sitecore Attribute Def Value s Default Value Explanation examples DiagnolTint Diagnol tint for table or cell styles DiagnolWeight Diagnol weight for table or cell styles FillColor Fill color for table or cell styles FillOverprint Fill overprint for table or cell styles Fills R Pattern The Fills tab of the table styles R FirstCount R FirstColor R FirstTint R FirstOverprint R NextCount R NextColor R NextTint R NextOverprint R SkipFirst R SkipLast FillTint Fill tint for table or cell styles FirstBaselineMin First baseline minimum for table or cell styles FirstBaselineOffset First baseline offset for table or cell styles FirstLinelndent The indent for the first line FontColor The font color for paragraph or character styles The hex Value of the RGB color values for example 29292D or the name of a swatch FontFamily The name of the font family for paragraph or character styles FontSize The font size points for paragraph or character styles FontStyle The font style for paragraph or character styles HorizontalAlignment The horizontal alignment for paragraph or character styles HorizontalScale The HorizontalScale Advanced Character Formats Hyphenation
39. ent in the text frame Middle Bottom Justify Opacity l The opacity in percentage values from 0 to 100 of the graphic frame Transparency l The transparency of the graphic frame as in Indesign Name l Frame label not used for now CornerRadius l The corner effects setting in the specified units of the graphic frame Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 21 User Manual ImageFrame Continued Q sitecore Attribute Def Value s Def value Explanation examples CornerType l None The corner effect setting of the graphic frame Rounded Ex None None None None Inverse Rounded Inset Bevel Fancy Margin left l Left margin in the specified units Margin top l Top margin in the specified units Margin right l Right margin in the specified units Margin bottom l Bottom margin in the specified units ld l Only used internally Identifier l Only used internally SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD attribute contains the ID value of that specific item Each page object item created with the InDesign connector is related to a Sitecore item
40. ers The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 9 User Manual 3 1 Project Element Q sitecore Project C Ea Project Attribute Def Value s Def value Explanation examples Units l mm points The units of measurement for the project for font settings points points are used always Values points or mm when no value is inserted or the attribute is not included the points value will be used CloseProject l True True Redundant False a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 10 Adaptive Print Studio XML Reference 3 2 Book Element E attributes Book Attribute Def Value s Default Value Explanation examples CreateBook l True False True a book file is created False False no book file is created UseHighRes l True False False LowResSrc full dos path c name gif is used for False publishing True HighResSrc full dos path c name tiff is used for publishing AutoUpdate l True True Update the book file according to page order False BlankPage l True False Add blank InDesign page to document False BookFilename
41. es the elements involved with creating InDesign tables This chapter contains the following sections e Table Element e Row Element e Cell Element Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 48 Adaptive Print Studio XML Reference 6 1 Table Element Table Attribute Def Value s Def value Q sitecore Explanation examples TableStyle 0 The name of the table style to use for this table If the style is not available in the master the table style is created using defaults ColCount The number of columns The default value is taken from the structure number of cells in first row If ColCount lt 0 gt then the table is not created If ColCount value is less than the number of cells in the structure then the number of cells out of structure taken over Be aware The number of columns always needs to be larger then 0 and can t be left empty The number of columns also needs to correspond with the amount of cell elements for each row in the XML HeaderRows The number of header rows The RowCount includes the number of header rows So for a table with 1 header row and 9 body rows the rowcount is 10 FooterRows The number of footer rows The RowCount includes the number of header rows Fo
42. f the layer where the graphic frame is put on If the layer does not exist it is created using defaults Rotation l The rotation of the graphic frame rotated round the centre middle In degrees Opacity l The opacity in percentage values from 0 to 100 of the graphic frame Transparency l The transparency of the graphic frame as in Indesign Name l Only used internally CornerRadius l The corner effects setting in the specified units of the graphic frame CornerType l None The corner effect setting of the graphic frame as in Indesign Rounded Ex None None None None Inverse Rounded Inset Bevel Fancy Id l Only used internally Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 26 Adaptive Print Studio XML Reference Ellipse Continuea Attribute Def Value s Def value Q sitecore Explanation examples Identifier l Only used internally SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD 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 obje
43. grees Id l Only used internally Identifier l Only used internally SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD 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 SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item SitecoreFieldname l Only used internally HorizontalScale 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 l 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 l Value in degrees ObjectStyle l 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 l The full file s path 3 parameters are sent to the script par1 document name par2 XML iD par3 InDesign GUID Wmode l 0 Wrap mode 1 0 No text wrap 2 1 Jump object 3 2 Jump to next column 4 3 Wrap aro
44. h or character styles NoBreak The No Break Basic Character Formats Position The position for paragraph or character style RightIndent The right indent for paragraph or character styles RowStrokes DADDADDAADADDAADADADADAADAAA FirstCount FirstWeight FirstType FirstColor FirstTint FirstOverprint FirstGapColor FirstGapTint FirstGapOverprint NextCount NextWeight NextType NextColor NextTint NextOverprint NextGapColor NextGapTint NextGapOverprint SkipFirst SkipLast The RowStrokes tab of the table styles RuleAbove DDDDADDAADADADAAAA RuleOn StrokeWeight StrokeType StrokeColor StrokeTint StrokeOverprint GapColor GapTint GapOverprint Width Offset Leftindent RightIndent KeepinFrame The ParagraphRules tab of the paragraph styles RuleBelow DADADADADAAAAAA RuleOn StrokeWeight StrokeType StrokeColor StrokeTint StrokeOverprint GapColor GapTint GapOverprint Width Offset Leftindent RightIndent The ParagraphRules tab of the paragraph styles SkewAngle The skew angle for the characters SpaceAfter Space after table for table styles SpaceBefore Space before table for table styles Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 70 Ada
45. heir respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 7 User Manual Q SI tecore 2 2 Sample Documents You can download a zip archive with samples that are used in this manual This archive also contains the XML schema file that you can use building and validating XML snippets The following schema shows the overall structure E attributes eee FH Documents oh ise gt Ha Document H attributes E attributes Ma Textframe aH see H Paragraphstyle asia 0 2 mageFrame E Ellipse E Ha Rectangle Line E ParagraphStyle E attributes 5 ParagraphStyle Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 8 Adaptive Print Studio XML Reference Q SI teco re Chapter 3 Document Elements This chapter describes the elements that build the basic project and document structure This chapter contains the following sections e Project Element e Book Element e Document Element Sitecore is a registered trademark All other brand and product names are the property of their respective hold
46. istance 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 1 Invert text wrap WSide l 0 Wrap side 1 2 O Both left amp right sides 3 1 Left side 4 2 Right side 5 3 Side Towards Spine 4 Side Away from Spine 5 Largest Area Wignore l 1 Ignore textwrap only for textframes 0 1 Ignore textwrap LCap l 0 Line cap 1 2 O But cap 1 Round cap 2 Projecting cap JType l 0 Join type 1 2 O Miter join 1 Round join 2 Bevel join MLim l Miter limit SAlign l 0 Stroke alignment 1 2 0 Align stroke to center 1 Align stroke to inside 2 Align stroke to outside LEnd l Simple Line end and LStart line start Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide BalCols l True False Balance columns Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 20 Adaptive Print Studio XML Reference 4 3 ImageFrame Element Q sitecore ImageFrame Attribute Def Value s Def value Explanation examples Width R The width of the graphic frame in the specified units Height R The height of the graphic frame in the specified units x R The horizontal position of the center point of the
47. istered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 55 User Manual Inline Continued Q sitecore Attribute Def Value s Default Value Explanation examples Scaling l Fit Content to Frame Images can be scaled automatically Fit Frame to Content Center Content Fit Content Proportionally Fill Frame Proportionally Fit Content Proportionally and Center HorizontalScale Value VerticalScale l Value Skew l Value in degrees Center l True False False do nothing False True the image is placed as Indesign value Center Content attribute is used with scaling attributes values FitFrame l True False False do nothing False True the frame is placed as Indesign value Fit frame to Content attribute is used with scaling attributes values When textual content fit frame to content will only work when the number of columns is 1 ObjectStyle l An InDesign Object Style can be used for formatting effects If the name of the Object Style used in the master is used as value of this attribute it will be applied FillTint l The percentage of the tint for the background color StrokeTint l The percentage of the tint for the stroke color WMode l 0 Wrap mode 1 0 no text wrap 2 1 jump object 3 2 jump to next co
48. itecore All rights reserved Page 31 User Manual 4 7 Line Element Line Attribute Def Value s Default Value Explanation examples Width l The width of the graphic frame in the specified units Be aware that initially the line is determined by the LinePoints The width and height is only used to scale the object once created When publishing a straight horizontal line the width is not used Height l The width of the graphic frame in the specified units Be aware that initially the line is determined by the LinePoints The width and height is only used to scale the object once created When publishing a straight horizontal line the width is not used X l The horizontal position of the center point of the graphic frame with reference to the left corner point of the page in the specified units Be aware that the line is initially determined by the LinePoints The X and Y are only used to move the object once it is created Y l The vertical position center point of the graphic frame with reference to the left corner point of the page in the specified units Be aware that the line is initially determined by the LinePoints The X and Y are only used to move the object once it is created Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it
49. jPtVer l Top Top The inline frame Obj can be anchored relative to vertical layout Center properties Bottom AnchPosPtHor l Left Left The inline frame Pos can be relative to horizontal layout Center properties Right AnchPosPtVer l Top Top The inline frame Pos can be relative to vertical layout Center properties Bottom XRelativeTo l AnchorMarker TextFrame The inline frame can be positioned relative to the X value ColumnEdge TextFrame PageMargin PageEdge Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 54 Adaptive Print Studio XML Reference Inline Continued Q sitecore Attribute Def Value s Default Value Explanation examples YRelativeTo l Baseline Baseline The inline frame can be positioned relative to the Y value LineCapHeight LineTopLeading ColumnEdge TextFrame PageMargin PageEdge BottomTopBoundries l Yes Yes Yes means inline frames are placed within the flow No boundaries No means inline frames are placed within and without the flow boundaries Opacity l 0 100 Integer The opacity in percentage of the graphic frame Transparency l The transparency of the graphic frame as in Indesign CornerRadius l The corner effects setting in the specified units of
50. l See note 1 at the end of this table ConvertVars l True False False index variables are not converted to text False True the variable will be converted ExportPDF l True False Export the book file to PDF or not False True a PDF file of the book is created ExportSWF l True Export to swf format when set to True False name l Name of item PageOrder l Odd Odd The page order start number Even Previous means start from previous document in book Previous Odd means start on odd page Even means start on even page PDFExportSetting l Value is the desired PDF export setting for books or documents PDFFilename l The full dos path c name pdf of the InDesign book PrintBook l True False Print the entire book False PrintPreset l The printer settings to use when printing the book using PrintBook Repaginate l Only used internally by InDesign connector plug in SitecorelD l The unique ID of the item SWFFilename l The filename to use for the SWF file PageCurl l True True If True page curl is enabled False CurveQuality l 0 100 80 Sets the curve quality for the export SpineGradient l True True If True page spine gradient is shown even when no page curl is False in progress ShowCornerTease l True True True a teaser animation is shown if user mouses over a False corner EdgePercentage l 0 100 50 Integer Real value indicating percentage of width height for grabber area size MediaHandling l IncludeAll IncludeAll Sets the preferred method for hand
51. les gt 25 lt Layers gt 33 lt Pages gt 34 lt Page MasterPrefix A MasterBase Master Number 1 gt 35 lt TextFrame Width 100 Height 100 X 80 Y 80 Z Index 11 gt 36 lt ParagraphStyle Style P_ProductGroup gt table of contents lt ParagraphStyle gt 37 lt ParagraphStyle Style Body gt Title 1 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_1 Value gt lt ParagraphStyle gt 38 lt ParagraphStyle Style Body gt Title 2 lt SpecialCharacter Type 9 gt lt InsertVar Name TOC_2 Value gt lt ParagraphStyle gt 39 F lt TextFrame gt 40 F lt Page gt 41 lt Page MasterPrefix A MasterBase Master Number 2 gt 42 lt TextFrame Width 150 Height 150 X 150 Y 150 Z Index 11 gt 43 lt ParagraphStyle Style P_ProductGroup gt source contents 44 F lt ParagraphStyle gt 45 lt ParagraphStyle Style Body gt This is the source title 1 lt InsertVar Name TTOC_1 Value gt lt ParagraphStyle gt 46 lt ParagraphStyle Style Body gt This is the source title 2 lt InsertVar Name TTOC_2 Value gt lt ParagraphStyle gt 47 F lt TextFrame gt 48 F lt Page gt 49 F lt Pages gt 50 F lt Document gt 51 F lt Documents gt 52 rF lt Book gt 53 Fo lt Books gt 54 lt Project gt 55 itle 1 itle 2 able of contents pci JEE LIE 2 Pages in 2 Spreads A Sitecore is a registered trademark All other brand and prod
52. ling dynamic media page AppearanceOnly items FrameRate l 0 100 24 Integer Set the frame rate for the generated SWF Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 11 User Manual Book Continued Q sitecore Attribute Def Value s Default Value Explanation examples GenerateHTML l True True Set to True a HTML file is generated as well False TranspBack l True False Has transparent background when transparent background False page curl is not possible when set to True IncludePreloader l True True Include preloader when set to True False JpegQuality l Minimum Medium Set the jpeg quality Low Medium High Maximum Compression l Automatic Automatic Set the compression Lossless JPEG Resolution l 0 00 72 Integer Values in dpi Sets the preferred raster resolution for the export Spreads l True False Sets whether to export as reader s spreads False Threshold l 72 Integer Values in dpi Sets the raster resolution threshold ResamplingType l None Average Sets the algorithm to be used for resampling raster images that Average exceed the specified resolution threshold Subsample Bicubic Sizing l Scale Scale Set the scale and fit settings to be applied for the export
53. lumn 4 3 wrap around bounding box 5 4 Invalid unimplemented 6 5 Invalid unimplemented 7 6 wrap around object shape 8 7 Invalid unimplemented 8 Invalid unimplemented WOffset l top left bottom right single Distance of wrap offset Ex 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 Invert text wrap 1 WSide l 0 Wrap side 1 O both left amp right sides 2 1 Left side 3 2 Right side 4 3 Side Towards Spine 5 4 Side Away from Spine 5 Largest Area Wignore l 1 Ignore textwrap only for text frames 0 1 Ignore textwrap LCap l 0 Line cap 1 O Butcap 2 1 Round cap 2 Projecting cap JType l 0 Join type 1 O Miter join 2 1 Round join 2 Bevel join MLim l Miter limit Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 56 Adaptive Print Studio XML Reference Inline Continuea Q sitecore Attribute Def Value s Default Value Explanation examples SAlign l 0 Stroke alignment 1 O Align stroke to center 2 Align stroke to inside 2 Align stroke to outside LEnd l Simple Line end and LStart line start Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide BalCols l True False Balance colu
54. mns a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 57 Adaptive Print Studio XML Reference Q sitecore Chapter 8 Flow Elements Although most InDesign productions are page oriented the Engine also allows to produce more data driven productions In this case pages are added if more space is needed to flow the content This chapter contains the following sections e Flow Element e Footnote Element Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 58 Adaptive Print Studio XML Reference 8 1 Flow Element Q sitecore Flow Attribute Def Value s Def value Explanation examples MasterPrefix For InDesign for example A B and so on MasterBase For InDesign for example Master Number The number used to identify the page If a page exists the page objects are added to that specific page If the pages in the document are less than the number specified the page is not shown in the PDF The pages after the flow within the same document have to be auto numbered left with no Number v
55. nt for table or cell styles BorderType Border type for table or cell styles BorderWeight Border weight for table or cell styles Bullets BulletChar The bullets for paragraph or character styles TextAfter CharStyle Number ContinueFromPrevious StartAt Case The case for paragraph or character styles CharacterColor R FillOverprint Used for the Character Color tab R FillTint R StrokeColor R StrokeOverprint R StrokeTint R StrokeWeight Clipping Clipping for table or cell styles ColumnStrokes FirstCount The ColumnStrokes tab of the table styles FirstWeight FirstType FirstColor FirstTint FirstOverprint FirstGapColor FirstGapTint FirstGapOverprint NextCount NextWeight NextType NextColor NextTint NextOverprint NextGapColor NextGapTint NextGapOverprint SkipFirst SkipLast DiagnolColor Diagnol color type for table or cell styles DiagnolGapColor Diagnol gap color for table or cell styles DiagnolGapOverprint Diagnol gap overprint for table or cell styles DiagnolGapTint Diagnol gap tint for table or cell styles DiagnolLine Diagnol line for table or cell styles DiagnolOverprint Diagnol overprint for table or cell styles DiagnolsOnTop Diagnols on top for table or cell styles DiagnolStrokeType Diagnol stroke type for table or cell styles Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document ar
56. ore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 53 User Manual 7 1 Inline Element attributes A A A Ei Ip 0 Inline Attribute Def Value s Default Value Explanation examples Type R Text Text Text Text frame Graphic Graphic Graphic frame Ellipse Ellipse Ellipse Rectangle Rectangle Rectangle Path Path Path ParagraphStyle l Then type text is used the paragraph style to format the content can be set here Height R The height of the graphic frame in the specified units Width R The width of the graphic frame in the specified units Position R Inline Inline The position of the frame Aboveline YOffset l Offset from baseline for inline max line height XOffset l Offset from Alignment l Left Left The inline frame alignment Right Center TowardsSpine AwayFromSpine TextAlignment SpaceBefore l The space before an inline frame PreventManualPositioni Yes No Yes means inline frames are locked and can not be ng No changed manually No means inline frames can be changed manually Relative ToSpine l Yes No The inline frame can be positioned relative to layout properties No AnchObjPtHor l Left Left The inline frame Obj can be anchored relative to horizontal Center layout properties Right AnchOb
57. orm Dutch Old Rules English Canadian English USA English USA Legal English USA Medical Estonian Finnish French French Canadian German Reformed German 2006 Reform German Old Rules German Swiss German Swiss 2006 Reform Greek Hungarian Italian Latvian Lithuanian Norwegian Bokmal Norwegian Nynorsk Polish Portuguese Orthographic Portuguese Portuguese Brazilian Romanian Russian Slovak Slovenian Spanish Swedish Turkish Ukrainian Internal value to use in XML English UK Bulgarian Catalan Croatian Czech Danish nil_NL_2005 Dutch English Canadian English USA English USA Legal English USA Medical Estonian Finnish French French Canadian German Reformed de_DE_2006 German Traditional German Swiss de_CH_2006 Greek Hungarian Italian Latvian Lithuanian Norwegian Bokmal Norwegian Nynorsk Polish Orthographic Agreement Portuguese Portuguese Brazilian Romanian Russian Slovak Slovenian Spanish Castilian Swedish Turkish Ukrainian Q sitecore Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 72 Adaptive Print Studio XML Reference Q SI teco re Chapter 10 Special Elements This chapter describes special elements Sitecore is a registered trademark All
58. ote When using a script to create a page object Textframe ImageFrame etc you should add the SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item SitecoreFieldname l Only used internally HorizontalScale l 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 l 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 l Value in degrees ObjectStyle l 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 I The full file s path 3 parameters are sent to the script par1 documentname par2 XML iD par3 InDesign GUID FillTint l The percentage of the tint for the background color StrokeTint l The percentage of the tint for the stroke color WMode l ANOARWN AO Wrap mode O no text wrap jump object jump to next column wrap around bounding box Invalid unimplemented Invalid unimplemented wrap around object shape Invalid unimplemented Invalid unimplemented ANONAARWNH WOffset l top left bottom
59. other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 73 User Manual 10 1 Variable Element Q sitecore ME Variable Attribute Def Value s Default Value Explanation examples Find Find value Replace Replace with value a R Required l Implie The variable element allows you to set the variable contents variable of the type Custom Text Be aware that it does not create a variable if it does not exist in the master document it only sets the content To create a variable in the master document 1 Select Type Text Variables Define from the InDesign main menu Bousy Ay E t Fi LE 4 i Font Size Character Paragraph Tabs Glyphs Story Character Styles Paragraph Styles Create Outlines Find Font Change Case Type on a Path Notes Track Changes Insert Footnote Document Footnote Options Hyperlinks amp Cross References Text Variables Bulleted amp Numbered Lists Insert Special Character Insert White Space Insert Break Character Fill with Placeholder Text Show Hidden Characters eE Object Table View Plug Ins Window Help Ctrl T Alt Ctrl T Shift Ctrl T Alt Shift F11 Shift F11 Fa Shift Ctrl O Alt Ctrl 1 Defi Convert Variable to Text Sitecore is a regi
60. page in the specified units Y R The vertical position center point of the graphic frame with reference to the left corner point of the page in the specified units Stroke l The stroke color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values StrokeThickness l The thickness of the stroke in points StrokeType l Solid Solid Stroke values ThickThick ThickThin ThickThinThick ThinThick ThinThickThin ThinThin Triple_Stroke Canned Dashed 3x2 Canned Dashed 4x4 Left Slant Hash Right Slant Hash Straight Hash Canned Dotted Wavy White Diamond Japanese Dots Dashed Z Index R The z index of the graphic frame Can be used to move a frame to the front back If the z index is unknown use any value like for example 0 Background l Background color in swatch or rrggbb or cmyk c 0 m 100 y 100 k 0 Value of None mean no stroke If a swatch is used and the swatch does not exist in the master document it will be created using default color values LayerName R The name of the layer where the graphic frame is put on If the layer does not exist it is created using defaults Rotation l The rotation of the graphic frame rotated round the centre middle In degrees VerticalAlignment l Top Top The vertical alignment of the content in the text frame Middle Bottom Justify Op
61. pter This chapter contains the following sections Preferences Colors Layer Element Style Element Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 64 Adaptive Print Studio XML Reference 9 1 Preferences Q sitecore Preferences Attribute Def Value s Def value Explanation examples SuperScriptPos l In points SuperScriptSize l In points SubScriptPos l In points SubScriptSize l In points a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 65 User Manual 9 2 Colors os Colors EF A 7 0 0 Q sitecore Swatch Attribute Def Value s Def value Explanation examples Name R The name of the swatch Mode R RGB Color mode CMYK Red R 0 255 Integer Green R 0 255 Integer Blue R 0 255 Integer Cyan R 0 100 Integer Magenta R 0 100 Integer Yellow R 0 100 Integer Key R 0 100 Integer a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The con
62. ptive Print Studio XML Reference Character Styles Paragraph Table Cell styles Attribute Def Value s Default Value Q sitecore Explanation examples Strikethrough DADADDAAAA Weight Type Offset Color Tint StrokeOverprint GapColor GapTint GapOverprint Strike through yes or no for paragraph or character styles StrokeColor DADA Left Top Righ Bottom Stroke Color for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeGapColor DADA Left Top Righ Bottom StrokeGapColor for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeGapOverprint DADA Left Top Righ Bottom StrokeGapOverprint for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeGapTint DADA Left Top Righ Bottom StrokeGapTint for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeOverprint oDDD Left Top Righ Bottom StrokeOverprint for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeTint DADA Left Top Righ Bottom StrokeTint for table or cell styles When value is inserted for element this will overrule the values set with the a
63. r 7 Page Elementsinline Frames This chapter describes the elements involved with creating Inline frames Chapter 8 Page ElementsFlow Elements This chapter describes how to work with a flow type production and the footnote element Chapter 9 Page ElementsStyle Elements This chapter describes how to work with style elements Chapter 10 Page ElementsSpecial Elements This chapter describes how to work with variables Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 5 Adaptive Print Studio XML Reference Q SI teco re Chapter 2 Introduction This chapter introduces some basic principles when publishing InDesign documents using the Sitecore Publishing Engine Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 6 Adaptive Print Studio XML Reference Q SI teco re 2 1 Process Overview The following diagram explains the overall process Aa InDesign Server 3 Party ste Systems XML Engine and data InDesign Desktop Connector Sitecore is a registered trademark All other brand and product names are the property of t
64. r a table with 1 header row 1 footer row and 8 body rows the rowcount is 9 RowCount The number of rows If left empty the number of rows is determined based on the XML structure of the table The default value is taken from the structure the number of rows of the table If RowCount lt 0 gt then the table is not created If RowCount value is less than the number of rows in the structure the value taken over structure RepeatHeader OncePerPage OncePerFrame EveryTextColumn OncePerFrame Sets the way the table header is repeated RepeatFooter OncePerPage OncePerFrame EveryTextColumn OncePerFrame Sets the way the table footer is repeated a R Required I Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 49 User Manual 6 2 Row Element Q sitecore Row Attribute Def Value s Def value Explanation examples RowHeight l AtLeast AtLeast Sets the way the row height needs to be set Exactly RowMin l 2 The value is the minimum height of a row RowMax l 200 The value is the maximum height of a row StartRow l Anywhere Anywhere Sets the way this row needs to be positioned NextColumn NextFrame NextPage NextOddPage NextEvenPage KeepWithNext l True False Set to True
65. read Rotate Spread View gt Page Transitions gt Colour Label gt Apply Master to Pages Save as Master Override All Master Page Items Alt Shift Ctrl L Y Allow Document Pages to Shuffle vV Allow Selected Spread to Shuffle Numbering amp Section Options Start Section Automatic Page Numbering Start Page Numbering at 1 Page Numbering Section Prefix Style 1 2 3 4 Section Marker El Include Prefix when Numbering Pages Document Chapter Numbering Style 1 2 3 4 X 9 Automatic Chapter Numbering Start Chapter Numbering at 1 Same as Previous Document in the Book Book Name N A 3 Select Start Page Numbering at and set the value to 1 When the document is generated the start number will be set from the XML and in this case 1 will be set to 5 Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 43 User Manual Q SI te CO re This would produce a book file and two documents This would look like TOC_content_test and ource conten is is the source title 1 is is the source title 2 TOC_content_test Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this do
66. right single Distance of wrap offset Ex 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 1 Invert text wrap WSide l NA ON O Wrap side O both left 8 right sides Left side Right side Side Towards Spine Side Away from Spine Largest Area akon LCap l Nao Line cap O But cap 1 Round cap 2 Projecting cap JType l 0 x Join type O Miter join 1 Round join 2 Bevel join MLim l Miter limit Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 30 Adaptive Print Studio XML Reference Rectangle Continued Attribute SAlign Def Value s 0 1 2 Def value Q sitecore Explanation examples Stroke alignment O Align stroke to center 1 Align stroke to inside 2 Align stroke to outside LEnd Simple Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide Line end and LStart line start a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 S
67. s compiled based on the following logic If the DocFilename attribute has a value that value is used for the filename If a value is left empty The indd filename value of OutputFolder value of name value of SitecorelD indb Outputfolder is derived from XML source file location If name is empty the name is set to some default name l Name of the item SitecorelD l The unique ID of the item If SitecorelD is empty a unique ID is generated Type l Static Dynamic The document type Dynamic means document created from Dynamic XML Static means static InDesign document When using Static the engine will use the document referred in the MasterFilename attribute and will save this document using the filename stated in the DocFilename attribute PageWidth l The width of the pages specified in the amount of specified units of measurement PageHeight l The height of the pages specified in the amount of specified units of measurement Bleed l The amount of bleed MasterFilename R The full dos path c name indd of the master document to use for this document If left empty a new document is created using no master file DocFilename R The full dos path c name indd of the document to create or use for this document If left empty the filename is compiled using the name and SitecorelD attribute values If those are left out or empty the name is compiled using a unique identifier InsertFile l Not supported using the A
68. stered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 74 Adaptive Print Studio XML Reference Q sitecore The Text Variables dialog is displayed Delete Convert To Text 3 Select the Custom Text as a type and fill in the Name field with the value that corresponds to the name value of your Find element in the XML lt Varables gt i lt Variable gt i lt Find gt VAR_1 lt Find gt lt Replace gt this is VAR_1 lt Replace gt lt Variable gt po Y AN Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 75 User Manual Q SI tecore A variable can be inserted in the content by using the InsertVar element To illustrate how both work together 1 lt xml version 1 0 encoding UTF 8 standalone yes gt 2 lt Project gt 3 lt Books gt 4 lt Book BookFilename ExportPDF False PrintBook False gt 5 lt Documents gt 6 lt Document Type Dynamic MasterFilename c temp tests VARSmaster indd DocFilename c temp tests VARS_test indd PageWidtl 7 lt Variables gt 8 lt Variable gt
69. t are referenced for the flow Make sure the master page has a text frame on a layer called flow as you can see in the following screenshot gt MS Ss F fb fow Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 62 Adaptive Print Studio XML Reference Q SI teco re The basic XML structure looks like ml version 1 0 encoding UTF 8 standalone yes gt oject Units points CloseProject True gt Books gt lt Book BookFilename ExportPDF False PrintBook False gt lt Documents gt lt Flows gt lt Footnotes gt lt Footnote Name FN_1 Autonumber False Type Numbers Style Super Prefix Nr Suffix _ gt lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA footnote 1 gt lt ParagraphStyle gt lt Footnote gt lt Footnote Name FN_2 Autonumber True Type Numbers Style Super Prefix Nr Suffix _ gt lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA footnote 2 gt lt ParagraphStyle gt Footnote gt lt Footnote Name FN_3 Autonumber True Type Alphabetical Style Super Prefix Nr Suffix gt lt ParagraphStyle Style NormalParagraphStyle gt lt CDATA footnote 3 gt lt ParagraphStyle gt i lt Footnote gt
70. tents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 66 Adaptive Print Studio XML Reference 9 3 Name Z Index a Visible Layer Element Q sitecore Layer Attribute Def Value s Def value Explanation examples Name R The name of the layer If it does not exist it will be created Z Index R The z index of this layer If unknown just use any value like O or 1 Visible R The layer is visible or not Locked R The layer is locked or not Printable R The layer is printable or not a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 67 User Manual 9 4 Style Element Character Styles Paragraph Table Cell styles Q sitecore Attribute Defa Value s Default Value Explanation examples BalanceLines True Balance ragged lines False BaselineShift The BaselineShift BorderColor Border color for table or cell styles BorderGapColor Border gap color for table or cell styles BorderGapOverprint Border gap overprint for table or cell styles BorderGapTint Border gap tint for table or cell styles BorderOverprint Border overprint for table or cell styles BorderTint Border ti
71. there is never a PDF file or SWF file created of the document If CreateBook False and ExportPDF True a PDF of the first document is created e If CreateBook False and ExportSWF True flash of the first document is created The different filenames indb PDF and SWF are compiled based on the following logic e Ifthe specific attribute BookFileName PDFFileName and SWFFilename has a value that value is used for the filename If a value is left empty e The indb book filename value of OutputFolder value of name value of SitecorelD indb e The PDF filename value of OutputFolder value of name value of SitecorelD pdf e The SWF filename value of OutputFolder value of name value of SitecorelD pdf Outputfolder is derived from XML source file location If name is empty or attribute does not exist the name is set to some default If SitecorelD is empty or attribute does not exist a unique ID is generated Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 13 User Manual 3 3 Document Element attributes Layers Q sitecore Document Attribute Def Value s Def value Explanation examples Name l The document filename indd i
72. ttributes StrokeType DADA Left Top Righ Bottom n troke type for table or cell styles When value is inserted for element this will overrule the values set with the attributes StrokeWeight DADA Left Top Righ Bottom no troke weight for table or cell styles When value is inserted for element this will overrule the values set with the attributes Tab Leader DADA LeaderCount Alignment AlignToChar Position Tabs Tab For the Tabs tab TextRotation Text rotation for table or cell styles Tracking The tracking Basic Character Formats Underline DDDADADADAAA Weight Type Offset Color Tint StrokeOverprint GapColor GapTint GapOverprint Underline yes or no for paragraph or character styles VerticalJustification Vertical justification for table or cell styles VerticalScale The VerticalScale Advanced Character Formats VJSpacingLimit Vertical justification spacing limit for table or cell styles a R Required l Implied Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 71 User Manual Language Values Language in InDesign English UK Bulgarian Catalan Croatian Czech Danish Dutch 2005 Ref
73. tudio XML Reference Q SI teco re Chapter 4 Page Elements This chapter describes the elements used to define pages and page objects This chapter contains the following sections e Page Element e TextFrame Element e ImageFrame Element e Image Element e Ellipse Element e Rectangle Element e Line Element Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 16 Adaptive Print Studio XML Reference 4 1 Page Element ro H aye 0 0 Page attributes TextFrame i Ellipse Path ImageFrame Q sitecore Attribute Def Value s Def value Explanation examples name l Only used for internal purposes by InDesign connector SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD 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 SitecorelD attribute and use a default value e g null so the InDesign connector can identify this item Number R The number used to identify the page
74. uct names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 40 Adaptive Print Studio XML Reference Q SI teco re The second page with the source content source contents is is the source title 1 is is the source title 2 If you work with several documents in a book you can use the same steps to publish a separate table of contents document inside the book Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 41 User Manual Q SI te CO re A sample XML could look like 4 lt Book CreateBook True BookFilename c temp tests TOCBook indb ExportPDF False PrintBook False gt 5 lt Documents gt 6 ao Type Dynamic MasterFilename c temp tests TOCmaster indd DocFilename c temp tests TOC_test indd PageWidth 61 Ti lt Preferences SuperScriptPos 33 299999999999997 SuperScriptSize 58 299999999999997 SubScriptPos 33 299999999999997 Sut 8 lt Colors gt 94 lt Styles gt 125 lt Layers gt 133 lt Pages gt 134 lt Page MasterPrefix A MasterBase Master Number 1 gt 135 lt TextFrame Width 100 Height 100 X 80 Y 80 Z Index 11 gt 1
75. ument it will be created using default color values LayerName R The name of the layer where the graphic frame is put on If the layer does not exist it is created using defaults Rotation l The rotation of the graphic frame rotated round the centre middle In degrees Opacity l The opacity in percentage values from 0 to 100 of the graphic frame Transparency l The transparency of the graphic frame as in Indesign Name l Only used internally CornerRadius The corner effects setting in the specified units of the graphic frame CornerType l None The corner effect setting of the graphic frame as in Indesign Rounded Ex None None None None Inverse Rounded Inset Bevel Fancy Id l Only used internally Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 29 User Manual Rectangle Continued Attribute Def Value s Def value Q sitecore Explanation examples Identifier l Only used internally SitecorelD R The SitecorelD attribute is used to identify each page object Textframe ImageFrame etc with a corresponding Sitecore item The SitecorelD attribute contains the ID value of that specific item Each page object item created with the InDesign connector is related to a Sitecore item N
76. und bounding box 5 4 Invalid unimplemented 6 5 Invalid unimplemented 7 6 Wrap around object shape 8 7 Invalid unimplemented 8 Invalid unimplemented Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 24 Adaptive Print Studio XML Reference Image Continuea Attribute Def Value s Def value Q sitecore Explanation examples WOffset l top left bottom right single Distance of wrap offset Ex 1 2 1 2 0 Whether the item only supports one value for all sides that is topMargin is the only valid margin values 1 0 Winvert l 0 1 Invert text wrap WSide l NRA ON O0 Wrap side 20 Both left amp right sides Left side Right side Side Towards Spine Side Away from Spine Largest Area WCont l NRA OUN O rap contour Graphic Bounds Detect Edges Using Alpha Channel Using Photoshop Path Graphic Frame SameAsClip a R Required l Implie Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright O 2001 2012 Sitecore All rights reserved Page 25 User Manual Q SI tecore 4 5 Ellipse Element Ellipse
77. ute Def Value s Def value Explanation examples Name R The name of the footnote used for matching there must be an lt InsertVar Name gt with the same name AutoNumber R True True True the footnote will be numbered automatically according False to selected value of the attribute type Type R Numbers Numbers The selected type of numbering Alphabetical Prefix R The characters set before the Number or Letter alphabetical for example Nr_ or Fn_ Suffix R The characters set after the Number or Letter alphabetical for example 1_Fn Style R NoCharacterS The style character style used for formatting the AutoNumber tyle The paragraph style set for the Footnote and AutoNumber is the style of the first paragraph style of Footnote a R Required l Implie The footnotes are defined in a general section child of flows Each footnote can be referenced in the content by inserting a variable InsertVar element that has a name that corresponds with the name of the footnote The Engine will collect and publish all the referenced footnotes on the specific page Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 61 User Manual Q SI te CO re The footnotes will be published inside a text frame that is globally defined on the master pages tha
78. will be created using default color values Closed l True True start and end point are joined False False no joining CornerRadius l N A Frame label not used for now CornerType l None The corner effects setting in the specified units of the graphic Rounded frame Ex None None None None Inverse Rounded Inset Bevel Fancy FillTint l The percentage of the tint for the background color Id l Only used internally Identifier l Only used internally JType l 0 Join type 1 O Miter join 2 1 Round join 2 Bevel join LayerName l The name of the layer where the graphic frame is put on If the layer does not exist it is created using defaults LCap l 0 Line cap 1 O But cap 2 1 Round cap 2 Projecting cap LEnd l Simple Line end and LStart line start LStart Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide Sitecore is a registered trademark All other brand and product names are the property of their respective holders The contents of this document are the property of Sitecore Copyright 2001 2012 Sitecore All rights reserved Page 32 Adaptive Print Studio XML Reference Line Continued Q sitecore Attribute Def Value s Default Value Explanation examples MLim l Miter limit Name l Only used internally ObjectStyle l An InDesign Object Style can be used for formatting effects When the nam

Download Pdf Manuals

image

Related Search

Related Contents

NEC MultiSync E243WMi  PDF: 719KB  MANUEL D`UTILISATION  DeLOCK Sub-D9 1.8m  Operating Instructions    American Standard Colony 0115.404 User's Manual  SCC1300 GYRO-COMBO DEMO KIT User Manual  USER MANUAL    

Copyright © All rights reserved.
Failed to retrieve file