Re: FIGURE TOP PAGE PLACEMENT

2003-03-04 Thread Jeremias Maerki

On 03.03.2003 10:55:10 H. krishna wrote:
 Hai Everybody,
 
 1. I need the placement of FIGURE  TABLE is top of
 page only. how to define in the fo file. The
 fo:float is not implemented (fop-0.20.5rc2).
 
 I am already post this problem.

I'm not sure I get you right, but you can specify 

fo:block break-before=page
  [..my stuff on top of the page..]

This tells FOP to start a new page and new content is started from the
top.

 2. Move the below one line to above line. how to
 define in the fo file.
 
 For Example:
 
 FOP Means Formatting Object
 Processor
 
 (to)
 
 FOP Means Formatting Object Processor

If your XSL-FO code looks like this:

fo:blockFOP Means Formatting Object Processor/fo:block

...and the width available is sufficient you'll get what you want. You
may have to make your font smaller or check if you've got something odd
with you linefeed treatment. I hope that helps. If your problem persists
you could post a little snippet of your XSL-FO code so we can have a
look at it. It's difficult to help with so little information.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FIGURE TOP PAGE PLACEMENT

2003-03-04 Thread H. krishna
Dear Jeremias Maerki,

Thanks for your mail. i am used
linefeed-treatment=preserve this is correct (or)
not.


 I'm not sure I get you right, but you can specify 
 
 fo:block break-before=page
   [..my stuff on top of the page..]
 
 This tells FOP to start a new page and new content
 is started from the
 top.

But the content and figure is goes to next page. I
need the placement of figure only. Not the content.
This is possible.

Sorry, my language.

Regards,
H. Balakrishnan


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FIGURE TOP PAGE PLACEMENT

2003-03-04 Thread Jeremias Maerki

On 04.03.2003 15:30:33 H. krishna wrote:
 Thanks for your mail. i am used
 linefeed-treatment=preserve this is correct (or)
 not.

Depends on your input XML. If there are linefeeds in there, these could
be responsible for the linefeed. Try experimenting a bit. Change
linefeed-treatment etc.

  I'm not sure I get you right, but you can specify 
  
  fo:block break-before=page
[..my stuff on top of the page..]
  
  This tells FOP to start a new page and new content
  is started from the
  top.
 
 But the content and figure is goes to next page. I
 need the placement of figure only. Not the content.
 This is possible.

I'm still not sure I know what you want to do. Maybe fo:block-container
with absolute positioning could help.


Jeremias Maerki

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FIGURE TOP PAGE PLACEMENT

2003-03-04 Thread H. krishna
Dear Jeremias Maerki,

I am attached my fo file. I like my pdf file is:

Page 1:
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4 Not finished

Page 2:
Figure 1
Paragraph 4 continued text
Paragraph 5
Paragraph 6
Paragraph 7
Paragraph 8

Page 3:
Figure 2
Paragraph 9
Paragraph 10
Paragraph 11
Paragraph 12


Regards,

H. Balakrishnan





--- Jeremias Maerki [EMAIL PROTECTED] wrote:
 
 On 04.03.2003 15:30:33 H. krishna wrote:
  Thanks for your mail. i am used
  linefeed-treatment=preserve this is correct (or)
  not.
 
 Depends on your input XML. If there are linefeeds in
 there, these could
 be responsible for the linefeed. Try experimenting a
 bit. Change
 linefeed-treatment etc.
 
   I'm not sure I get you right, but you can
 specify 
   
   fo:block break-before=page
 [..my stuff on top of the page..]
   
   This tells FOP to start a new page and new
 content
   is started from the
   top.
  
  But the content and figure is goes to next page. I
  need the placement of figure only. Not the
 content.
  This is possible.
 
 I'm still not sure I know what you want to do. Maybe
 fo:block-container
 with absolute positioning could help.
 
 
 Jeremias Maerki
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE root [
!ENTITY nl '#x2028;'
]

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:svg=http://www.w3.org/2000/svg;
fo:layout-master-set

	fo:simple-page-master master-name=firstPage
		page-height=9.44in
		page-width=6.31in
		margin-top=0.40in
		margin-bottom=.5in
		margin-left=0.8in
		margin-right=0.8in
		fo:region-before extent=10mm region-name=firstPage-before/
		fo:region-body margin-bottom=20mm margin-top=10mm/
		fo:region-after extent=10mm region-name=xsl-region-after/
	/fo:simple-page-master

	fo:simple-page-master master-name=otherPageOdd
		page-height=9.44in
		page-width=6.31in
		margin-top=0.67in
		margin-bottom=1in
		margin-left=0.8in
		margin-right=0.8in
		fo:region-before extent=10mm region-name=otherPageOdd-before/
		fo:region-body margin-bottom=20mm margin-top=10mm/
		fo:region-after extent=10mm region-name=xsl-region-after/
	/fo:simple-page-master

	fo:simple-page-master master-name=otherPageEven
		page-height=9.44in
		page-width=6.31in
		margin-top=0.67in
		margin-bottom=1in
		margin-left=0.8in
		margin-right=0.8in
		fo:region-before extent=10mm region-name=otherPageEven-before/
		fo:region-body margin-bottom=20mm margin-top=10mm/
		fo:region-after extent=10mm region-name=xsl-region-after/
	/fo:simple-page-master

	fo:page-sequence-master master-name=contents
		fo:repeatable-page-master-alternatives
			fo:conditional-page-master-reference
master-reference=firstPage
page-position=first/
			fo:conditional-page-master-reference
master-reference=otherPageOdd
odd-or-even=odd
page-position=any/
			fo:conditional-page-master-reference
master-reference=otherPageEven
odd-or-even=even
page-position=any/
		/fo:repeatable-page-master-alternatives
	/fo:page-sequence-master
/fo:layout-master-set

fo:page-sequence master-reference=contents
		fo:static-content flow-name=xsl-region-after
			fo:block text-align=center
		font-size=8pt
		font-family=serif
		line-height=10pt 
			/fo:block
		/fo:static-content

	fo:static-content flow-name=otherPageOdd-before
		fo:block text-align=right
			fo:page-number font-size=8pt font-family=serif line-height=10pt/
		/fo:block
	/fo:static-content

	fo:static-content flow-name=otherPageEven-before
			fo:block text-align=left
			fo:page-number font-size=8pt font-family=serif line-height=10pt/
		/fo:block
	/fo:static-content
	fo:flow flow-name=xsl-region-body
fo:block linefeed-treatment=preserve language=en country=GB hyphenate=true hyphenation-push-character-count=2 hyphenation-remain-character-count=2 white-space-treatment=preserve font-size=10pt font-family=serif line-height=12pt text-align=justifyIn Europe there are two main areas of particular biological value for sweet chestnut (fo:inline font-style=italicCastanea sativa/fo:inline Mill.) genetic resources, Turkey and Iberian Peninsula, each of them showing peculiar characteristics (Villani et al. 1999). These two areas, together with Italy, are the leading European chestnut producers and collectively account for 55.3% of the 24 tons world's annual production. In Portugal, chestnut has a relevant place at the socioeconomic level, reaching an annual fruit production of 2 tons (INE 1997)./fo:block
fo:block language=en country=GB hyphenate=true hyphenation-push-character-count=2 hyphenation-remain-character-count=2 white-space-treatment=preserve text-indent=12pt font-size=10pt font-family=serif line-height=12pt 

Re: FIGURE TOP PAGE PLACEMENT

2003-03-04 Thread Jeremias Maerki
Hmm, looks like you really need fo:float for this, which isn't
implemented. You probably need to find a different layout. What you can
do is counting lines and sort of do the page-breaks yourself. That has
been discussed before on this list but it's difficult, pretty hacky and
does not guarantee success.

On 04.03.2003 16:45:46 H. krishna wrote:
 I am attached my fo file. I like my pdf file is:
 
 Page 1:
 Paragraph 1
 Paragraph 2
 Paragraph 3
 Paragraph 4 Not finished
 
 Page 2:
 Figure 1
 Paragraph 4 continued text
 Paragraph 5
 Paragraph 6
 Paragraph 7
 Paragraph 8
 
 Page 3:
 Figure 2
 Paragraph 9
 Paragraph 10
 Paragraph 11
 Paragraph 12


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]