idmllib tutorial 2

Upload: mariaelena910

Post on 04-Jun-2018

223 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/13/2019 IDMLlib Tutorial 2

    1/11

    extract. process. automate.

    For more Information please visit http://idmllib.com

    Author: Oliver Huser Lesson 2: IDML Basics

    mailto:[email protected]:[email protected]://idmllib.com/http://idmllib.com/
  • 8/13/2019 IDMLlib Tutorial 2

    2/11

    Content Some IDML Basics so you get a feeling on how toaccess different properties

    Targetskills & Prerequisites

    Tutorial #1 - Setup your JAVA IDE

    Need some JAVA knowledge Optional: InDesign CS 4 to create Demo Files

    Dont worry. Get Demoles from http://idmllib.com !

    Why ? You want to check out the IDMLlib in a few minutes You want to get some pointers regarding IDML

    2

    About ?

    http://idmllib.com/http://idmllib.com/
  • 8/13/2019 IDMLlib Tutorial 2

    3/11

    Image 1: A simple InDesign Document

    Export an IDML File - Part 1

    3

  • 8/13/2019 IDMLlib Tutorial 2

    4/11

    Image 2: Export IDML File

    Export an IDML Part 2

    4

  • 8/13/2019 IDMLlib Tutorial 2

    5/11

    Unravelling the IDML le

    5

    Format of the IDML File The created le is nothing but a ZIP Container In order to see the content just unzip it!

    You do not need this step to work with the IDML File!Its just so you get an idea about the structure!

    Attention Mac User: The normal Desktop Unzip App doesnot work! Simply open up a Terminal and use the unzip command

  • 8/13/2019 IDMLlib Tutorial 2

    6/11

    Image 3: IDML Content

    IDML Content

    6

  • 8/13/2019 IDMLlib Tutorial 2

    7/11

    Structure explained

    7

    designmap.xml This is the backbone of the InDesign Document The designmap is the gateway to all other IDML les

    inside the IDML container.

    Folder: Spreads

    Contains all spreads of the whole document, everyspread has its own le. A spread contains one or more pages based on thelayout of the document. The spread contains all PageItems that are on itscontained pages The most important PageItems are TextFrames,Rectangles, Ovals, GraphicLines and

  • 8/13/2019 IDMLlib Tutorial 2

    8/11

    Folder: Stories A Story is text that is assigned to a PageItem. Contains all stories of the whole document, every storyhas its own le.

    Folder: MasterSpread, Contains all MasterSpreads, MasterSpreads are used astemplate for other spreads and can contain PageItems

    as well.

    Folder Resources Contains Styles/Graphic/Fonts/Preferences Folder XML and Mapping Contains XML related stuff.

    8

  • 8/13/2019 IDMLlib Tutorial 2

    9/11

    Image: 1 Preferences XML

    Example: Preferences.xml

    9

  • 8/13/2019 IDMLlib Tutorial 2

    10/11

    What have you learned ?

    Export / Create IDML Files Access IDML Containers Brief overview of the structure

    you will need this later on when we start coding!

    Yes we will nally do some coding in the next tutorial!

    10

  • 8/13/2019 IDMLlib Tutorial 2

    11/11

    Ressources

    11

    For more information watch the video visit http://idmllib.com follow us on Twitter http://twitter.com/IDMLlib

    write an email [email protected]

    For more dev info contact Mr. Fink instead: [email protected] Yes we were not kidding when we claim the IDMLlib

    is easy to use !

    Move on to Tutorial # 3: Your rst IDMLlib Project

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]://twitter.com/IDMLlibhttp://twitter.com/IDMLlibhttp://idmllib.com/http://idmllib.com/