You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Rob Sargent <rs...@xmission.com> on 2010/11/18 18:45:51 UTC

static content ignored

Using fop-0.95, I appear to lose a region-before for a particular page
layout.  The headers appear on other pages.

Here are snippets from the fop.xml file generated on the way to pdf.

  <fo:layout-master-set>
    ... other masters ...
    <fo:simple-page-master page-width="8.5in" page-height="11in"
master-name="three-side-page-3" margin="0.0in 0.75in 0.375in 0.833in">
      <fo:region-body margin-right="3.6585in" margin-top="0.6in"
column-count="1" />
      <fo:region-before extent="0.50in" name="default-left-header" />
      <fo:region-end overflow="hidden" extent="3.2585in"
region-name="three-side-images-3" />
    </fo:simple-page-master>
    ...
    </fo:simple-page-master>
    <fo:page-sequence-master initial-page-number="1"
master-name="document-sequence">
      <fo:single-page-master-reference master-reference="chapter-open" />
      <fo:single-page-master-reference master-reference="two-up-page-2" />
      <fo:single-page-master-reference
master-reference="three-side-page-3" />
      <fo:single-page-master-reference master-reference="all-text-page-4" />
      ...   
    </fo:page-sequence-master>
    ... begin filling statics ...
    <fo:static-content flow-name="default-left-header">
      <fo:block background-color="silver" height="0.50in"
line-height="0.50in" text-indent="18pt">rjs--</fo:block>
    </fo:static-content>

But only this style of particular page master (three-side) refuses to
render the content of the region before.  Happens if I place an instance
of this style on the right also.  The headers (left and right) appear
fine on other page layouts.

If anyone can spot the flaw, please shout.

rjs



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


Re: static content ignored

Posted by Rob Sargent <rs...@xmission.com>.
Undoubtedly.  Thanks a ton.

Even though I tried to track down the waring "attribute name ignored",
there are just too many valid name= places.  A forest and tree problem.

On 11/19/2010 03:21 AM, Peter Hancock wrote:
> Hi Rob,
>
>   
>>      <fo:region-body margin-right="3.6585in" margin-top="0.6in"
>> column-count="1" />
>>      <fo:region-before extent="0.50in" name="default-left-header" />
>>     
> This should be region-name I believe?
>
>   
>>      <fo:region-end overflow="hidden" extent="3.2585in"
>>     
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>   

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


Re: static content ignored

Posted by Peter Hancock <pe...@gmail.com>.
Hi Rob,

>      <fo:region-body margin-right="3.6585in" margin-top="0.6in"
> column-count="1" />
>      <fo:region-before extent="0.50in" name="default-left-header" />
This should be region-name I believe?

>      <fo:region-end overflow="hidden" extent="3.2585in"

Pete

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