--- In [email protected], "Josh Rosenthal" <[EMAIL PROTECTED]> wrote:

> 0] Currently I'm hitting two show stoppers.
>    a]I have things somewhat automated via a workaround with an excel
> spreadsheet, but the Layout Naming issue is causing problems.  A
solution
> for this will allow the Maptitude side of things to almost fully
automate.

Right-- the layout naming is one of the "known" issues that I was
hoping someone might be able to help with. In a nutshell, here is the
problem:

If you have PDFCreator set as the default printer and you run this code:

  CreateLayout( "Original title", null)
  // Code to insert annotations here
  DrawLayout( null)
  PrintLayout( 1,1)

You get a layout with "Original Title" in the title bar; PDFCreator
creates a PDF called "Original title" and a default filename of
"Original title.PDF". So far, so good.

*BUT* if you have PDFCreator set as the default printer and you run
this code:


  CreateLayout( "Original title", null)
  // Code to insert annotations here
  SetLayoutOptions( null, {{"Title", "New Title"}})
  DrawLayout( null)
  PrintLayout( 1,1)

You get a layout with "New Title" in the title bar; BUT PDFCreator
STILL creates a PDF called "Original title" and a default filename of
"Original title.PDF". 

Maptitude clearly knows that "New Title" is the layout's correct
title, as shown in the title bar (and in the dbox if you Select
File... Properties in the GUI). But "Original Title" is still being
stored someplace... and being passed to PDFCreator!

Anyone have any insight?

P.S. Once we solve this problem, there is no reason why Maptitude
can't be programmed to autogenerate the java code. 





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Maptitude/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to