On 2/1/2013 1:44 PM, Steve Fogel wrote:
Hi...

Thanks for the reply.

Would the list approach you suggest work if I want to have a title, then a 
leader (....) then a page # in the list body?

Wondering if there isn't a simpler way to just specify a minimum width for an 
inline area. Below is an example of what I want to output as a list of tables.

2-7   createTable Parameters ........................... 2-61
2-8   createView Parameters ............................ 2-62
2-9   createSynonym Parameters ......................... 2-63
2-10  createProc Parameters ............................ 2-64
2-11  createPackage Parameters.......................... 2-65

You can see that the table number at the left can have a varying width, but the area 
needs to be fixed width so the table names are all left-aligned. FOP 1.1 seems to 
ignore the width property for the <fo:inline> element.

Thx

Steve




Steve Fogel | Information Architect, Oracle Database | 650.506.4914
Oracle Server Technologies Information Development
500 Oracle Parkway | M/S 4op1126 | Redwood Shores, CA 94065


-----Original Message-----
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Sent: Friday, February 01, 2013 3:41 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: How get fixed width for inline FO ?

On 2/1/2013 2:37 AM, Steve Fogel wrote:
Hi, all..

I'd like to specify a fixed width for an inline FO with FOP 1.1. It's in a List 
of Tables in the front matter of a book. For each table in the list, table 
number area should be fixed width followed by table title.

I tried this (simplified):

<fo:block start-indent="3.5em">
        <fo:basic-link internal-destination="unique_id_24">
                <fo:inline 
inline-progression-dimension="6em">4-5</fo:inline>Summary of Commands
        </fo:basic-link>
</fo:block>

I also tried using just the width property instead of 
inline-progression-dimension.

Neither worked. Can someone help?

Thx

Steve

Hi, Steve-

I don't remember all the details but I did something like this when I needed 
fixed horizontal widths in the footer of a document:

<fo:list-block
      provisional-distance-between-starts="2.6in"
      provisional-label-separation="0">
<fo:list-item>

<fo:list-item-label end-indent="label-end()"> <fo:block></fo:block> 
</fo:list-item-label>

<fo:list-item-body start-indent="body-start()"> <fo:block></fo:block> 
</fo:list-item-body>

</fo:list-item>
</fo:list-block>

Hope it helps.

-Terence Bandoian


Hi, Steve-

Sorry I took so long to respond.  Have you looked at:

    http://xmlgraphics.apache.org/fop/examples.html

One of the examples included with FOP is leader.fo which "shows different uses of fo:leader, p.e. as rule or in table of content(s)". I haven't looked at the example and don't know if it works but, based on the description, it seems to be along the lines of what you're looking for. You may have to get creative to get exactly what you want.

Hope this helps.

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to