Software Secret Weapons™

 
Linguine Maps Frequently Asked Questions
by Pavel Simakov on 2006-03-18 12:18:59 under Linguine Maps, view comments
Bookmark and Share
 

Index  •  Intro  •  WSDL  •  Apache Ant  •  DTD's for XML  •  ObJectRelationalBridge  •  Hibernate  •  Gallery  •  FAQ  •  Help  •  JavaDoc  •  Download
Hibernate Configuration  •  Object Relational Impedance Mismatch  

It there a Windows utility to print diagrams on several regular pages (tiles)?

Yes! Here is how:

  • Open Microsoft Excel
  • Open Windows Explorer
  • Drag image file from Explorer and drop it into Excel
  • Go to Print Preview, select X pages wide by Y pages long in options
  • Hit print

Comment (1)

  • Comment by Michel — November 18, 2010 @ 9:39 am

    Linguine can be called from the command line through an Ant task. Here is a small ant file that creates an output from a demo.dtd file.

    <project name="Run" default="run" basedir=".">
    <taskdef name="ant2gif" classname="com.oy.shared.lm.ant.ANTtoGIFTask" classpath="lib/oy-lm-1.4.jar"/>
    <taskdef name="ojb2gif" classname="com.oy.shared.lm.ant.OJBtoGIFTask" classpath="lib/oy-lm-1.4.jar"/>
    <taskdef name="hbm2gif" classname="com.oy.shared.lm.ant.HBMtoGIFTask" classpath="lib/oy-lm-1.4.jar"/>
    <taskdef name="dtd2gif" classname="com.oy.shared.lm.ant.DTDtoGIFTask" classpath="lib/oy-lm-1.4.jar"/>
    <taskdef name="wsdl2gif" classname="com.oy.shared.lm.ant.WSDLtoGIFTask" classpath="lib/oy-lm-1.4.jar"/>

    <target name="run">
    <dtd2gif
    caption="Demo DTD 2.0"
    colors="orange, darkorange, black, black"
    inFile="demo.dtd"
    dotFile="demo.dot"
    outFile="demo.png"
    exeFile="/usr/bin/dot"
    />
    </target>
    </project>


Leave a comment


  Copyright © 2004-2012 by Pavel Simakov
any conclusions, recommendations, ideas, thoughts or the source code presented on this site are my own and do not reflect a official opinion of my current or past employers, partners or clients