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 "[m] zentrale | andre marthaler" <an...@m-zentrale.de> on 2002/06/27 16:18:33 UTC

AW: Block Absolute Postions --ERROR--

Using the Example, I get an "org.apache.fop.layout.BlockArea" Error on FOP
0.20.3

My Example:



<!-- Begin zelle_links -->
	<xsl:template match="zelle_links">
		<fo:block-container height="19cm" width="9cm" left="9cm" top="0cm"
position="absolute">
			<fo:block>
				<xsl:apply-templates />
			</fo:block>
		</fo:block-container>
	</xsl:template>
<!-- End zelle_links -->

Where is the Error??

Andre.


-----Ursprüngliche Nachricht-----
Von: Stefano Barella [mailto:stefano.barella@one.it]
Gesendet: Donnerstag, 27. Juni 2002 15:22
An: fop-user@xml.apache.org
Betreff: RE: Block Absolute Postions


Hello I'm Stefano, I found few days ago the way to create
A block in an absolute position. The correct way is to
Create a "block-container" in a fixed position and put
inside a block where you can put anything.
An example, inside a BODY :

<xsl:for-each select="BODY">
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="0cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >

                       <fo:block>
                       </fo:block>
                  </fo:block-container>
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="9cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >
                      <fo:block>
                      </fo:block>
                  </fo:block-container>

Bye
  Stefano


-----Original Message-----
From: [m] zentrale | andre marthaler [mailto:andre@m-zentrale.de]
Sent: Thursday, June 27, 2002 3:09 PM
To: fop-user@xml.apache.org
Subject: Block Absolute Postions


Hello,

i want define an fo:block on an Absolute Position, but i dont find any
Info about this in any Tutorial.

Can anybody help me, where i can define an absolute Position on my
page??

Thx a lot .

Andre.
[--My Bad English--]








RE: Block Absolute Postions --ERROR--

Posted by Stefano Barella <st...@one.it>.
In Attach an Example.

Bye 
  Stefano


-----Original Message-----
From: [m] zentrale | andre marthaler [mailto:andre@m-zentrale.de] 
Sent: Thursday, June 27, 2002 4:19 PM
To: fop-user@xml.apache.org
Subject: AW: Block Absolute Postions --ERROR--


Using the Example, I get an "org.apache.fop.layout.BlockArea" Error on
FOP 0.20.3

My Example:



<!-- Begin zelle_links -->
	<xsl:template match="zelle_links">
		<fo:block-container height="19cm" width="9cm" left="9cm"
top="0cm" position="absolute">
			<fo:block>
				<xsl:apply-templates />
			</fo:block>
		</fo:block-container>
	</xsl:template>
<!-- End zelle_links -->

Where is the Error??

Andre.


-----Ursprüngliche Nachricht-----
Von: Stefano Barella [mailto:stefano.barella@one.it]
Gesendet: Donnerstag, 27. Juni 2002 15:22
An: fop-user@xml.apache.org
Betreff: RE: Block Absolute Postions


Hello I'm Stefano, I found few days ago the way to create
A block in an absolute position. The correct way is to
Create a "block-container" in a fixed position and put
inside a block where you can put anything.
An example, inside a BODY :

<xsl:for-each select="BODY">
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="0cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >

                       <fo:block>
                       </fo:block>
                  </fo:block-container>
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="9cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >
                      <fo:block>
                      </fo:block>
                  </fo:block-container>

Bye
  Stefano


-----Original Message-----
From: [m] zentrale | andre marthaler [mailto:andre@m-zentrale.de]
Sent: Thursday, June 27, 2002 3:09 PM
To: fop-user@xml.apache.org
Subject: Block Absolute Postions


Hello,

i want define an fo:block on an Absolute Position, but i dont find any
Info about this in any Tutorial.

Can anybody help me, where i can define an absolute Position on my
page??

Thx a lot .

Andre.
[--My Bad English--]









RE: Block Absolute Postions --ERROR--

Posted by Stefano Barella <st...@one.it>.
May be:

Instead of "match",try to use "name".

Here below the code:

<!-- Begin zelle_links -->
	<xsl:template name="zelle_links">
		<fo:block-container height="19cm" width="9cm" left="9cm"
top="0cm" position="absolute">
			<fo:block>
				<xsl:apply-templates />
			</fo:block>
		</fo:block-container>
	</xsl:template>
<!-- End zelle_links -->

Bye
  Stefano



-----Original Message-----
From: [m] zentrale | andre marthaler [mailto:andre@m-zentrale.de] 
Sent: Thursday, June 27, 2002 4:19 PM
To: fop-user@xml.apache.org
Subject: AW: Block Absolute Postions --ERROR--


Using the Example, I get an "org.apache.fop.layout.BlockArea" Error on
FOP 0.20.3

My Example:



<!-- Begin zelle_links -->
	<xsl:template match="zelle_links">
		<fo:block-container height="19cm" width="9cm" left="9cm"
top="0cm" position="absolute">
			<fo:block>
				<xsl:apply-templates />
			</fo:block>
		</fo:block-container>
	</xsl:template>
<!-- End zelle_links -->

Where is the Error??

Andre.


-----Ursprüngliche Nachricht-----
Von: Stefano Barella [mailto:stefano.barella@one.it]
Gesendet: Donnerstag, 27. Juni 2002 15:22
An: fop-user@xml.apache.org
Betreff: RE: Block Absolute Postions


Hello I'm Stefano, I found few days ago the way to create
A block in an absolute position. The correct way is to
Create a "block-container" in a fixed position and put
inside a block where you can put anything.
An example, inside a BODY :

<xsl:for-each select="BODY">
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="0cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >

                       <fo:block>
                       </fo:block>
                  </fo:block-container>
                  <fo:block-container height="19cm"
                              width="9cm"
                              left="9cm"
                              top="0cm"
                              position="absolute" border-width="0.01mm"
border-style="solid" >
                      <fo:block>
                      </fo:block>
                  </fo:block-container>

Bye
  Stefano


-----Original Message-----
From: [m] zentrale | andre marthaler [mailto:andre@m-zentrale.de]
Sent: Thursday, June 27, 2002 3:09 PM
To: fop-user@xml.apache.org
Subject: Block Absolute Postions


Hello,

i want define an fo:block on an Absolute Position, but i dont find any
Info about this in any Tutorial.

Can anybody help me, where i can define an absolute Position on my
page??

Thx a lot .

Andre.
[--My Bad English--]