neoRipEngine supports template features that can be used to completely customize the look and feel of the XML layout to the needs to integrate it with the image designs. The XML layouts are entirely XML format based to style the page. This document serves as an introduction to the methods available to customize the appearance and an introduction to how the XML layout is structured.


Layout customizations use a combination of XML and TJB. To achieve a particular requirement in the exported layout document file, you make changes in one or both of the following:

  • The XML, where is used to define the structure of the exported content, including features such as the image position and repetition, simulation objects (VirtualVision), headers, and footers (defined in TJB).
  • The TJB, where is used to define the style of elements in the exported content, such as font style, color sample patches, and the logo.
  • XML, TJB, and sub files (logo, fonts, other files) must be stored together in one folder location.


This page provides information about advanced XML and TJB layout customizations. The information below is for advanced users. Be aware that the advanced customizations described below require knowledge of certain parts of XML formatting. Customizations are not supported by Inedit, so our support engineers will not be able to help you with these modifications.


Inedit support for layout customization is limited. We support the mechanism for customizing the layout with XML, and we will help if the mechanism is broken or does not work as we say it should in our published examples. But, since custom XML offers potentially limitless possibilities, Inedit will not support issues caused by or related to layout customizations.


⚠️ Not supported:
  • Colored Background
  • Position object relative to another object


Examples of Customization

This section shows an example of typical customizations that you can add. (Sample layout is one of the default neoCatalog layouts Inedit_RealSize.xml).


Expected result

The layout contains information:

  • Page Size: A3 vertical.
  • 100% dimension.
  • Design and Colorway name.
  • Request Code.
  • User ID, Name, and email.
  • Date.
  • QR code with design and colorway name.
  • Logo.
  • Channel color patches.
  • Channel order.
  • Color name in the color library.
  • Customer.
  • 1 VirtualVision Simulation.


XML Layout Structure

In the XML layout, we are using:

  • Page size.
  • Design image in real size.
  • Colorway.
  • VirtualVision and texture.
  • Position of color patch samples and job info (TJB layout).

XML Sample
<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
<Source Id="2" URL="LogoNameColorsCT_RS.tjb" autoResolution="disable" SetID="0" />
<Source Id="3" URL="${SourceVirtualVision}" />
<Source Id="4" URL="Texture.tjb" autoResolution="disable" SetID="0" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image real size -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="29.7 cm" v="42 cm" />
</Object>
<!-- VirtualVision -->
<Object Id="1" SourceID="3" top="0 cm" left="0 cm" width="9 cm" insideWidth="1 rep" insideHeight="1 rep" maintainAspectRatio="true" height="42 cm">
<Transformations>
<VirtualVision previewMode="Normal" background="Image" shadows="yes">
<Collection Id="0" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="1" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="2" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
</VirtualVision>
</Transformations>
</Object>
<!-- Color Samples and Job Info -->
<Object Id="2" SourceID="2" MaintainAspectRatio="true" autoResizeMask="Top|Width" autoResizePropTop="1/1" autoResizePropWidth="1/1" autoPositionMask="Top" left="0 cm" top="40.7 cm" width="29.7 cm" />
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>



TJB Sample Layout Structure

In the TJB layout, we are using:

  • Design and Colorway name.
  • Request Code.
  • User ID, Name, and email.
  • Date.
  • QR code with design and colorway name.
  • Logo.
  • Channel color patches.
  • Channel order.
  • Color name in the color library.
  • Customer.
  • Texture for VirtualVision.


TJB color patches and Job info

<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage}" />
<Source Id="1" URL="${SourceXCM}" />
<Source Id="2" URL="SohoGothicPro-Medium.otf" />
<Source Id="3" URL="SohoGothicPro-Regular.otf" />
<Source Id="4" URL="SohoGothicPro-Light.otf" />
<Source Id="5" URL="Logo.tif" />
<Source Id="6" URL="X_block.tif" />
<Source Id="7" URL="logo_neoCatalogBlack.psd" />
</Sources>
<Layout>
<Page Id="0" width="${__auto_parentWidth__}">
<Objects>
<!-- PSD logo (logo_neoCatalogBlack.psd) -->
<Object Id="0" SourceID="7" left="0.2 cm" top="1.7 cm" width="1.5 cm" height="1cm" MaintainAspectRatio="true" />
<!-- Tif logo (Logo.tif) -->
<Object Id="1" SourceID="5" left="0.2 cm" top="2.2 cm" height="1cm" MaintainAspectRatio="true" />
<!-- Text placeholder Design -->
<Object Id="2" Left="5.8 cm" Top="0.1 cm">
<Transformations>
<Text alignment="left" fontid="2" fontsize="8" maxwidth="2 cm" value="Design:" />
</Transformations>
</Object>
<!-- Design Name -->
<Object Id="2" left="7.5 cm" top="0.1 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="8" maxwidth="2 cm" value="${SourceID@1.Colorations.Name}" />
</Transformations>
</Object>
<!-- Text placeholder Colorway -->
<Object Id="3" Left="5.8 cm" Top="0.5 cm">
<Transformations>
<Text alignment="left" fontid="2" fontsize="8" maxwidth="2 cm" value="Colorway:" />
</Transformations>
</Object>
<!-- Colorway Name -->
<Object Id="4" Left="7.5 cm" Top="0.5 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="8" maxwidth="2 cm" value="${SourceID@1.Colorations.Coloration@0.IData.__USR_CLR_CW_colorwayName}" />
</Transformations>
</Object>
<!-- Text placeholder Request -->
<Object Id="5" Left="5.8 cm" Top="0.9 cm">
<Transformations>
<Text alignment="left" fontid="2" fontsize="8" maxwidth="2 cm" value="Request:" />
</Transformations>
</Object>
<!-- Request Code -->
<Object Id="6" Left="7.5 cm" Top="0.9 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="8" maxwidth="2 cm" value="${RequestCode}" />
</Transformations>
</Object>
<!-- Text placeholder Customer -->
<Object Id="7" Left="5.8 cm" Top="1.4 cm">
<Transformations>
<Text alignment="left" fontid="2" fontsize="8" maxwidth="2 cm" value="Customer:" />
</Transformations>
</Object>
<!-- Customer Name -->
<Object Id="8" Left="7.5 cm" Top="1.4 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="8" maxwidth="3 cm" value="${CustomerDescription}" />
</Transformations>
</Object>
<!-- Color patches -->
<!-- Repetition and position of patches -->
<Repetition count="${sourceid@1.Colorations.Coloration@0.ColorationItem.count}" maxSize="${__auto_parentWidth__}" direction="H" height="1.4 cm" item="aColorationItem" left="10 cm" list="sourceid@1.Colorations.Coloration@0.ColorationItem" top="0.2 cm" width="2.4 cm">
<!-- Condition to hide background and disabled channel -->
<Conditional condition="${${aColorationItem}.channelNo}" equals="-2">
<Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="y">
<!-- Channel order -->
<Object Id="8" Left="0 cm" Top="0 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" maxwidth="0.2 cm" value="${${aColorationItem}.ChannelIndex}" />
</Transformations>
</Object>
<!-- Color name -->
<Object Id="9" left="0.4 cm" top="0.8 cm">
<Transformations>
<Text alignment="left" fontID="4" fontsize="7" maxwidth="1.5 cm" value="${${aColorationItem}.IData.name}" />
</Transformations>
</Object>
<!-- Patch gradient and size -->
<Object Id="10" left="0.4 cm" top="0 cm">
<Transformations>
<Gradient Space="${${aColorationItem}.filtergradient.space}" UseProfile="Y" Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}" height="0.8 cm" percentages="100" percentbase="100" width="1.5 cm">${${aColorationItem}.filtergradient.value}</Gradient>
</Transformations>
</Object>
</Conditional>
</Conditional>
<!-- Condition to show X image and hide color name when channel is disabled -->
<Conditional condition="${${aColorationItem}.channelNo}" equals="-2" negate="y">
<Object Id="8" Left="0 cm" Top="0 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" maxwidth="0.2 cm" value="${${aColorationItem}.ChannelIndex}" />
</Transformations>
</Object>
<Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="y">
<Object Id="9" left="0.4 cm" top="0.8 cm">
<Transformations>
<Text alignment="left" fontID="4" fontsize="7" maxwidth="1.5 cm" value="${${aColorationItem}.IData.name}" />
</Transformations>
</Object>
<Object Id="10" left="0.4 cm" top="0 cm">
<Transformations>
<Gradient Space="${${aColorationItem}.filtergradient.space}" UseProfile="Y" Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}" height="0.8 cm" percentages="100" percentbase="100" width="1.5 cm">${${aColorationItem}.filtergradient.value}</Gradient>
</Transformations>
</Object>
</Conditional>
<Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="n">
<Object Id="11" SourceID="6" left="0.4 cm" top="0 cm" MaintainAspectRatio="true" />
</Conditional>
</Conditional>
</Repetition>
<!-- Date -->
<Object Id="12" Left="2.2 cm" Top="0.1 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" maxwidth="4 cm" value="${System.Date.formater#%d/%m/%Y}" />
</Transformations>
</Object>
<!-- Time -->
<Object Id="13" Left="2.2 cm" Top="0.4 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" maxwidth="4 cm" value="${System.Time.formater#%H:%M:%S}" />
</Transformations>
</Object>
<!-- User ID -->
<Object Id="14" Left="2.2 cm" Top="0.85 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" maxwidth="5 cm" value="User ID: ${UserID}" />
</Transformations>
</Object>
<!-- User name -->
<Object Id="15" Left="2.2 cm" Top="1.15 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" value="${UserDescription}" />
</Transformations>
</Object>
<!-- User email -->
<Object Id="16" left="2.2 cm" Top="1.45 cm">
<Transformations>
<Text alignment="left" fontid="3" fontsize="7" value="${UserMail}" />
</Transformations>
</Object>
<!--QR CODE-->
<Object Id="17" width="1.5cm" height="1.5cm" left="0.2cm" top="0.2cm">
<Transformations>
<Code value="${SourceID@1.Colorations.Name} ${SourceID@1.Colorations.Coloration@0.Name}" type="QR" />
</Transformations>
</Object>
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
</Output>
</Job>


TJB texture for simulation

<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage}" />
<Source Id="1" URL="${SourceXCM}" />
</Sources>
<Layout>
<Page Id="0">
<Objects>
<Object Id="0" MaintainAspectRatio="true" SourceID="0">
<Transformations>
<Coloration coloID="1" index="0" />
</Transformations>
</Object>
</Objects>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
</Page>
</Layout>
<Output>
<ResolutionX>72</ResolutionX>
<ResolutionY>72</ResolutionY>
<ResolutionUnits>dpi</ResolutionUnits>
<Space>LAB</Space>
</Output>
</Job>



Practical examples

This section provides practical examples of sample customizations above, which are built object for object.


XML Layout

(A) Design Image

To apply the design image only, we are using the following object structure.


<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image real size -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="29.7 cm" v="42 cm" />
</Object>
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>

(B) Design Image and VirtualVision

We use the following structure object to apply the design image and virtual vision.

 
⚠️ Before you begin: To define the virtual vision transformation, the file Texture.tjb must exist, which includes the minimum requirements to apply image texture.



<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
<Source Id="2" URL="${SourceVirtualVision}" />
<Source Id="3" URL="Texture.tjb" autoResolution="disable" SetID="0" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image real size -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="29.7 cm" v="42 cm" />
</Object>
<!-- VirtualVision -->
<Object Id="1" SourceID="2" top="0 cm" left="0 cm" width="9 cm" insideWidth="1 rep" insideHeight="1 rep" maintainAspectRatio="true" height="42 cm">
<Transformations>
<VirtualVision previewMode="Normal" background="Image" shadows="yes">
<Collection Id="0" mode="Image" textureID="3" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="1" mode="Image" textureID="3" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="2" mode="Image" textureID="3" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
</VirtualVision>
</Transformations>
</Object>
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>


(C) Design Image, VirtualVision and Color sample patches with Job info (TJB)

To apply the design image, virtual vision, color patches plus Job info we are using the following structure object.

 

⚠️ If the design is RGB image (digital design), the color patches are not existing and are automatically hidden.



<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
<Source Id="2" URL="LogoNameColorsCT_RS.tjb" autoResolution="disable" SetID="0" />
<Source Id="3" URL="${SourceVirtualVision}" />
<Source Id="4" URL="Texture.tjb" autoResolution="disable" SetID="0" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image real size -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="29.7 cm" v="42 cm" />
</Object>
<!-- VirtualVision -->
<Object Id="1" SourceID="3" top="0 cm" left="0 cm" width="9 cm" insideWidth="1 rep" insideHeight="1 rep" maintainAspectRatio="true" height="42 cm">
<Transformations>
<VirtualVision previewMode="Normal" background="Image" shadows="yes">
<Collection Id="0" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="1" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="2" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
</VirtualVision>
</Transformations>
</Object>
<!-- Color Samples and Job Info -->
<Object Id="2" SourceID="2" MaintainAspectRatio="true" autoResizeMask="Top|Width" autoResizePropTop="1/1" autoResizePropWidth="1/1" autoPositionMask="Top" left="0 cm" top="40.7 cm" width="29.7 cm" />
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>


Repetition preview

To apply the design image in repetitions showing as a small preview, we need to create a TJB that includes the repetition information. 


TJB for Preview

<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage}" />
<Source Id="1" URL="${SourceXCM}" />
<Source Id="2" URL="SohoGothicPro-Regular.otf" />
</Sources>
<Layout>
<Page Id="0" width="15.7 cm" height="10.50 cm">
<Objects>
<!-- Preview object size with white border -->
<Object Id="0" Left="0 pt" Top="10.9 pt">
<Transformations>
<Gradient left="0 cm" top="0 cm" width="15.7 cm" height="10.9 cm" Percentages="100" Percentbase="100" Space="LAB32" UseProfile="N">100,0,0</Gradient>
</Transformations>
</Object>
<!-- Preview image with repetition width 160cm -->
<Object Id="2" SourceID="0" left="0.1 cm" top="0.1 cm" width="15.5 cm" height="10.5 cm" MaintainAspectRatio="true" repeat="rapport">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection}" fraction_high="${RapportInfoFraction_high}" fraction_low="${RapportInfoFraction_low}" />
<SourceOffset x="0" y="0" />
<SourceSize h="160 cm" v="5 cm" />
</Object>
</Objects>
</Page>
<!-- Text (optional) -->
<Page Id="1" width="15.7 cm" height="0.40 cm">
<Objects>
<Object Id="1" Left="12 cm" Top="0 cm">
<Transformations>
<Text alignment="left" fontid="2" fontsize="7" maxwidth="5 cm" value="Full Width Preview (160 cm)" />
</Transformations>
</Object>
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>16</BitsPerComponent>
</Output>
</Job>


As the preview is positioned on the right side of the layout, we need to keep the preview when resizing the layout. The attributes in this case are:

  • autoResizeMask="Left|Width" 
  • autoResizePropLeft="1/1" 
  • autoResizePropWidth="1/1"

XML with TJB preview position

<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
<Source Id="2" URL="LogoNameColorsCT_RS.tjb" autoResolution="disable" SetID="0" />
<Source Id="3" URL="${SourceVirtualVision}" />
<Source Id="4" URL="Texture.tjb" autoResolution="disable" SetID="0" />
<Source Id="5" URL="Preview.tjb" autoResolution="disable" SetID="0" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image real size -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="29.7 cm" v="42 cm" />
</Object>
<!-- Preview image with repetition width 160cm -->
<Object Id="1" MaintainAspectRatio="true" autoResizeMask="Left|Width" autoResizePropLeft="1/1" autoResizePropWidth="1/1" autoPositionMask="Left" SourceID="5" top="0 cm" left="22.8 cm" />
<!-- Virtual Vision (optional) -->
<Object Id="2" SourceID="3" top="0 cm" left="0 cm" width="9 cm" insideWidth="1 rep" insideHeight="1 rep" maintainAspectRatio="true" height="42 cm">
<Transformations>
<VirtualVision previewMode="Normal" background="Image" shadows="yes">
<Collection Id="0" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="1" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="2" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
</VirtualVision>
</Transformations>
</Object>
<!-- Color Samples and Job Info -->
<Object Id="3" SourceID="2" MaintainAspectRatio="true" autoResizeMask="Top|Width" autoResizePropTop="1/1" autoResizePropWidth="1/1" autoPositionMask="Top" left="0 cm" top="40.7 cm" width="29.7 cm" />
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>


Full Rapport

To apply the design image in full rapport.

 

⚠️ Fixed warning text to notice in embedded in the TJB that the image is not in real size.



<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage@0}" />
<Source Id="1" URL="${SourceXCM@0}" />
<Source Id="2" URL="LogoNameColorsCT_RS.tjb" autoResolution="disable" SetID="0" />
<Source Id="3" URL="${SourceVirtualVision}" />
<Source Id="4" URL="Texture.tjb" autoResolution="disable" SetID="0" />
</Sources>
<Layout>
<Page Id="0" width="29.7 cm" height="42 cm">
<Objects>
<!-- Image Full Rapport -->
<Object Id="0" MaintainAspectRatio="true" SourceID="0" autoResizeMask="Width|Height" autoResizePropHeight="1/1" height="42 cm" left="0 cm" repeat="rapport" rotation="0" top="0 cm" width="29.7 cm">
<Transformations>
<Coloration coloID="1" specialcolor="0" index="0" />
</Transformations>
<RapportInfo direction="${RapportInfoDirection@0}" fraction_high="${RapportInfoFraction_high@0}" fraction_low="${RapportInfoFraction_low@0}" />
<SourceOffset x="${SelectionRect_Origin_X@0}" y="${SelectionRect_Origin_Y@0}" />
<SourceSize h="1 rep" v="1 rep" />
</Object>
<!-- VirtualVision -->
<Object Id="1" SourceID="3" top="0 cm" left="0 cm" width="9 cm" insideWidth="1 rep" insideHeight="1 rep" maintainAspectRatio="true" height="42 cm">
<Transformations>
<VirtualVision previewMode="Normal" background="Image" shadows="yes">
<Collection Id="0" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="1" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
<Collection Id="2" mode="Image" textureID="4" rotation="0" offsetX="0" offsetY="0" scale="1.0" />
</VirtualVision>
</Transformations>
</Object>
<!-- Color Samples and Job Info -->
<Object Id="2" SourceID="2" MaintainAspectRatio="true" autoResizeMask="Top|Width" autoResizePropTop="1/1" autoResizePropWidth="1/1" autoPositionMask="Top" left="0 cm" top="40.7 cm" width="29.7 cm" />
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
<BitsPerComponent>8</BitsPerComponent>
<OutputEncodingOptions>
<CompressionType>lzw</CompressionType>
</OutputEncodingOptions>
</Output>
</Job>



Vertical color sample patches 

To apply the simple color patches in vertical order in TJB with the color name, channel order, design, and colorway name in XML.


TJB Sample

<?xml version="1.0" encoding="UTF-8"?>
<Job>
<Sources>
<Source Id="0" URL="${SourceImage}" />
<Source Id="1" URL="${SourceXCM}" />

<Source Id="2" URL="SohoGothicPro-Regular.otf" />

<Source Id="3" URL="Logo.tif" />

</Sources>
<Layout>
<Page Id="0">

<Objects>

<!-- Tif logo (Logo.tif) -->

<Object Id="0" SourceID="3" height="1 cm" left="0 cm" top="0.2 cm" width="3.5 cm" MaintainAspectRatio="true">

<Transformations></Transformations>

</Object>

<!-- Design and Colorway name -->

<Object Id="1" left="0.2 cm" top="1.5 cm">

<Transformations>

<Text alignment="left" fontID="2" fontsize="12" maxwidth="99 points" value="${sourceid@0.Document.name} ${sourceid@1.Colorations.Coloration@0.Name}" />

</Transformations>
</Object>

<!-- Color patches -->
<!-- Repetition and position of patches -->

<Repetition count="${sourceid@1.Colorations.Coloration@0.ColorationItem.count}" maxSize="${__auto_parentHeight__}" direction="V" height="2.2 cm" item="aColorationItem" left="0 points" list="sourceid@1.Colorations.Coloration@0.ColorationItem" top="3 cm" width="2.2 cm">

<!-- Condition to hide/show background color patch -->
<Conditional condition="${${aColorationItem}.channelNo}" equals="-2" negate="Y">
<!-- Condition to hide disabled channels -->
<Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="Y">
<Object Id="0" left="0.2 cm" top="0.1 cm">
<Transformations>
<Text fontID="2" fontsize="9" maxwidth="85.4 points" value="${${aColorationItem}.channelIndex}" />
</Transformations>
</Object>
<!-- Patch gradient, size and border -->
<Object Id="1" left="0.7 cm" top="0.2 cm">
<Transformations>
<Gradient Space="${${aColorationItem}.filtergradient.space}" UseProfile="Y" Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}" BorderColor="${${aColorationItem}.filterRGB#808080.value}" height="34 points" percentages="100" percentbase="100" width="34 points">${${aColorationItem}.filtergradient.value}</Gradient>
</Transformations>
</Object>
<!-- Color name -->
<Object Id="2" left="0.7 cm" top="1.5 cm">
<Transformations>
<Text alignment="left" fontID="2" fontsize="9" maxwidth="3 cm" value="${${aColorationItem}.IData.name}" />
</Transformations>
</Object>
</Conditional>
<!-- Condition to hide channel order when is disabled -->
<Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="N">
<Object Id="0" left="0.2 cm" top="0.1 cm">
<Transformations>
<Text fontID="2" fontsize="9" maxwidth="85.4 points" value="${${aColorationItem}.channelIndex}" />
</Transformations>
</Object>
</Conditional>
</Conditional>
</Repetition>
</Objects>
</Page>
</Layout>
<Output>
<Space>LAB</Space>
</Output>
</Job>

neoRipEngine v2.10