Re: how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Mike Trotman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A quick response as I'm not sure I understand your question - but I think you're saying you can process all the 'inline' style + other attributes in an HTML document - but that you want ot be able to implement CSS class styles in FO->PDF? If so - that i

Re: Building a matrix (table) out of almost equal elements

2004-03-27 Thread Mike Trotman
I regularly process tables using XSLT->FO. This can seem more difficult than it is if you try to use XSLT as a sequential processing tool - which is when you get your illegal end-tag+start-tag problem. A general approach - which would probably work in your case - is to use the declarative nature

Re: Converting Image to XML

2003-12-19 Thread Mike Trotman
You should be able to export the chart from Excel as a graphic - and then render the graphic using . I would be surprised if there is an XML representation of an Excel chart - and if there was you would have to reproduce the image processing to be able to display it. nitish kumar sinha wrote: H

Re: html class attribute like

2003-11-01 Thread Mike Trotman
I currently use something similar to both approaches for generating formatting attributes. Behind both I have a file which stores the CSS class definitions in a simple XML format (with some name/value variations where FO attribute names / properties are different - and some XSLT documents for c

Re: fo:tables in fo:static-content

2003-10-31 Thread Mike Trotman
This gives error/warning message - some content cannot fit into static area. Increasing the size of region-before/after then makes regions work OK on subsequent pages. Daniel Easton wrote: Clay, Attached is the layout and header and footer FO code and the XSL stylesheet. The header and footer sti

Re: tables in fo:static-content

2003-10-31 Thread Mike Trotman
I have just tested a table inside a table header cell on a table that overflows pages in FOP.0.20.5 - and it works fine. (Haven't got time to try your XSL - but save the FO output and either check or post that (as long as it's small enough)) (My usual guess when nothing appears for tables is tha

Re: premature page break inside text after table (with headers)

2003-10-31 Thread Mike Trotman
need following text and yesterday was 1st time I encountered it. (Can probably include the text in a final table row.) Thanks again. J.Pietschmann wrote: Mike Trotman wrote: Example FO + PDFs are at Can't be bothered to look, but are you using footnotes? The footnote space is actually alloc

Re: premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
ight be causing this or similar problems I'd appreciate hearing about it. Mike Trotman wrote: I've done some further experiments and the problem described below goes away if I don't define the footnote in the table header. (which is not a solution as I need that footnote.) T

Re: premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
and see if everything triggers it - or just fo:block. This is quite laborious to re-arrange - so if anyone has any similar experiences - let me know. (I've searched the archive but can't find anything relevant that matches the keywords I've used for searching.) Mike Trotman wrote: Hi.

premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
Hi. This is hard to provide a short example of (but easier to describe). Example FO + PDFs are at http://www.datalucid.com/queries/XSLFO/text-after-table-overflow/. (I don't necessarily expect anyone to read through the FO - the PDFs are just to make the example clear to see.) I have a problem w

Re: How to convert multiple fo files into a single pdf file

2003-10-26 Thread Mike Trotman
I do a similar thing for very large PDF files. (I save the individual .FO files for fast formatting into user selected options for various pages.) You may have refinements needed for you process which I miss but here is a 'simple' solution that keeps memory overhead low as well. The way I do thi

Re: [XSL-FO] Default z-index of xsl-regions + absolute coordinate origin?

2003-10-22 Thread Mike Trotman
s the XEP origin correct (because I could be confused as to what the 'containing area' is. Chris Bowditch wrote: From: Mike Trotman <[EMAIL PROTECTED]> What I was looking for is - when content overflows the region (and overflow='visible' - wh

Re: [XSL-FO] Waht is default / what determines z-index of xsl-regions / static content?

2003-10-22 Thread Mike Trotman
egion-before. (Incidentally FOP interprets 'top' for region-after to be the start of the region. XEP interprets 'top' for region-after to be the top of the page area.) What I want is to place non-region-body content behind region-body. Chris Bowditch wrote: From: Mike Trotma

Re: FOP fo:leader - works

2003-10-20 Thread Mike Trotman
I take it all back - it now works as expected. (I think my browser may have cached a PDF or two and given me the wrong impression.) Still not sure if 'text-align' and 'text-align-last' are behaving as I expect - but both together seem to do the trick. Mike Trotman wro

FOP fo:leader

2003-10-20 Thread Mike Trotman
Whatever I try I can't get fo:leader to work as I want it to. I have downloaded the latest version of fop-0.20.5. I have read the FAQs (which claim it works well) http://xml.apache.org/fop/faq.html#leader-expansion tried text-align="" for various things. I can only get leader to behave at all

Re: fop layout question

2003-09-30 Thread Mike Trotman
You might be able to achieve an ugly form of this by writing your text out as SVG and scaling the SVG window - but I've had a few problems with SVG sizing in FOP and haven't had time to sort them out yet - so don't know if this would work at all. It's not the sort of thing that XSL-FO can prov

RE: Border confusion

2003-06-19 Thread Mike Trotman
looks as if the left and right hand borders can get switched around). So - I think I might be able to solve most of my immediate problems by using a zero-width space or something similar. Thanks. -Original Message- From: Mike Trotman [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 19:33

RE: Border confusion

2003-06-19 Thread Mike Trotman
Hi. I tried border-collapse='separate' and - while this worked OK for a simple table It doesn't work for tables with cells spanning rows (see attached - which also has border-separation='1pt'). I think this could qualify as a bug. Mike -Original Message- F

RE: Border confusion

2003-06-19 Thread Mike Trotman
our and style then I can ignore the rendering order problem for the moment. I'm re-reading the border+space behaviours and precedence settings now. Thanks again. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 20:47 To: [EMAIL PROTECTED] Subject: Re: Bo

Border confusion

2003-06-18 Thread Mike Trotman
Title: Message I am confused about where borders are drawn and their priority/sequence.   I thought borders were drawn WITHIN the border rectangle - rather than centred on it's edge. I also thought that borders would be non-overlapping for table-cells - if not is there a way to achieve this

RE: FOP - use in PIPE as command line tool.

2003-05-14 Thread Mike Trotman
option.) -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 14 May 2003 17:50 To: [EMAIL PROTECTED] Subject: Re: FOP - use in PIPE as command line tool. There's nothing built-in. You would have to implement it yourself. On 14.05.2003 18:13:35 Mike Trotman wrote:

FOP - use in PIPE as command line tool.

2003-05-14 Thread Mike Trotman
Title: Message Is it possible to configure FOP to read standard input for it's FO source?   I want to use it at the end of a pipe (as my intermediate XML documents are getting very large) but can't see any options to do this - and I'm not very familiar with Java so haven't looked at the so

RE: External links around graphics (no text) don't work.

2003-02-21 Thread Mike Trotman
graphics (no text) don't work. Mike Trotman wrote: > I am using FOP to produce PDF output. I need to produce a graphic > which is a link to a web page. The external link feature works fine if > the content is text - but if it is only a graphic then I can't find > the l

External links around graphics (no text) don't work.

2003-02-21 Thread Mike Trotman
text seems to get the link.   Anyone else encountered this or knows a fix?   Mike Trotman   Datalucid Limited  

RE: Common formatting

2003-02-21 Thread Mike Trotman
nce of the attributes and if they reformat the context element but as a general approach it is pretty flexible and nice and modular / re-useable and can also provide CSS stylesheets so I get HTML looking same as PDF. Mike Trotman -Original Message- From: Matthew Lancashire [mailto:[EMAIL