|
Subject: Forms style headers From: "Claes Bergman (BCS)" <Claes.Bergman@xxxxxxxxxxxxxxx> Date: Thu, 08 Jul 1999 21:16:49 +0200 |
Hi!
I have just started to explore DSSSL, and have run into some problems.
At Ericsson we use a forms style header in almost every kind of document. I have tried to implement this in DSSSL using Jade 1.2.1 (Windows binary distr., RTF backend, viewed in Word 97).
I tried to put a table in the left header of simple-page-sequence (some newbie code enclosed at the end of post), but the table appeared 4(!) times at the beginning of the area below instead. I have tried with different header margins and table sizes.
When placing the table outside the header it appears as expected, once :-).
My questions:
1. Is it possible (for someone with more experience) to place a table in the header?
2. If not, is it possible to place a table first on every page by some other means?
3. If I have to represent the header form as graphics (like we do in FOSIs), how do I place text on top of the graphic?
Best Regards
Claes Bergman
Ericsson Business Consulting
claes.bergman@xxxxxxxxxxxxxxx
-----------------------------------
(define eri-header-para
(lambda (i_sosofo)
(make paragraph
line-spacing: 6pt
quadding: 'start
font-size: 6pt
font-family-name: "Arial"
i_sosofo)))
(define (make-header #!optional (nd (current-node)))
(make table
table-width: 17cm
table-border: #t
(make table-part
(make table-column)
(make table-cell
(make sequence
(eri-header-para (literal "No."))
(process-first-descendant (normalize "DOC-NO")))))))
(element SEIF
(make simple-page-sequence
page-width: 21cm
page-height: 29.7cm
left-margin: 2cm
right-margin: 2cm
top-margin: 1cm
bottom-margin: 2.8cm
left-header: (make-header)
(process-children)))
(element DOC-NO
(make paragraph
line-spacing: 8pt
font-weight: 'bold
font-posture: 'normal
font-family-name: "Arial"
font-size: 8pt
quadding: 'start))
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Transformation language (Forget my , Jose Luis Sierra Rod | Thread | RE: Forms style headers, Frank A. Christoph |
| Transformation language (Forget my , Jose Luis Sierra Rod | Date | RE: Forms style headers, Frank A. Christoph |
| Month |