Height of a block-container with absolutely positioned children

2010-09-27 Thread Andreas . Zehender
Hi,

we have a user defined report generator, where users can position sql fields 
inside blocks with sql data.

---Report Block
[Field A]   [Field B]
Text Label
[   ]
[Field C]
[   ]
---

I tried to use hierarchical block containers so far, top level as container, 
and on second level absolutely positioned block containers as child elements. 
Everything works correctly, when I specify a height for the top level 
container. However, in some cases the top level container should expand, when 
contents inside the container doesn't fit. I tried to simply remove the height 
attribute, but since the block containers on second level are taken out of the 
flow, the parent container doesn't use space and has zero height.

See sample below. block "4" is not visible in pdf.

Is there a way to automatically enlarge the parent container, or to enforce the 
flow below the content of the container, although the child containers are 
absolutely positioned?

Best,
Andreas

Sample code:


http://www.w3.org/1999/XSL/Format";>
  

  
  
  

  
  

header 
1


footer 
1




4



5
6
7



8



  





Andreas Zehender
Master of Computer Science
Software Development

picturemaxx AG
Stefan-George-Ring 2
81929 München
GERMANY

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



Re: PDF 1.7 ISO 32000

2010-09-27 Thread Glenn Adams
probably more pdf readers support 1.4 than 1.7; also, PDF 1.7 does not have
any particular features that 1.4 does not have that relate to multiple
language support;

which languages do you require support for?

regards,
glenn

2010/9/27 Daniel Sánchez González 

> We need multi-language support. We want to create ISO 32000 because it is
> standar and we think that it can be viewed in any browser. Is it correct?
>
>
> On Mon, Sep 27, 2010 at 10:10 AM, Peter Hancock 
> wrote:
>
>> Hi Daniel,
>>
>> PDF support in FOP is currently limited to 1.4 - see FOP
>> http://xmlgraphics.apache.org/fop/trunk/output.html#pdf
>>
>> I am not sure if there are any community plans to support later
>> version of the format in the near future.  Are there any specific
>> features that have been introduced in the later versions that you
>> require in particular?
>>
>> Peter
>>
>> 2010/9/26 Daniel Sánchez González :
>> > Is it possible to create a 1.7 pdf  version (ISO 32000) with apache fop?
>> >
>> > Thanks in advance,
>> > Daniel Sánchez
>>
>> -
>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>>
>>
>


Re: xsl fo errors and line numbers

2010-09-27 Thread J.Pietschmann

On 27.09.2010 21:41, thandana wrote:


Hi All,
  Any help is greatly appreciated. I am using Apache Xalan 2.7.1, FOP .95 to
generate pdf docs. The only issue is when i have an error in xsl-fo
document, i am not seeing line numbers in the error message. What should be
done to get the exact line # in xsl-fo document that is causing the error?

I am using code like this but no use.

transformFactoryInstance.setAttribute(TransformerFactoryImpl.FEATURE_SOURCE_LOCATION,
Boolean.TRUE);


Line numbers are only used in error messages if the FO source
is a file. If the FO is generated by an XSL transformation,
there is no way to trace errors back to the source XML (or
XSLT). A common approach is to run the transformation separately
to generate a FO file, possibly enabling indent="yes" on
xsl:output, and process this FO file in a second step. FOP
will generate line numbers referencing the FO file.

J.Pietschmann

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



RE: xsl fo errors and line numbers

2010-09-27 Thread Eric Douglas
There are no line numbers.  I use embedded code for my translations
which uses an XML file and an XSL file.  I don't normally see the FO
code.  I tried changing the parameters to produce FO code and it got a
text file with one continuous line of text.
 

-Original Message-
From: thandana [mailto:ratna@gmail.com] 
Sent: Monday, September 27, 2010 3:41 PM
To: fop-users@xmlgraphics.apache.org
Subject: xsl fo errors and line numbers


Hi All,
 Any help is greatly appreciated. I am using Apache Xalan 2.7.1, FOP .95
to generate pdf docs. The only issue is when i have an error in xsl-fo
document, i am not seeing line numbers in the error message. What should
be done to get the exact line # in xsl-fo document that is causing the
error?

I am using code like this but no use.

transformFactoryInstance.setAttribute(TransformerFactoryImpl.FEATURE_SOU
RCE_LOCATION,
Boolean.TRUE);

Thanks
Rathana.
--
View this message in context:
http://old.nabble.com/xsl-fo-errors-and-line-numbers-tp29822450p29822450
.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



xsl fo errors and line numbers

2010-09-27 Thread thandana

Hi All,
 Any help is greatly appreciated. I am using Apache Xalan 2.7.1, FOP .95 to
generate pdf docs. The only issue is when i have an error in xsl-fo
document, i am not seeing line numbers in the error message. What should be
done to get the exact line # in xsl-fo document that is causing the error?

I am using code like this but no use.

transformFactoryInstance.setAttribute(TransformerFactoryImpl.FEATURE_SOURCE_LOCATION,
Boolean.TRUE);

Thanks
Rathana.
-- 
View this message in context: 
http://old.nabble.com/xsl-fo-errors-and-line-numbers-tp29822450p29822450.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: PDF 1.7 ISO 32000

2010-09-27 Thread Daniel Sánchez González
We need multi-language support. We want to create ISO 32000 because it is
standar and we think that it can be viewed in any browser. Is it correct?

On Mon, Sep 27, 2010 at 10:10 AM, Peter Hancock wrote:

> Hi Daniel,
>
> PDF support in FOP is currently limited to 1.4 - see FOP
> http://xmlgraphics.apache.org/fop/trunk/output.html#pdf
>
> I am not sure if there are any community plans to support later
> version of the format in the near future.  Are there any specific
> features that have been introduced in the later versions that you
> require in particular?
>
> Peter
>
> 2010/9/26 Daniel Sánchez González :
> > Is it possible to create a 1.7 pdf  version (ISO 32000) with apache fop?
> >
> > Thanks in advance,
> > Daniel Sánchez
>
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>


Re: PDF 1.7 ISO 32000

2010-09-27 Thread Peter Hancock
Hi Daniel,

PDF support in FOP is currently limited to 1.4 - see FOP
http://xmlgraphics.apache.org/fop/trunk/output.html#pdf

I am not sure if there are any community plans to support later
version of the format in the near future.  Are there any specific
features that have been introduced in the later versions that you
require in particular?

Peter

2010/9/26 Daniel Sánchez González :
> Is it possible to create a 1.7 pdf  version (ISO 32000) with apache fop?
>
> Thanks in advance,
> Daniel Sánchez

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