WG: page-number

2002-04-10 Thread Henrik Holle
hi,

how can i count all pages in my document? i have different page-sequence
master-reference but want to something like : this document has 12 pages.

is it possible?


regards

henrik holle



AW: keep-with-next on one page

2002-04-10 Thread Michael Heinen
I got it to work now using a new blind table with multiple rows
containing the whole stuff to keep together.


Thanks



-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 9. April 2002 22:16
An: [EMAIL PROTECTED]
Betreff: Re: keep-with-next on one page


Michael Heinen wrote:
 I have a problem with the keep-with-next property.  
 
 I use an outer table containing a single row.
 This row can contain multiple tables, blocks an so on depending on data.
 
 I want to achieve, that data of the outer row is kept together on one
page.
 But when I use keep-with-next property nothing changes in the pdf file.
 
 here is a snipped from my code
 
 xsl:template match=article 
 ...
 fo:table-row keep-with-next=always
   fo:table-cell 
   fo:blockxsl:value-of select=art_nr/#160;xsl:value-of
 select=art_name//fo:block
   /fo:table-cell
   fo:table-cell text-align=right
   fo:blockAktions-Nr:#160;xsl:value-of
 select=actionnr//fo:block
   /fo:table-cell
/fo:table-row
 /fo:table-body
 ...
 

The keep-with-next property works only on table rows. This
means, table rows are kept together. In your example there
is only one table row, so it's not expected to work.
Can you describe your problem in somewhat more detail?

Be aware that FOP will insert breaks anyway if the stuff
that it is told to keep together wont fit on a page.

J.Pietschmann




fo:basic-link

2002-04-10 Thread MagnusSjöberg
Hi all!

When using fo:basic-link it appears that the 'hotspot'
around the text in the PDF gets misaligned.
The more links I have in a page, the more the hotspots stray
away, making me think the error is cumulative.
(My fo consists of several page sequences, if that could be
a factor...)

Are there any problems with the implementation of
fo:basic-link? I saw earlier posts talking about this but
haven't found anything conclusive.
Anyone got any ideas?

/// Magnus


RE: basic-link

2002-04-10 Thread Vasantha . Nataraju
Hi,

We r generating PDF files using fo. We want to provide some security
features to the PDF like non-printable, non-editable etc., when opened thru
Adobe acrobat. Can somebody help in achieving this? Can this be done thru
FOP itself or do we need to use Adobe's API? If somebody could help me out
thru Adobe API also, that would be appreciated.

Regards,
Vasantha Raju N



-Original Message-
From: MagnusSjöberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 April 2002 21:21
To: [EMAIL PROTECTED]
Subject: fo:basic-link


Hi all!

When using fo:basic-link it appears that the 'hotspot'
around the text in the PDF gets misaligned.
The more links I have in a page, the more the hotspots stray
away, making me think the error is cumulative.
(My fo consists of several page sequences, if that could be
a factor...)

Are there any problems with the implementation of
fo:basic-link? I saw earlier posts talking about this but
haven't found anything conclusive.
Anyone got any ideas?

/// Magnus


Re: basic-link

2002-04-10 Thread Rodolphe VAGNER
You should try http://forum.planetpdf.com

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 10, 2002 11:22 AM
Subject: RE: basic-link


Hi,

We r generating PDF files using fo. We want to provide some security
features to the PDF like non-printable, non-editable etc., when opened thru
Adobe acrobat. Can somebody help in achieving this? Can this be done thru
FOP itself or do we need to use Adobe's API? If somebody could help me out
thru Adobe API also, that would be appreciated.

Regards,
Vasantha Raju N



-Original Message-
From: MagnusSjöberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 April 2002 21:21
To: [EMAIL PROTECTED]
Subject: fo:basic-link


Hi all!

When using fo:basic-link it appears that the 'hotspot'
around the text in the PDF gets misaligned.
The more links I have in a page, the more the hotspots stray
away, making me think the error is cumulative.
(My fo consists of several page sequences, if that could be
a factor...)

Are there any problems with the implementation of
fo:basic-link? I saw earlier posts talking about this but
haven't found anything conclusive.
Anyone got any ideas?

/// Magnus



one letter words

2002-04-10 Thread Michal Kwiatek
Hi!

Is there a way to prevent fop from breaking the line just after a one letter
word like English 'a'?
I'm really concerned about it, because in Polish we have plenty of them
('w','z', 'o', i' etc.) and it looks awful.

I tried using the 0xA0 unicode character (non-break space), but fop
misinterprets this one.

Any idea?

Thanks in advance,
Michal



z-index status

2002-04-10 Thread Jesper Thorhauge (JTH)








Hi



I can see that z-index havent
been implemented yet...ive read other posts where people had the same
problem as me, namely converting HTML stuff (layers etc.) with z-index into
PDF. Also, if anyone can guide me into the task of implementing z-index, i
would be glad to help ..! I would hate to do some nasty workarounds in my
application, re-arranging block-containers etc. etc



Med venlig hilsen / Best regards,



Zenaria as



Jesper Thorhauge

Programmer



Aalborg

Niels Jernes Vej 14

DK-9220Aalborg E

Denmark



P: +45 70 133 900

D: +45 49 148 775

F: +45 70 133 901

E: [EMAIL PROTECTED]





*Internet Email Confidentiality
Footer**



Privileged/Confidential Information may be contained in this
message. If you are



not the addressee indicated in this message (or responsible
for delivery of the

message to such person), you may not copy or deliver this
message to anyone. In

such case, you should destroy this message and kindly notify
the sender by reply

email. Please advise immediately if you or your employer does
not consent to

Internet email for messages of this kind. Opinions,
conclusions and other

information in this message that do not relate to the
official business of my firm

shall be understood as neither given nor endorsed by it.










mail list

2002-04-10 Thread @Basebeans.com
Subject: mail list
From: Vic Cekvenich [EMAIL PROTECTED]
 ===
This mail is now mirrored on a news so you can read it using a news 
reader at news.basebeans.com.

(other news on there are Struts, Tomcat, Soap, Fop, Castor, Orion, 
Resin, Commons, Tags, etc.)

You may need to hit refresh to get a list of new news.

hth, Vic



Re: Tables inside of tables

2002-04-10 Thread Chuck Paussa
Ken,
I have done exactly what you describe, so I know it is possible. The 
only thing I can think of is that you haven't allowed enough room for 
the inner table to be displayed. Test it making sure that the width of 
that 5th column is wider than the combined widths of the three columns 
of the enclosed table.

Chuck
Ken Green wrote:
Hello,
 

I am trying to build a table as follows:
 

 

COLUMNCOLUMNCOLUMNCOLUMN InfoInfoInfo

InfoInfoInfo


InfoInfoInfo


InfoInfoInfo

COLUMNCOLUMNCOLUMNCOLUMN InfoInfoInfo

InfoInfoInfo

 

 

So, it is basically a 7 column table, but the first four columns always
span several rows of the last 3 columns (the number is variable).
 

My first thought was to do this as one main table that was 5 columns
wide, and then add a 3-column table embedded in the final column of
the main table:
 

COLUMNCOLUMNCOLUMNCOLUMN3-Col-Table
COLUMNCOLUMNCOLUMNCOLUMN3-Col-Table
COLUMNCOLUMNCOLUMNCOLUMN3-Col-Table
 

Unfortunately, the content of the embedded table does not appear in
the PDF output (which FOP successfully builds).
 

So - the question is does anyone know if what I am doing (a table
embedded in the cell of another table) is allowed ?  Anything special
I have to do ?  I have made sure that the three columns of the embedded
table fit within the last column of the main table.
 

Thanks !
 

Ken
 

 





templates for tables: to generate custom tables from the generic template

2002-04-10 Thread Argyn Kuketayev
The idea:

to have specific.xsl and generic.xsl file. 
specific.xsl has templates to convert XML into xsl:fo file using templates
from generic.xsl

example:
rowset
  row
col1bla-bla/col1
col2di-da/col2
  /row
/rowset

this will be converted into fo:table with two columns and column names
Column One and Column Two.

I want this to be done from specific.xsl by calling a template from
generic.xsl. So, the template from generic.xsl will somehow get the column
names and maybe widths. Then it will create fo:table element with cells,
headers etc.
So, to change the style of tables, like colors etc., I'll only need to
change one file generic.xsl, not every specific.xsl


Any ideas how to this in the best manner?
I see the generic.xsl with templates which have sort of call-backs to
specific.xsl.

thanx,
Argyn


RE: Tables inside of tables

2002-04-10 Thread Argyn Kuketayev





  So 
  - the question is does anyone know if what I am doing (a 
table
  
  
  
  
  
  
  embedded in the cell of another table) is allowed 
  ? 
  
  [Argyn Kuketayev]YES
  
  


Re: Tables inside of tables

2002-04-10 Thread Ken Green
J.,

That was it ... not quite enough cutting and pasting was done I missed
the fo:table-body on the internal table.

Thanks !

Ken

- Original Message - 
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 10, 2002 3:34 PM
Subject: Re: Tables inside of tables


 Ken Green wrote:
  I am trying to build a table as follows:
 ...
  My first thought was to do this as one main table that was 5 columns
  wide, and then add a 3-column table embedded in the final column of
  the main table:
 ...
  Unfortunately, the content of the embedded table does not appear in
  the PDF output (which FOP successfully builds).
 ...
  So - the question is does anyone know if what I am doing (a table
  embedded in the cell of another table) is allowed ?  Anything special
  I have to do ?
 
 Tables within tables are allowed. There is nothing special
 to do. However, disappearing table data is most often caused
 by a missing fo:table-body around the table rows. In this
 case, FOP ignores the data without any message. Check
 whether your inner table has a proper table body.
 
 J.Pietschmann
 
 


Re: basic-link

2002-04-10 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
We r generating PDF files using fo. We want to provide some security
features to the PDF like non-printable, non-editable etc., when opened thru
Adobe acrobat. Can somebody help in achieving this? Can this be done thru
FOP itself or do we need to use Adobe's API? If somebody could help me out
thru Adobe API also, that would be appreciated.
You can postprocess the PDF generated by FOP with some
other tool, like iText
 http://www.lowagie.com/iText
In case of iText, the postprocessing can be done in
memory, look into the source of the utilities mentioned
here:
 http://www.lowagie.com/iText/tutorial/ch01.html#readingPDF
-Original Message-
 From: MagnusSjöberg [mailto:[EMAIL PROTECTED]
...
If you have a new question, it is better to start a new
thread with an appropriate subject. And you are supposed
to trim unnecessary quotations from any old messages.
J.Pietschmann



Re: templates for tables: to generate custom tables from the generic template

2002-04-10 Thread J.Pietschmann
Argyn Kuketayev wrote:
...
specific.xsl has templates to convert XML into xsl:fo file using templates
from generic.xsl
...
I want this to be done from specific.xsl by calling a template from
generic.xsl. So, the template from generic.xsl will somehow get the column
names and maybe widths. Then it will create fo:table element with cells,
headers etc.
So, to change the style of tables, like colors etc., I'll only need to
change one file generic.xsl, not every specific.xsl
This is an XSLT question, you are more likely to get
useful answers an the xsl list
  http://www.mulberrytech.com/xsl/xsl-list/
It is not easy to give some advice unless you provide
some more speific information on what the difference
between specific.xsl and generic.xsl should be. Provide
examples if possible.
In case you want to have a central place for storing
stuff controlling colors, font sizes and all that,
look also into XSLT attribute sets
 http://www.w3.org/Style/XSL/#attribute-sets
J.Pietschmann