[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] adding additional info to headers and footers
You are on the right track. The 'header.table' template lays out the table rows and cells in the page header. You can customize that template to write a table to display whatever combination of rows and cells and spans you want, expressed in fo:table elements. Each fo:table-cell must have a call to the 'header.content' template, and communicate that cell's location in the table through the 'position' param. The 'left', 'center', 'right' values are just strings that are matched in the default header.content template. You can add your own position values like 'row1col2', as long as you have that position param value matched in your customized header.content template to fill in the cell. The header.content template is just a big xsl:choose statement, where each xsl:when statement generates content for its particular combination of position, pageclass, and sequence parameters. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Ben Adams" <benjadams@yahoo.com> To: <docbook-apps@lists.oasis-open.org> Sent: Saturday, September 25, 2004 12:38 AM Subject: Re: [docbook-apps] adding additional info to headers and footers > I'm sorry, I forgot some info- > > I am working in docbook, using the xsltproc and fop > tools to create pdf output. > > I am currently trying to show my boss that I can use > docbook to write my design docs instead of MS Word, > and one of his requests was "make it look the same" as > what we have now. > > I have played around with customizing the > header.content and header.table templates, and noticed > that it seems there is only support for "left, center, > or right" - but I don't know if this is something that > I can customize or not. > > Thanks for the help! > > Ben > > > --- Ben Adams <benjadams@yahoo.com> wrote: > > > Hello, > > > > Is it possible to have a header table (page header) > > with 4 or more cells in it? > > > > Something like: > > > > ________________________________________ > > | | Cell 2 | Cell 3 | > > | Cell |______________________|__________| > > | 1 | Cell 4 | Cell 5 | > > |______|______________________|__________| > > > > > > > > Thanks, > > Ben > > > > > > > > > > > > _______________________________ > > Do you Yahoo!? > > Declare Yourself - Register online to vote today! > > http://vote.yahoo.com > > > > > > > __________________________________ > Do you Yahoo!? > Y! Messenger - Communicate in real time. Download now. > http://messenger.yahoo.com > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]