Re: Page rule origin in Xpress 4.11
Re: Page rule origin in Xpress 4.11
- Subject: Re: Page rule origin in Xpress 4.11
- From: Shane Stanley <email@hidden>
- Date: Fri, 25 Jan 2002 08:16:36 +1100
On 25/1/02 6:12 AM +1000, Michael Sullivan, email@hidden, wrote:
>
I'm writing a script to build documents in Xpress 4.11
>
>
I've noticed that setting the page rule origin doesn't work as i expect
>
it to.
>
>
I've tried setting it of the document, and of the master document, and
>
of the various pages involved -- when I set it for the document or the
>
master document, it seems to take in the sense that the document is
>
displayed with the origin in the appropriate place relative to the top
>
left of the page.
>
>
But in the script, I'm finding that specifications of position,
>
sometimes follow from the origin, and sometimes from the top left of the
>
page, no matter what the origin.
Not a problem I've seen. You should set it on the document object. Under
version 3.32 there was a problem in that text and picture boxes reflected
the origin but line boxes always reflected {0, 0}.
>
>
I finally settled on a workable workaround which is to do everything via
>
the top left of page/spread and not set the page rule origin until the
>
last bit of the script.
Saves a lot of maths along the way...
>
>
I've also noticed that I can't get Xpress to make documents with
>
automatic text box: false. I have to specifically delete the text box
>
from the master document if I want a master page that doesn't contain
>
one...
Set the properties of default document 1 to automatic text box: false before
you make the new document.
>
Oddly enough, the standard A-Master A page doesn't take the margins I
>
set (but uses those of the default document), but page 1 *does*, and so
>
does the page I create: "B-Grid". I have to go in later and change the
>
margins for A-Master A, or set those margins for the default document
>
before I create the new document.
Scripting master pages is something best attempted only when you're in an
extremely optimistic mood...
--
Shane Stanley, email@hidden