disable-output-escaping in Apache FOP

2010-01-22 Thread Aish

Hi,

I need to create pdf file for xml. I did it through xsl. when i transformed
xml to fo using saxon processor, i had no problem in
disable-output-escaping="yes" attribute. But when i executed the file using
FOP.bat in command prompt(say Fop -xml sample.xml -xsl sample.xsl -pdf
sample.pdf) its throwing error. I found that problem is with
disable-output-escaping="yes". It doesn't support that attribute. Any way to
rectify this. Please help me out.. Itz urgent..

Thanks in advance
Aish
-- 
View this message in context: 
http://old.nabble.com/disable-output-escaping-in-Apache-FOP-tp27283715p27283715.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: Create damaged PDF file

2010-01-22 Thread Hu, Zemin
The template file is huge, it involves around 30 tables(many complicated 
tables), and the error message does not indicate line numbers in the template 
(could this be improved so we can have clue?), so it is very hard to guess 
which table is causing problem, also it may well not be the cause of the 
problem since the file could be generated successfully next time using same 
template and same data. Another guess I have is that the template and data are 
out of sync at that moment for some reason-timing, cache, whatever, just wild 
imagination.

Thanks.

Zemin

From: Peter Hancock [mailto:peter.hanc...@gmail.com]
Sent: Friday, January 22, 2010 12:15 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Create damaged PDF file

Hi Zemin,

Are you able to extract a  snippet of the fo that is supposedly missing this 
child element?  If you can show that the fo is indeed well formed it would 
support the argument that the problem is in FOP.

Thanks,

Pete
On Fri, Jan 22, 2010 at 5:05 PM, Hu, Zemin 
mailto:zemin...@adp.com>> wrote:
I am new here and have a question.

I am creating PDF on the fly for a web application. A PDF file is supposed to 
open when user clicks on a link. Occasionally the created PDF file cannot be 
opened and the error message says: "File is damaged and could not be repaired".

When I read log file, I can find error message:
SystemErr R (Location of error 
unknown)org.apache.fop.fo.ValidationException: Error(Unknown location): 
fo:table-row is missing child elements. Required Content Model: (table-cell+)

The weird thing is that this error only happens at first time or first few 
times, then the PDF file generation goes fine. Then if user browses other pages 
and comes back, this can happen again. This error is not consistent, sometimes 
everything is just fine. This is really frustrating and hard to debug.

This never happened in my unit test and local environment. So I am thinking it 
might be the cache issue or web server configuration issue. But I have no clue. 
This is tough one.

Any suggestions or solutions?

Thanks.

Zemin

--
This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, notify the sender immediately by return email and delete the message 
and any attachments from your system.

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



Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-22 Thread Vincent Hennebert
Hi,

lexa2009 wrote:
> hi, thx for help. if i use 
> sometext1 
>scaling="uniform" content-width="80mm"/> 
>   st2 
>scaling="uniform" content-width="80mm"/> 
>scaling="uniform" content-width="80mm"/> 
>scaling="uniform" content-width="80mm"/> 
> sometext2
> 
> images still overflow my page. there is an example
> http://old.nabble.com/file/p27270558/name.pdf name.pdf 

That’s because the width of your image is greater than the page width.
You have to scale it down, for example:


HTH,
Vincent


> Vincent Hennebert-2 wrote:
>>
>> I think you can get rid of fo:inline altogether:
>> sometext1
>>   > scaling="uniform" content-width="80mm"/>
>>   st2
>>   > scaling="uniform" content-width="80mm"/>
>>   > scaling="uniform" content-width="80mm"/>
>>   > scaling="uniform" content-width="80mm"/>
>> sometext2
>>
>> If you want the image to be on the same line as the preceding text, just
>> remove blanks between the two:
>> sometext1> (Although I’m not sure that this is correct behaviour. I think a break
>> should still be allowed to occur between the text and the image.)
>>
>> If you want no space between the preceding text and the image, yet the
>> image to be put on the next line if there is not enough space on the
>> current one, just insert a zero-width space:
>> sometext1​>
>> And likewise for text following images, or between images.
>>
>> HTH,
>> Vincent
>>
>>
> 

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



Re: Create damaged PDF file

2010-01-22 Thread Peter Hancock
Hi Zemin,

Are you able to extract a  snippet of the fo that is supposedly missing this
child element?  If you can show that the fo is indeed well formed it would
support the argument that the problem is in FOP.

Thanks,

Pete

On Fri, Jan 22, 2010 at 5:05 PM, Hu, Zemin  wrote:

> I am new here and have a question.
>
> I am creating PDF on the fly for a web application. A PDF file is supposed
> to open when user clicks on a link. Occasionally the created PDF file cannot
> be opened and the error message says: "File is damaged and could not be
> repaired".
>
> When I read log file, I can find error message:
> SystemErr R (Location of error
> unknown)org.apache.fop.fo.ValidationException: Error(Unknown location):
> fo:table-row is missing child elements. Required Content Model:
> (table-cell+)
>
> The weird thing is that this error only happens at first time or first few
> times, then the PDF file generation goes fine. Then if user browses other
> pages and comes back, this can happen again. This error is not consistent,
> sometimes everything is just fine. This is really frustrating and hard to
> debug.
>
> This never happened in my unit test and local environment. So I am thinking
> it might be the cache issue or web server configuration issue. But I have no
> clue. This is tough one.
>
> Any suggestions or solutions?
>
> Thanks.
>
> Zemin
>
> --
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, notify the sender immediately by
> return email and delete the message and any attachments from your system.
>
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>


Re: Invalid ICC Profile

2010-01-22 Thread Peter Hancock
Hi Stuart,

It might be that you have an Invalid ICC profile :-) but it would be hard
for us to confirm this without taking a look at the input you supplied to
fop 0.93.
If you do not want to post the input , please provide another example that
also leads to this error.

Is there any reason why you cannot update to a newer version of fop?

Cheers,

Pete



On Fri, Jan 22, 2010 at 4:11 PM, Stuart Scott <
stuart.sc...@countrywideplc.co.uk> wrote:

>  I am getting the following error:
>
> SEVERE: Invalid ICC profile: java.lang.IllegalArgumentException: Invalid
> ICC Profile Data
> java.lang.IllegalArgumentException: Invalid ICC Profile Data
>
> I am using FOP 0.93
>
> I have looked up this error and it states a problem with JPEG images that
> have ICC Profile Data.
>
> Can someone tell me if this has been fixed in a later FOP version?
>
>
> Kind regards
>
> **
>
> *Stuart Scott *
>
>
> For email disclaimer details please click or visit -
> http://www.countrywideplc.co.uk/disclaimer
>
>
>


Create damaged PDF file

2010-01-22 Thread Hu, Zemin
I am new here and have a question. 

I am creating PDF on the fly for a web application. A PDF file is supposed to 
open when user clicks on a link. Occasionally the created PDF file cannot be 
opened and the error message says: "File is damaged and could not be repaired".

When I read log file, I can find error message:
SystemErr R (Location of error 
unknown)org.apache.fop.fo.ValidationException: Error(Unknown location): 
fo:table-row is missing child elements. Required Content Model: (table-cell+)

The weird thing is that this error only happens at first time or first few 
times, then the PDF file generation goes fine. Then if user browses other pages 
and comes back, this can happen again. This error is not consistent, sometimes 
everything is just fine. This is really frustrating and hard to debug. 

This never happened in my unit test and local environment. So I am thinking it 
might be the cache issue or web server configuration issue. But I have no clue. 
This is tough one.

Any suggestions or solutions?

Thanks.

Zemin

--
This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, notify the sender immediately by return email and delete the message 
and any attachments from your system.

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



Invalid ICC Profile

2010-01-22 Thread Stuart Scott
I am getting the following error:
 
SEVERE: Invalid ICC profile: java.lang.IllegalArgumentException: Invalid
ICC Profile Data 
java.lang.IllegalArgumentException: Invalid ICC Profile Data
 
I am using FOP 0.93 
 
I have looked up this error and it states a problem with JPEG images
that have ICC Profile Data.  
 
Can someone tell me if this has been fixed in a later FOP version?
 

Kind regards

 

Stuart Scott 

 

For email disclaimer details please click or visit - 
http://www.countrywideplc.co.uk/disclaimer



RE: XSL caching question

2010-01-22 Thread SGRIFFIN
Tamu,
Based simply on the code sample that Brian provided in his original post over a 
year ago, the XSL will only be "compiled" when the class containing that static 
initializer is loaded.  That class won't be loaded until it's used, so your 
first run is always going to include both compilation and transformation time 
while subsequent runs will just include transformation.  Couple that with the 
fact that even after compilation there is undoubtedly other caching and 
potential class loading going on by both the JVM and OS when you do the first 
transformation.  And finally, Brian's original post coupled the XSLT 
transformation with the FOP rendering; these are separate processes and FOP 
does not control how you use the XSLT to get to the XSL-FO it needs.

Assuming your code is like Brian's, it's doing what it's supposed to do (though 
I personally don't like static initializers myself because of the 
exception-eating that goes on if there's an error in the stylesheet that causes 
it to not compile).  If you want to perform the stylesheet compilation before 
the first run you need to put it in a method that gets called from the 
lifecycle hooks in your application.  Assuming this is in a web application, 
you can do it in the ServletContextListener.contextInitialized method.

Sean

-Original Message-
From: tamugrg [mailto:sagun.gur...@auspost.com.au] 
Sent: Friday, January 22, 2010 6:34 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: XSL caching question


Hi,

I am facing exactly the same issue. The first time the XSL gets used, it
takes quite a bit of time to do the transformation. After that the
transformations happen much faster. I am using templates as described in
this thread & assume the style sheet should be cached. But from the
behaviour that it takes longer the first time the XSLs are being used &
subsequently takes lesser time indicates that probably it's not been
catched.

Any suggestions/experience on this is very much appreciated.

Cheers,
tamu



Brian Trezise wrote:
> 
> Silly me, going to be hard for you guys to answer my question if you don't
> have a code sample to look at J
> 
> 
> 
> 
>static
> 
>{
> 
>   try
> 
>   {
> 
>  cyberTron = TransformerFactory.newInstance();
> 
>  Config config = (Config)
> ConfigManager.getInstance().getConfig(Config.class);
> 
>  Source xslt = new StreamSource(new
> File(config.getXSLTemplateURL()));
> 
>  allSpark = cyberTron.newTemplates(xslt);
> 
>   }
> 
>   catch(Exception e)
> 
>   {
> 
>  logger.error(e);
> 
>   }
> 
>}
> 
>  
> 
> ~Brian
> 
> ___
> Brian Trezise
> Staff Software Engineer
> IntelliData, Inc
> 22288 E Princeton Dr
> aurora, colorado 80018
> T: 720.524.4864
> brian.trez...@intellidata.net
> 
>  
> 
> From: Brian Trezise [mailto:brian.trez...@intellidata.net] 
> Sent: Monday, August 25, 2008 2:41 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: XSL caching question
> 
>  
> 
> In FOP 0.95, I'm using the basic caching method to cache my XSL
> transformation file, not doing anything fancy with file system monitors or
> anything for the time being.  The first time I run FOP on the server to
> generate a pdf, it takes 10-20 seconds to generate the pdf because it's
> loading up the XSL file for the first run.  Afterwards it runs in the
> neighborhood of 500ms per PDF.  I was just wondering if there is a way to
> force the XSL to fully cache statically?
> 
> This isn't a huge issue as we don't restart our servers all that often but
> it's just a little thing that's bugging me J
> 
> Thanks,
> 
> ___
> Brian Trezise
> Staff Software Engineer
> IntelliData, Inc
> 22288 E Princeton Dr
> aurora, colorado 80018
> T: 720.524.4864
> brian.trez...@intellidata.net
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/XSL-caching-question-tp19151328p27272536.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

--
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-10

Re: Help me please! How to FOP + barcode4j + Code128 set C?

2010-01-22 Thread Magdikova

Thank you everyone for your help.
It works fine



Magdikova wrote:
> 
> I read about "Added support for restricting Code128 codesets to A, B, C or
> a combination."
> in this page: http://barcode4j.sourceforge.net/changes.html
> 
> I have to generate Code128 codeset C with FOP.
> 
> How can I use it? Help me please!
> 
> I can generate code128 but I have to generate Code128 codeset C.
> 
> My xsl settings are: (it works but it is not in "C" format the output is:
> 123456 instead of 12 34 56)
> 
> 
> 
>   
> 
> 
> 
>   
> bottom
>   
> Arial Narrow
>   
> 8pt
>   
> false
>   
> false
>   
>   13mm
>   
> 0.3mm
>enabled="true">10mm 
>   
> 
> 
> 
>
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Help-me-please%21-How-to-FOP-%2B--barcode4j-%2B-Code128-set-C--tp27144885p27272781.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: How to: Hello World

2010-01-22 Thread Stuart Scott
Sorry, I misunderstood, I thought you wanted to output the HTML to the
PDF.

I do not believe it is possible to render HTML inline inside FO.  You
would need to convert the HTML to FO before outputting to the PDF
through FOP.

Kind regards

Stuart Scott

-Original Message-
From: Magdikova [mailto:kov.ma...@gmail.com] 
Sent: 22 January 2010 12:22
To: fop-users@xmlgraphics.apache.org
Subject: RE: How to: Hello
World




Thanks but the pdf output will be : "
Hello World
" instead of Hello world Have you got any solution? Stuart Scott-3 wrote: > >
Hello > World
> > Kind regards > > Stuart Scott > > -Original Message- > From: Magdikova [mailto:kov.ma...@gmail.com] > Sent: 22 January 2010 11:54 > To: fop-users@xmlgraphics.apache.org > Subject: How to: Hello > World > > > > I would like to set html content in fo block like this: > > Hello > World > > How it is possible? > > -- > View this message in context: > http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd > %3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135 > p27272135.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > For email disclaimer details please click or visit - > http://www.countrywideplc.co.uk/disclaimer > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd %3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135 p27272425.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: XSL caching question

2010-01-22 Thread tamugrg

Hi,

I am facing exactly the same issue. The first time the XSL gets used, it
takes quite a bit of time to do the transformation. After that the
transformations happen much faster. I am using templates as described in
this thread & assume the style sheet should be cached. But from the
behaviour that it takes longer the first time the XSLs are being used &
subsequently takes lesser time indicates that probably it's not been
catched.

Any suggestions/experience on this is very much appreciated.

Cheers,
tamu



Brian Trezise wrote:
> 
> Silly me, going to be hard for you guys to answer my question if you don't
> have a code sample to look at J
> 
> 
> 
> 
>static
> 
>{
> 
>   try
> 
>   {
> 
>  cyberTron = TransformerFactory.newInstance();
> 
>  Config config = (Config)
> ConfigManager.getInstance().getConfig(Config.class);
> 
>  Source xslt = new StreamSource(new
> File(config.getXSLTemplateURL()));
> 
>  allSpark = cyberTron.newTemplates(xslt);
> 
>   }
> 
>   catch(Exception e)
> 
>   {
> 
>  logger.error(e);
> 
>   }
> 
>}
> 
>  
> 
> ~Brian
> 
> ___
> Brian Trezise
> Staff Software Engineer
> IntelliData, Inc
> 22288 E Princeton Dr
> aurora, colorado 80018
> T: 720.524.4864
> brian.trez...@intellidata.net
> 
>  
> 
> From: Brian Trezise [mailto:brian.trez...@intellidata.net] 
> Sent: Monday, August 25, 2008 2:41 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: XSL caching question
> 
>  
> 
> In FOP 0.95, I'm using the basic caching method to cache my XSL
> transformation file, not doing anything fancy with file system monitors or
> anything for the time being.  The first time I run FOP on the server to
> generate a pdf, it takes 10-20 seconds to generate the pdf because it's
> loading up the XSL file for the first run.  Afterwards it runs in the
> neighborhood of 500ms per PDF.  I was just wondering if there is a way to
> force the XSL to fully cache statically?
> 
> This isn't a huge issue as we don't restart our servers all that often but
> it's just a little thing that's bugging me J
> 
> Thanks,
> 
> ___
> Brian Trezise
> Staff Software Engineer
> IntelliData, Inc
> 22288 E Princeton Dr
> aurora, colorado 80018
> T: 720.524.4864
> brian.trez...@intellidata.net
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/XSL-caching-question-tp19151328p27272536.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: How to: Hello World

2010-01-22 Thread Magdikova


Thanks but the pdf output will be : "
Hello World
" instead of Hello world Have you got any solution? Stuart Scott-3 wrote: > >
Hello > World
> > Kind regards > > Stuart Scott > > -Original Message- > From: Magdikova [mailto:kov.ma...@gmail.com] > Sent: 22 January 2010 11:54 > To: fop-users@xmlgraphics.apache.org > Subject: How to: Hello > World > > > > I would like to set html content in fo block like this: > > Hello > World > > How it is possible? > > -- > View this message in context: > http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd > %3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135 > p27272135.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > For email disclaimer details please click or visit - > http://www.countrywideplc.co.uk/disclaimer > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd%3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135p27272425.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: How to: Hello World

2010-01-22 Thread Stuart Scott
Hello World
Kind regards Stuart Scott -Original Message- From: Magdikova [mailto:kov.ma...@gmail.com] Sent: 22 January 2010 11:54 To: fop-users@xmlgraphics.apache.org Subject: How to: Hello World I would like to set html content in fo block like this: Hello World How it is possible? -- View this message in context: http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd %3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135 p27272135.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org For email disclaimer details please click or visit - http://www.countrywideplc.co.uk/disclaimer - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

How to: Hello World

2010-01-22 Thread Magdikova

I would like to set html content in fo block like this:

 Hello World

How it is possible?

-- 
View this message in context: 
http://old.nabble.com/How-to%3A%3Cfo%3Ablock%3E-%3Ctable%3E%3Ctr%3E%3Ctd%3EHello-World%3C-td%3E%3C-tr%3E%3C-table%3E%3C-fo%3Ablock%3E-tp27272135p27272135.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-22 Thread lexa2009

hi, thx for help. if i use 
sometext1 
   
  st2 
   
   
   
sometext2

images still overflow my page. there is an example
http://old.nabble.com/file/p27270558/name.pdf name.pdf 


Vincent Hennebert-2 wrote:
> 
> 
> I think you can get rid of fo:inline altogether:
> sometext1
>scaling="uniform" content-width="80mm"/>
>   st2
>scaling="uniform" content-width="80mm"/>
>scaling="uniform" content-width="80mm"/>
>scaling="uniform" content-width="80mm"/>
> sometext2
> 
> If you want the image to be on the same line as the preceding text, just
> remove blanks between the two:
> sometext1 (Although I’m not sure that this is correct behaviour. I think a break
> should still be allowed to occur between the text and the image.)
> 
> If you want no space between the preceding text and the image, yet the
> image to be put on the next line if there is not enough space on the
> current one, just insert a zero-width space:
> sometext1​ 
> And likewise for text following images, or between images.
> 
> HTH,
> Vincent
> 
> 

-- 
View this message in context: 
http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27270558.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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