Hi Eric,

Sorry for the late reply. You may be able to achieve something by using
absolutely positioned block-containers in the region-before. Have a look
at the attached FO file.

HTH,
Vincent


Amick, Eric wrote:
> That's very close to what I need; the problem is that I want the box to
> have a straight line across the bottom, and that doesn't happen if the
> columns are not all the same size. Even putting an empty block with
> span="all" afterwards doesn't absolutely guarantee that.
> 
> Eric Amick   Systems Engineer II
> Legislative Computer Systems
> 
>> -----Original Message-----
>> From: bonekrusher [mailto:[email protected]]
>> Sent: Sunday, June 6, 2010 14:58
>> To: [email protected]
>> Subject: Re: Box around multi-column text?
>>
>>
>> Hi,
>>
>> You can put a border on your fo:block...
>>
>>
>>
>> Amick, Eric wrote:
>>> I'm sending this question here on the off chance there is something
>>> peculiar to FOP in the solution. I am trying to have some flowing
>>> multi-column text that has a box around the entire text, i.e., on
> the
>>> before-, after-, start-, and end-edges. Is this even possible in FO?
>>>
>>>
>>>
>>> Eric Amick   Systems Engineer II
>>>
>>> U.S. House of Representatives  |  Office of the Clerk  |
> Legislative
>>> Computer Systems
>>> Office: 202-225-1182
>>>
>>> http://clerk.house.gov <http://clerk.house.gov/>
>>>
>>>
>>> Please consider the environment before printing this email.
>>>
>>>
>>>
>>>
>>>
>> --
>> View this message in context: http://old.nabble.com/Box-around-multi-
>> column-text--tp28783284p28793179.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
<?xml version="1.0" standalone="no"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="page"
      page-height="420pt" page-width="320pt" margin="10pt">
      <fo:region-body column-count="2" column-gap="10pt"/>
      <fo:region-before extent="0"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="page">
    <fo:static-content flow-name="xsl-region-before">
      <fo:block-container absolute-position="absolute" top="0" left="0"
        width="145pt" height="400pt" border="1pt solid black">
        <fo:block/>
      </fo:block-container>
      <fo:block-container absolute-position="absolute" top="0" right="0"
        width="145pt" height="400pt" border="1pt solid black">
        <fo:block/>
      </fo:block-container>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body" font-size="10pt">
      <fo:block space-before="10pt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In 
        in egestas nisi. Etiam at ante eget velit placerat ullamcorper. Suspendisse potenti. Nulla 
        posuere turpis ac orci placerat vitae lacinia lectus tincidunt. Duis ultricies diam et 
        lectus tempor aliquam. Mauris ligula arcu, hendrerit imperdiet ultrices laoreet, gravida sit 
        amet metus. Donec vehicula iaculis condimentum. Sed eget tortor nec libero venenatis 
        tincidunt.</fo:block>
      <fo:block space-before="10pt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In 
        in egestas nisi. Etiam at ante eget velit placerat ullamcorper. Suspendisse potenti. Nulla 
        posuere turpis ac orci placerat vitae lacinia lectus tincidunt. Duis ultricies diam et 
        lectus tempor aliquam. Mauris ligula arcu, hendrerit imperdiet ultrices laoreet, gravida sit 
        amet metus. Donec vehicula iaculis condimentum. Sed eget tortor nec libero venenatis 
        tincidunt.</fo:block>
      <fo:block space-before="10pt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In 
        in egestas nisi. Etiam at ante eget velit placerat ullamcorper. Suspendisse potenti. Nulla 
        posuere turpis ac orci placerat vitae lacinia lectus tincidunt. Duis ultricies diam et 
        lectus tempor aliquam. Mauris ligula arcu, hendrerit imperdiet ultrices laoreet, gravida sit 
        amet metus. Donec vehicula iaculis condimentum. Sed eget tortor nec libero venenatis 
        tincidunt.</fo:block>
      <fo:block space-before="10pt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In 
        in egestas nisi. Etiam at ante eget velit placerat ullamcorper. Suspendisse potenti. Nulla 
        posuere turpis ac orci placerat vitae lacinia lectus tincidunt. Duis ultricies diam et 
        lectus tempor aliquam. Mauris ligula arcu, hendrerit imperdiet ultrices laoreet, gravida sit 
        amet metus. Donec vehicula iaculis condimentum. Sed eget tortor nec libero venenatis 
        tincidunt.</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to