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 Moataz Omar <mo...@i12.com> on 2002/09/11 12:52:32 UTC

solid line

Dear All,

I want to draw a solid line in my output , I've used a table with a solid border to draw this line but I'm encountering problems in general with tables, so is there any other way to draw this line .

Best regards
Moataz 

Re: solid line

Posted by m....@gmx.de.
You can use an empty block or a block-container for example. Try this:

<fo:block-container top="5cm" left="5cm" width="1cm" height="1cm"
border-top-olor="black" border-top-style="solid"
border-top-width="0.1cm"></fo:block-container>

More possibilities would give you a instream-foreign-object. Then you could
produce a line or whatever with SVG.



> try with leaders, it's what you want I think.
> 
> 
>   ----- Original Message ----- 
>   From: Moataz Omar 
>   To: fop-user@xml.apache.org 
>   Sent: Wednesday, September 11, 2002 12:52 PM
>   Subject: solid line
> 
> 
>   Dear All,
> 
>   I want to draw a solid line in my output , I've used a table with a 
> solid border to draw this line but I'm encountering problems in general 
> with tables, so is there any other way to draw this line .
> 
>   Best regards
>   Moataz 
> 

-- 

Markus Schäffler
------------------------------------------------------

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


Re: solid line

Posted by Rodolphe VAGNER <ro...@eurodoc-sofilog.com>.
try with leaders, it's what you want I think.


  ----- Original Message ----- 
  From: Moataz Omar 
  To: fop-user@xml.apache.org 
  Sent: Wednesday, September 11, 2002 12:52 PM
  Subject: solid line


  Dear All,

  I want to draw a solid line in my output , I've used a table with a solid border to draw this line but I'm encountering problems in general with tables, so is there any other way to draw this line .

  Best regards
  Moataz 

Re: solid line

Posted by "netstyle.ch - Ch. Wysseier" <ch...@netstyle.ch>.
Hi

Try fo:leader which draws lines with a lot of varities... Have a look at
the following code snippet:

<fo:block><fo:leader leader-pattern="rule"
rule-thickness="1pt"/></fo:block>

More information about leaders and rules you can get at [1]

Regards

Christoph Wysseier
netstyle.ch GmbH

[1] http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html#d1e4023

----- Original Message -----
From: "Moataz Omar" <mo...@i12.com>
To: <fo...@xml.apache.org>
Sent: Wednesday, September 11, 2002 12:52 PM
Subject: solid line


Dear All,

I want to draw a solid line in my output , I've used a table with a
solid border to draw this line but I'm encountering problems in general
with tables, so is there any other way to draw this line .

Best regards
Moataz