Re: Is there a master reference for FOP functionality?

2011-12-14 Thread Pascal Sancho
Hi Theresa,

FOP currently doesn't implement clip property. See compliance page at [1].
That said, there is a SGV alternative, try this (replacing XSLT variable
with appropriate values):


  http://www.w3.org/2000/svg";
  xmlns:xlink="http://www.w3.org/1999/xlink";
  width="{$clipWidthWithUnit}" height="{$clipHeightWithUnit}"
  viewBox="{$clipX} {$clipY} {$clipWidth} {$clipHeight}">

  


  



[1] http://xmlgraphics.apache.org/fop/compliance.html#fo-property-clip

Le 13/12/2011 12:42, Theresa Jayne Forster a écrit :
> Actually my question stems from 3 days of trying to find out what the
> valid options for the   clip parameter are
> 
>  
> 
> I found
> 
>  
> 
> Clip =”auto”
> 
> Clip=” ‘path’ ‘M0 0 L 0 100 L 100 100 L 100 0 z’ ‘noscale’”
> 
>  
> 
> Whereas in the end what I needed was in the block-container surrounding
> it I needed to add overflow=”hidden”
> 
> But I also want to clip stuff based on a path  so I can have rounded
> corners and such
> 
>  
> 
>  
> 
> 
> Theresa Forster
> 
> Senior Software Developer
> 
>  
> 
> *From:*Luis Bernardo [mailto:lmpmberna...@gmail.com]
> *Sent:* 13 December 2011 10:21
> *To:* fop-users@xmlgraphics.apache.org
> *Subject:* Re: Is there a master reference for FOP functionality?
> 
>  
> 
>  
> 
> Sorry, I think you probably meant FOP, not FO. Not everything in the
> spec is implemented in FOP, and I don't think there is a document that
> tells you what is implemented and what is not. Just by trying you will know.
> 
>  
> 
> Luis
> 
> On Tue, Dec 13, 2011 at 10:15 AM, Luis Bernardo  <mailto:lmpmberna...@gmail.com>> wrote:
> 
> http://www.w3.org/TR/xsl/
> 
>  
> 
>  
> 
> On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster
> mailto:ther...@inbrand.co.uk>> wrote:
> 
> I am trying to learn all the options available to FOP but there doesn’t
> seem to be a reference that tells you everything,
> 
> The w3schools XSL-FO reference tells you what parameters are available
> to a call. For instance, external-graphic below.
> 
> But what I cant find is what are the valid options for the properties,
> ie clip in the example below.
> 
> Is there a reference or list you can use for these?
> 
>  
> 
> Kindest regards
> 
>  
> 
> 
> Theresa Forster
> 
> Senior Software Developer
> 
>  
> 
> *XSL-FO external-graphic Object*
> 
> 
> Syntax
> 
> 
>   
> 
> 
> 
> Properties
> 
> *Property [A-J]*
> 
>   
> 
> *Property [K-Z]*
> 
> alignment-adjust
> 
>   
> 
> keep-with-next <http://www.w3schools.com/xslfo/prop_keep-with-next.asp>
> 
> alignment-baseline
> 
>   
> 
> keep-with-previous
> <http://www.w3schools.com/xslfo/prop_keep-with-previous.asp>
> 
> azimuth <http://www.w3schools.com/xslfo/prop_azimuth.asp>
> 
>   
> 
> language <http://www.w3schools.com/xslfo/prop_language.asp>
> 
> background-attachment
> <http://www.w3schools.com/xslfo/prop_background-attachment.asp>
> 
>   
> 
> left <http://www.w3schools.com/xslfo/prop_left_right.asp>
> 
> background-color <http://www.w3schools.com/xslfo/prop_background-color.asp>
> 
>   
> 
> line-height <http://www.w3schools.com/xslfo/prop_line-height.asp>
> 
> background-image <http://www.w3schools.com/xslfo/prop_background-image.asp>
> 
>   
> 
> margin-bottom <http://www.w3schools.com/xslfo/prop_margin.asp>
> 
> background-repeat
> <http://www.w3schools.com/xslfo/prop_background-repeat.asp>
> 
>   
> 
> margin-left <http://www.w3schools.com/xslfo/prop_margin.asp>
> 
> background-position-horizontal
> 
>   
> 
> margin-right <http://www.w3schools.com/xslfo/prop_margin.asp>
> 
> background-position-vertical
> 
>   
> 
> margin-top <http://www.w3schools.com/xslfo/prop_margin.asp>
> 
> baseline-shift
> 
>   
> 
> overflow
> 
> block-progression-dimension
> 
>   
> 
> padding-after <http://www.w3schools.com/xslfo/prop_padding.asp>
> 
> border-after-color <http://www.w3schools.com/xslfo/prop_border_color.asp>
> 
>   
> 
> padding-before <http://www.w3schools.com/xslfo/prop_padding.asp>
> 
> border-after-style <http://www.w3schools.com/xslfo/prop_border_style.asp>
> 
>   
> 
> padding-bottom <http://www.w3schools.com/xslfo/prop_padding.asp>
> 
> border-after-width <http://www.w3schools.com/xslfo/prop_border_width.asp>

RE: Is there a master reference for FOP functionality?

2011-12-13 Thread Theresa Jayne Forster
Actually my question stems from 3 days of trying to find out what the valid
options for the   clip parameter are

 

I found 

 

Clip ="auto"

Clip=" 'path' 'M0 0 L 0 100 L 100 100 L 100 0 z' 'noscale'"

 

Whereas in the end what I needed was in the block-container surrounding it I
needed to add overflow="hidden"

But I also want to clip stuff based on a path  so I can have rounded corners
and such

 

 


Theresa Forster

Senior Software Developer



 

From: Luis Bernardo [mailto:lmpmberna...@gmail.com] 
Sent: 13 December 2011 10:21
To: fop-users@xmlgraphics.apache.org
Subject: Re: Is there a master reference for FOP functionality?

 

 

Sorry, I think you probably meant FOP, not FO. Not everything in the spec is
implemented in FOP, and I don't think there is a document that tells you
what is implemented and what is not. Just by trying you will know.

 

Luis

On Tue, Dec 13, 2011 at 10:15 AM, Luis Bernardo 
wrote:

http://www.w3.org/TR/xsl/

 

 

On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster
 wrote:

I am trying to learn all the options available to FOP but there doesn't seem
to be a reference that tells you everything, 

The w3schools XSL-FO reference tells you what parameters are available to a
call. For instance, external-graphic below. 

But what I cant find is what are the valid options for the properties, ie
clip in the example below.

Is there a reference or list you can use for these?

 

Kindest regards

 


Theresa Forster

Senior Software Developer

 

XSL-FO external-graphic Object


Syntax



  
 


Properties


Property [A-J]

Property [K-Z]


alignment-adjust

keep-with-next <http://www.w3schools.com/xslfo/prop_keep-with-next.asp> 


alignment-baseline

keep-with-previous
<http://www.w3schools.com/xslfo/prop_keep-with-previous.asp> 


azimuth <http://www.w3schools.com/xslfo/prop_azimuth.asp> 

language <http://www.w3schools.com/xslfo/prop_language.asp> 


background-attachment
<http://www.w3schools.com/xslfo/prop_background-attachment.asp> 

left <http://www.w3schools.com/xslfo/prop_left_right.asp> 


background-color <http://www.w3schools.com/xslfo/prop_background-color.asp> 

line-height <http://www.w3schools.com/xslfo/prop_line-height.asp> 


background-image <http://www.w3schools.com/xslfo/prop_background-image.asp> 

margin-bottom <http://www.w3schools.com/xslfo/prop_margin.asp> 


background-repeat
<http://www.w3schools.com/xslfo/prop_background-repeat.asp> 

margin-left <http://www.w3schools.com/xslfo/prop_margin.asp> 


background-position-horizontal

margin-right <http://www.w3schools.com/xslfo/prop_margin.asp> 


background-position-vertical

margin-top <http://www.w3schools.com/xslfo/prop_margin.asp> 


baseline-shift

overflow


block-progression-dimension

padding-after <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-after-color <http://www.w3schools.com/xslfo/prop_border_color.asp> 

padding-before <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-after-style <http://www.w3schools.com/xslfo/prop_border_style.asp> 

padding-bottom <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-after-width <http://www.w3schools.com/xslfo/prop_border_width.asp> 

padding-end <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-before-color <http://www.w3schools.com/xslfo/prop_border_color.asp> 

padding-left <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-before-style <http://www.w3schools.com/xslfo/prop_border_style.asp> 

padding-right <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-before-width <http://www.w3schools.com/xslfo/prop_border_width.asp> 

padding-start <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-bottom-color <http://www.w3schools.com/xslfo/prop_border_color.asp> 

padding-top <http://www.w3schools.com/xslfo/prop_padding.asp> 


border-bottom-style <http://www.w3schools.com/xslfo/prop_border_style.asp> 

pause-after <http://www.w3schools.com/xslfo/prop_pause.asp> 


border-bottom-width <http://www.w3schools.com/xslfo/prop_border_width.asp> 

pause-before <http://www.w3schools.com/xslfo/prop_pause.asp> 


border-end-color <http://www.w3schools.com/xslfo/prop_border_color.asp> 

pitch <http://www.w3schools.com/xslfo/prop_pitch.asp> 


border-end-style <http://www.w3schools.com/xslfo/prop_border_style.asp> 

pitch-range <http://www.w3schools.com/xslfo/prop_pitch-range.asp> 


border-end-width <http://www.w3schools.com/xslfo/prop_border_width.asp> 

play-during <http://www.w3schools.com/xslfo/prop_play-during.asp> 


border-left-color <http://www.w3schools.com/xslfo/prop_border_color.asp> 

relative-position
<http://www.w3schools.com/xslfo/prop_relative-position.asp> 


border-le

RE: Is there a master reference for FOP functionality?

2011-12-13 Thread Jan Driesen
Dear Theresa,


The fop website has a "compliance" page: 
http://xmlgraphics.apache.org/fop/compliance.html


Best regards,


Jan Driesen
IT office
Brepols Publishers NV
jan.drie...@brepols.net

From: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Sent: dinsdag 13 december 2011 11:21
To: fop-users@xmlgraphics.apache.org
Subject: Re: Is there a master reference for FOP functionality?


Sorry, I think you probably meant FOP, not FO. Not everything in the spec is 
implemented in FOP, and I don't think there is a document that tells you what 
is implemented and what is not. Just by trying you will know.

Luis
On Tue, Dec 13, 2011 at 10:15 AM, Luis Bernardo 
mailto:lmpmberna...@gmail.com>> wrote:
http://www.w3.org/TR/xsl/


On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster 
mailto:ther...@inbrand.co.uk>> wrote:
I am trying to learn all the options available to FOP but there doesn't seem to 
be a reference that tells you everything,
The w3schools XSL-FO reference tells you what parameters are available to a 
call. For instance, external-graphic below.
But what I cant find is what are the valid options for the properties, ie clip 
in the example below.
Is there a reference or list you can use for these?

Kindest regards


Theresa Forster
Senior Software Developer

XSL-FO external-graphic Object
Syntax

  

Properties
Property [A-J]

Property [K-Z]

alignment-adjust

keep-with-next<http://www.w3schools.com/xslfo/prop_keep-with-next.asp>

alignment-baseline

keep-with-previous<http://www.w3schools.com/xslfo/prop_keep-with-previous.asp>

azimuth<http://www.w3schools.com/xslfo/prop_azimuth.asp>

language<http://www.w3schools.com/xslfo/prop_language.asp>

background-attachment<http://www.w3schools.com/xslfo/prop_background-attachment.asp>

left<http://www.w3schools.com/xslfo/prop_left_right.asp>

background-color<http://www.w3schools.com/xslfo/prop_background-color.asp>

line-height<http://www.w3schools.com/xslfo/prop_line-height.asp>

background-image<http://www.w3schools.com/xslfo/prop_background-image.asp>

margin-bottom<http://www.w3schools.com/xslfo/prop_margin.asp>

background-repeat<http://www.w3schools.com/xslfo/prop_background-repeat.asp>

margin-left<http://www.w3schools.com/xslfo/prop_margin.asp>

background-position-horizontal

margin-right<http://www.w3schools.com/xslfo/prop_margin.asp>

background-position-vertical

margin-top<http://www.w3schools.com/xslfo/prop_margin.asp>

baseline-shift

overflow

block-progression-dimension

padding-after<http://www.w3schools.com/xslfo/prop_padding.asp>

border-after-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

padding-before<http://www.w3schools.com/xslfo/prop_padding.asp>

border-after-style<http://www.w3schools.com/xslfo/prop_border_style.asp>

padding-bottom<http://www.w3schools.com/xslfo/prop_padding.asp>

border-after-width<http://www.w3schools.com/xslfo/prop_border_width.asp>

padding-end<http://www.w3schools.com/xslfo/prop_padding.asp>

border-before-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

padding-left<http://www.w3schools.com/xslfo/prop_padding.asp>

border-before-style<http://www.w3schools.com/xslfo/prop_border_style.asp>

padding-right<http://www.w3schools.com/xslfo/prop_padding.asp>

border-before-width<http://www.w3schools.com/xslfo/prop_border_width.asp>

padding-start<http://www.w3schools.com/xslfo/prop_padding.asp>

border-bottom-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

padding-top<http://www.w3schools.com/xslfo/prop_padding.asp>

border-bottom-style<http://www.w3schools.com/xslfo/prop_border_style.asp>

pause-after<http://www.w3schools.com/xslfo/prop_pause.asp>

border-bottom-width<http://www.w3schools.com/xslfo/prop_border_width.asp>

pause-before<http://www.w3schools.com/xslfo/prop_pause.asp>

border-end-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

pitch<http://www.w3schools.com/xslfo/prop_pitch.asp>

border-end-style<http://www.w3schools.com/xslfo/prop_border_style.asp>

pitch-range<http://www.w3schools.com/xslfo/prop_pitch-range.asp>

border-end-width<http://www.w3schools.com/xslfo/prop_border_width.asp>

play-during<http://www.w3schools.com/xslfo/prop_play-during.asp>

border-left-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

relative-position<http://www.w3schools.com/xslfo/prop_relative-position.asp>

border-left-style<http://www.w3schools.com/xslfo/prop_border_style.asp>

richness<http://www.w3schools.com/xslfo/prop_richness.asp>

border-left-width<http://www.w3schools.com/xslfo/prop_border_width.asp>

right<http://www.w3schools.com/xslfo/prop_left_right.asp>

border-right-color<http://www.w3schools.com/xslfo/prop_border_color.asp>

role<http://ww

Re: Is there a master reference for FOP functionality?

2011-12-13 Thread Luis Bernardo
Sorry, I think you probably meant FOP, not FO. Not everything in the spec
is implemented in FOP, and I don't think there is a document that tells you
what is implemented and what is not. Just by trying you will know.

Luis

On Tue, Dec 13, 2011 at 10:15 AM, Luis Bernardo wrote:

> http://www.w3.org/TR/xsl/
>
>
> On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster <
> ther...@inbrand.co.uk> wrote:
>
>> I am trying to learn all the options available to FOP but there doesn’t
>> seem to be a reference that tells you everything, 
>>
>> The w3schools XSL-FO reference tells you what parameters are available to
>> a call. For instance, external-graphic below. 
>>
>> But what I cant find is what are the valid options for the properties, ie
>> clip in the example below.
>>
>> Is there a reference or list you can use for these?
>>
>> ** **
>>
>> Kindest regards
>>
>> ** **
>>
>>
>> Theresa Forster
>>
>> Senior Software Developer
>>
>> 
>>
>> ** **
>>
>> *XSL-FO external-graphic Object*
>> Syntax
>>
>> 
>>   
>>  
>> Properties
>>
>> *Property [A-J]***
>>
>> *Property [K-Z]***
>>
>> alignment-adjust
>>
>> keep-with-next **
>> **
>>
>> alignment-baseline
>>
>> keep-with-previous
>> 
>>
>> azimuth 
>>
>> language 
>>
>> background-attachment
>> 
>>
>> left 
>>
>> background-color
>> 
>>
>> line-height 
>>
>> background-image
>> 
>>
>> margin-bottom 
>>
>> background-repeat
>> 
>>
>> margin-left 
>>
>> background-position-horizontal
>>
>> margin-right 
>>
>> background-position-vertical
>>
>> margin-top 
>>
>> baseline-shift
>>
>> overflow
>>
>> block-progression-dimension
>>
>> padding-after 
>>
>> border-after-color 
>> 
>>
>> padding-before 
>>
>> border-after-style 
>> 
>>
>> padding-bottom 
>>
>> border-after-width 
>> 
>>
>> padding-end 
>>
>> border-before-color
>> 
>>
>> padding-left 
>>
>> border-before-style
>> 
>>
>> padding-right 
>>
>> border-before-width
>> 
>>
>> padding-start 
>>
>> border-bottom-color
>> 
>>
>> padding-top 
>>
>> border-bottom-style
>> 
>>
>> pause-after 
>>
>> border-bottom-width
>> 
>>
>> pause-before 
>>
>> border-end-color **
>> **
>>
>> pitch 
>>
>> border-end-style **
>> **
>>
>> pitch-range 
>>
>> border-end-width **
>> **
>>
>> play-during 
>>
>> border-left-color *
>> ***
>>
>> relative-position
>> 
>>
>> border-left-style *
>> ***
>>
>> richness 
>>
>> border-left-width *
>> ***
>>
>> right 
>>
>> border-right-color 

Re: Is there a master reference for FOP functionality?

2011-12-13 Thread Luis Bernardo
http://www.w3.org/TR/xsl/


On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster <
ther...@inbrand.co.uk> wrote:

> I am trying to learn all the options available to FOP but there doesn’t
> seem to be a reference that tells you everything, 
>
> The w3schools XSL-FO reference tells you what parameters are available to
> a call. For instance, external-graphic below. 
>
> But what I cant find is what are the valid options for the properties, ie
> clip in the example below.
>
> Is there a reference or list you can use for these?
>
> ** **
>
> Kindest regards
>
> ** **
>
>
> Theresa Forster
>
> Senior Software Developer
>
> 
>
> ** **
>
> *XSL-FO external-graphic Object*
> Syntax
>
> 
>   
>  
> Properties
>
> *Property [A-J]***
>
> *Property [K-Z]***
>
> alignment-adjust
>
> keep-with-next ***
> *
>
> alignment-baseline
>
> keep-with-previous
> 
>
> azimuth 
>
> language 
>
> background-attachment
> 
>
> left 
>
> background-color
> 
>
> line-height 
>
> background-image
> 
>
> margin-bottom 
>
> background-repeat
> 
>
> margin-left 
>
> background-position-horizontal
>
> margin-right 
>
> background-position-vertical
>
> margin-top 
>
> baseline-shift
>
> overflow
>
> block-progression-dimension
>
> padding-after 
>
> border-after-color *
> ***
>
> padding-before 
>
> border-after-style *
> ***
>
> padding-bottom 
>
> border-after-width *
> ***
>
> padding-end 
>
> border-before-color 
> 
>
> padding-left 
>
> border-before-style 
> 
>
> padding-right 
>
> border-before-width 
> 
>
> padding-start 
>
> border-bottom-color 
> 
>
> padding-top 
>
> border-bottom-style 
> 
>
> pause-after 
>
> border-bottom-width 
> 
>
> pause-before 
>
> border-end-color ***
> *
>
> pitch 
>
> border-end-style ***
> *
>
> pitch-range 
>
> border-end-width ***
> *
>
> play-during 
>
> border-left-color **
> **
>
> relative-position
> 
>
> border-left-style **
> **
>
> richness 
>
> border-left-width **
> **
>
> right 
>
> border-right-color *
> ***
>
> role 
>
> border-right-style *
> ***
>
> scaling
>
> border-right-width *
> ***
>
> scaling-method
>
> border-start-color *
> ***
>
> script
>
> border-start-style 

Is there a master reference for FOP functionality?

2011-12-13 Thread Theresa Jayne Forster
I am trying to learn all the options available to FOP but there doesn't seem
to be a reference that tells you everything, 

The w3schools XSL-FO reference tells you what parameters are available to a
call. For instance, external-graphic below. 

But what I cant find is what are the valid options for the properties, ie
clip in the example below.

Is there a reference or list you can use for these?

 

Kindest regards

 


Theresa Forster

Senior Software Developer



 

XSL-FO external-graphic Object


Syntax



  
 


Properties


Property [A-J]

Property [K-Z]


alignment-adjust

keep-with-next  


alignment-baseline

keep-with-previous
 


azimuth  

language  


background-attachment
 

left  


background-color  

line-height  


background-image  

margin-bottom  


background-repeat
 

margin-left  


background-position-horizontal

margin-right  


background-position-vertical

margin-top  


baseline-shift

overflow


block-progression-dimension

padding-after  


border-after-color  

padding-before  


border-after-style  

padding-bottom  


border-after-width  

padding-end  


border-before-color  

padding-left  


border-before-style  

padding-right  


border-before-width  

padding-start  


border-bottom-color  

padding-top  


border-bottom-style  

pause-after  


border-bottom-width  

pause-before  


border-end-color  

pitch  


border-end-style  

pitch-range  


border-end-width  

play-during  


border-left-color  

relative-position
 


border-left-style  

richness  


border-left-width  

right  


border-right-color  

role  


border-right-style  

scaling


border-right-width  

scaling-method


border-start-color  

script


border-start-style  

source-document  


border-start-width  

space-end


border-top-color  

space-start


border-top-style  

speak  


border-top-width  

speak-header  


bottom  

speak-numeral