Re: Emulate keep-with-next.within-page

2004-09-08 Thread J.Pietschmann
Sönke Ruempler wrote:
Another thing. Can i use this template for all headings or do i have to copy
it for each h-tag?
There are ways to do it. This question, as well as your other
XSLT questions, are usually better handled on the XSL list:
 http://www.mulberrytech.com/xsl/xsl-list/
Check the FAQ and the list archives, you'll find all the
original answers already there.
J.Pietschmann

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


Re: FOP PDF with images from eXist database

2004-09-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
--10:12:10--  http://localhost:8080/exist/servlet/db/logo.jpg 
...
 5 Content-Type: text/xml; charset=UTF-8
   
FOP wont recognize this as an image.
I don't have an idea how to fix this. 
Me too. Other than that, check your server configuration,
check whether you actually override the server configuration
in your servlet, and if all else fails, ask on the jetty list.
This is not a FOP problem.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

2004-09-08 Thread J.Pietschmann
Eldho George wrote:
I would like to know *how can I create template for manipulating 
embedded and external style sheet present in the html page? Is it possible?*
Google for html2fo and/or xhtml2fo. First hit
 http://html2fo.sourceforge.net/
In general, they don't bother to emulate the full pattern
matching process. And please stop posting mails from MS Word.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Jfor/Headlines

2004-09-08 Thread J.Pietschmann
Johannes Franz wrote:
because the jfor mailing list seems somewhat inactive i am asking my 
question in this mailing list. Does anybody know if there is a 
possibility to use the word/rtf functions for headlines? Like different 
levels of headlines and so on? Or does fo only support simple functions 
and nothing so specialized.
XSLFO doesn't have headlines. I don't think JFOR implements enough
AI to discover headlines in a FO document, therefore I doubt it
emits RTF headline markup.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Pyjama stripes - for each 5 rows

2004-09-08 Thread J.Pietschmann
Avula, Srini wrote:
I have long list of students to display for each centre. I would like to
change background colour of each 5th row or space between 5 and 6th
rows.
Also check Jeni's pages
  http://www.jenitennison.com/xslt/grouping/index.html
and google for the term grouping by position.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

2004-09-08 Thread Eldho George
Hai all
Thanks clay Leeds.
Thank you for your nice reply. I got your idea.But again some
problem.Actually my problem is to create a pdf converter.It is able to
convert  any  web page into pdf.Whenever an external stylesheet present in
the html file I want to read that css file and read each value from css and
use it with corresponding template.

According to your suggestion, I have to create different attribute set
depending upon the css.I would like to know how can i dynamically insert
these attribute set into corresponding template.Classes are also present in
the css.How can i solve this problem



Thanks and Regards

Eldho George
Junior Software Engineer
Ocwen Financial Solution Pvt.Ltd.
Ph:56671234-1050


-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 07, 2004 11:09 PM
To: [EMAIL PROTECTED]
Subject: Re: how can I create template for manipulating embedded and
external style sheet present in the html page? Is it possible?

On Sep 6, 2004, at 7:06 AM, Eldho George wrote:
 Hi,

 I would like to know how can I create template for manipulating 
 embedded and external style sheet present in the html page? Is it 
 possible?

 Please help meplease tell me is it possible with 
 xslt+xsl-fo? I already created template for processing inline style 
 attribute.

Is it possible for you to create an attribute-set and use that to 
modify your pages/tables, etc. document-wide? Here's a link which might 
help[1].

BTW, this isn't a tool for 'converting' a CSS file to XSL/XSLT. You 
would have to set up an attribute-set, and then implement it for the 
document using the use-attribute-set attribute.

Hope this helps!

Web Maestro Clay

[1]
http://www.xml.com/lpt/a/2003/06/11/short-xslt.html


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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


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



Can I apply the url content to html2fo dynamically?

2004-09-08 Thread Eldho George


HAI ALL

Thank you Pietschmann.
I have some doubt about html2fo.Actually my problem is to I want to create
pdf converter.Whenevr the user clicking on the print button in the web page
it calls a servlet.The servlet redading the url content.Then iam apply w3c
tidy to clean html page.I create the formatting object tree using xslt.In
xslt I cretaed template for most of the html 4.0 tags.I would like to know 
Can I apply the url content to html2fo dynamically?Can I use it as a library
file inside my java program.can I dynamically pass the output of html2fo to
fop and render it to pdf?please help me.I am not expert in all these t
echnologies.

Tahnks in advance
george



-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 5:20 AM
To: [EMAIL PROTECTED]
Subject: Re: how can I create template for manipulating embedded and
external style sheet present in the html page? Is it possible?

Eldho George wrote:
 I would like to know *how can I create template for manipulating 
 embedded and external style sheet present in the html page? Is it
possible?*

Google for html2fo and/or xhtml2fo. First hit
  http://html2fo.sourceforge.net/

In general, they don't bother to emulate the full pattern
matching process. And please stop posting mails from MS Word.

J.Pietschmann

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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


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



About FOP newbie

2004-09-08 Thread Eng. Mina r. Fahmy
Hello as i said in the message's subject,i'm a new fop user and ,i know Java as a not bad level but not good in XML so what i should takeit as a good reference asastart in XMLand also has a relationwith Java and FOP ;how to start as a developer please i need a good guide for me .. as soon as possible and thanksYours Mina R.
-- 
___
Check out the latest SMS services @ www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

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



Re: About FOP newbie

2004-09-08 Thread Holger Dehnhardt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Mina,

first of all: Please use plain text not HTML when you post to user groups.

A lot of XML issues are covered at http://www.xml.com/. It helped me a lot!
Also see the FOP pages and FAQs for Java implementation.
http://xml.apache.org/fop/embedding.html
http://xml.apache.org/fop/faq.html

Holger

Am Mittwoch, 8. September 2004 10:19 schrieb Eng. Mina r. Fahmy:
 Hello as i said in the message's subject, i'm a new fop user and ,
 i know Java as a not bad level but not good in XML so what i should take
 it as a good reference as a start in XML and also has a relation with Java
 and FOP ; how to start as a developer please i need a good guide for me .. 
 as soon as possible and thanks
 Yours Mina R.


  --

 ___
 Check out the latest SMS services @ www.linuxmail.org
 This allows you to send and receive SMS through your mailbox.

  Powered by Outblaze
 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional
 commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBPsPC1ZVW9AajbE4RAnzDAJsExkUwKiBB2msxVO1kd1MnYLND1ACeMckz
5IipzLxmq2ru3ScTX4wCvIw=
=Ajc1
-END PGP SIGNATURE-

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



Re: Probably simple build issue

2004-09-08 Thread Chris Bowditch
Thomson, Alisa wrote:
I have installed FOP 0.20.5 and ant 1.6.1 running JDK 1.4.2_03.  I was just trying to run build -projecthelp and I received the error below.  ant.jar is in my Classpath.  I know why I am receiving the error...it is because org/apache/tools/ant/launch/AntMain does not exist in that jar file.  I looked in build.bat that came with the FOP installation and it is looking for ant 1.5.1, so for grins I downloaded that version and org/apache/tools/ant/launch/AntMain does not exist in that jar file either.  I did find it in my current ant installation in ant-launcher.jar.  Any ideas why it is looking for this class and how do I get around this?
To build FOP 0.20.5 you dont need a separate install of Ant. The JAR file 
Ant-1.5.1.jar is distributed in FOP's lib sub directory. The build.bat, sets 
the ANT_HOME to FOP's lib sub directory and thats all you should need to do.

As a guess I would say its not working for you because you have ANT_HOME set 
to the root directory of the Ant install and not Ant\lib sub directory.

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


RE: !newbie generating pdf from xml-source as stream

2004-09-08 Thread Braumüller, Hans
Hi Pietschmann,

thanks for your patience, i know it is not easy alwasy answering always the 
same questions. But i have not been luckily with my research, fag, search 
engines, etc.

Does your browser open a PDF viewer? 
No!
Do you get error messages? Which messages? Yes, please see below.

Can you download the expected content using a command line tool?
Yes i can perform the operation with saving the xml-source as file and then 
transform over fop.bat by command line.


I have log all the steps in Tomcat 4.2.9, i am using java 1.4.

Here it goes:
2004-09-08 10:36:10 START of PDF
2004-09-08 10:36:10 actionId == 10
2004-09-08 10:36:10 try
2004-09-08 10:36:10 if (logPDF == null)
2004-09-08 10:36:10 sXSL: 
http://localhost:8080/ho/cfcreports/xsl/cfcreportpdf.xsl
2004-09-08 10:36:10 sReturnString: ?xml version=1.0 encoding=ISO-8859-1?
?xml-stylesheet 
href=http://localhost:8080/ho/cfcreports/xsl/cfcreportpdf.xsl; 
type=text/xsl?
root lang=en
user
nameAdministrator/name
nr1/nr
/user
interaction
api
uricfcreports/uri
name/name
/api
maskStatus/maskStatus
maskStatusInteger0/maskStatusInteger
selectdocumenttrue/selectdocument
/interactionhead
titleAccount Posting/title
  /head
bodytabelle name=R_KONTOBUCHUNG title=account posting rows=180
... etc
/row
/tabelle/body/root
2004-09-08 10:36:10 xslSource: [EMAIL PROTECTED]
2004-09-08 10:36:10 xmlSource: [EMAIL PROTECTED]
2004-09-08 10:36:10 catch (Exception e)org.apache.fop.apps.FOPException: 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: java.net.MalformedURLException
2004-09-08 10:36:10 END of PDF
2004-09-08 10:36:10 END ofdoGetPost(HttpServletRequest request, 
HttpServletResponse response)

the sReturnString comes from a java instance as string,
the stylesheet is for testing hardcoded:
String sHost = hoToolSet.getHttpProtocol( c_request ) + :// + 
c_request.getHeader(host);
String sXSL = sHost + /ho/cfcreports/xsl/cfcreportpdf.xsl;
Because of an exception the call
XSLTInputHandler input = new XSLTInputHandler(xslSource, xmlSource); is not 
performed.

The CODE:

snip
log(START of PDF);
log(actionId == 10);

// Source xslSource =  new SAXSource(new InputSource(new 
URL(sXSL).openStream()));
// Source xmlSource = new SAXSource(new InputSource(new 
StringReader(sReturnString)));
// ByteArrayInputStream xmlin = new 
ByteArrayInputStream(xml.getBytes()); 
//ByteArrayInputStream xslin = new 
ByteArrayInputStream(xsl.getBytes()); 
 try {
log(try);
if (logPDF == null)
{
log(if (logPDF == null));
logPDF = new 
ConsoleLogger(ConsoleLogger.LEVEL_INFO);
MessageHandler.setScreenLogger(logPDF);
}
String sHost = hoToolSet.getHttpProtocol( 
c_request ) + :// + c_request.getHeader(host);
String sXSL = sHost + 
/ho/cfcreports/xsl/cfcreportpdf.xsl;
log(sXSL:  +  sXSL);
log(sReturnString:  +  sReturnString);
InputSource xslSource = new 
InputSource(new URL(sXSL).openStream());
InputSource xmlSource = new InputSource (new 
StringReader(sReturnString));
log(xslSource:  +  xslSource);
log(xmlSource:  +  xmlSource);
XSLTInputHandler input = new 
XSLTInputHandler(xslSource, xmlSource); 
//StreamSource xmlSource = new StreamSource(new 
StringReader(sReturnString));
log(actionId == 10 go to renderXML );
renderXML(input, c_response);
}
catch (Exception e)
{
log(catch (Exception e) + e);
}
log(END of PDF);
/snip

Thanks,

Hans Braumüller

Braumüller wrote:
 i am trying to generate pdf on fly from dynamic xml-source
...
 What is wrong ?

I have no idea. Would you care to describe what you expect,
and what you got instead?
Does your browser open a PDF viewer? Do you get error
messages? Which messages? Can you download the expected
content using a command line tool?

BTW
  InputSource xmlSource =
new InputSource(new StringReader(sReturnString));
In 99% of all cases I've seen this kind of code
indicates either a major design flaw or that you are
using the wrong tool to solve your problem.

J.Pietschmann



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

Re: About FOP newbie

2004-09-08 Thread John Burgess



Also, Elliott rusty Harold's The XML Bible is a 
good starting place

  - Original Message - 
  From: 
  Eng. 
  Mina r. Fahmy 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, September 08, 2004 9:19 
  AM
  Subject: About FOP newbie
  
  Hello as i said in the message's subject,i'm a new fop user and 
  ,i know Java as a not bad level but not good in XML so what i should 
  takeit as a good reference asastart in XMLand also has a 
  relationwith Java and FOP ;how to start as a developer please i need 
  a good guide for me .. as soon as possible and thanksYours Mina 
  R.-- 
  ___ Check out the latest 
  SMS services @ www.linuxmail.org This allows you 
  to send and receive SMS through your mailbox.
  Powered by Outblaze 
  - To 
  unsubscribe, e-mail: [EMAIL PROTECTED] For additional 
  commands, e-mail: [EMAIL PROTECTED] 
  
  ---Outgoing mail is certified Virus Free.Checked by AVG 
  anti-virus system (http://www.grisoft.com).Version: 6.0.747 
  / Virus Database: 499 - Release Date: 03/09/04


RE: !newbie generating pdf from xml-source as stream

2004-09-08 Thread Braumüller, Hans
Hello,

after testing again i noticed, that i do the call to
XSLTInputHandler with the parameters wrong, now 
i do the same code with
XSLTInputHandler input = new XSLTInputHandler(xmlSource, xslSource); 
and get the a fatal error by rendering: [Fatal Error] :1:1: Premature end of 
file.

2004-09-08 11:46:00 xslSource: [EMAIL PROTECTED]
2004-09-08 11:46:00 xmlSource: [EMAIL PROTECTED]
2004-09-08 11:46:00 actionId == 10 go to renderXML
2004-09-08 11:46:00 renderXML
2004-09-08 11:46:02 catch (Exception e)javax.servlet.ServletException: 
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: 
Premature end of file.
2004-09-08 11:46:02 END of PDF
2004-09-08 11:46:02 END ofdoGetPost(HttpServletRequest request, 
HttpServletResponse response)
2004-09-08 11:46:03 doGetPost() Request: test.pdf:;
HEADER: accept:*/*;accept-encoding:gzip, deflate;user-agent:Mozilla/4.0 
(compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 
1.1.4322);host:localhost:8080;connection:Keep-Alive;cookie:JSESSIONID=D6B77EAFB03D2225EDE631A163F88B92;

the code:

snip
public void renderXML(XSLTInputHandler input,
  HttpServletResponse response) throws ServletException 
{
try {
log(renderXML);
ByteArrayOutputStream out = new ByteArrayOutputStream();

response.setContentType(application/pdf);
//response.setHeader(   Content-disposition,inline; 
filename=test.pdf );

Driver driver = new Driver();
driver.setLogger(logPDF);
driver.setRenderer(Driver.RENDER_PDF);
driver.setOutputStream(out);
driver.render(input.getParser(), input.getInputSource());

byte[] content = out.toByteArray();
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();
} catch (Exception ex) {
throw new ServletException(ex);
}
}
/snip





Does your browser open a PDF viewer? 
No!
Do you get error messages? Which messages? Yes, please see below.

Can you download the expected content using a command line tool?
Yes i can perform the operation with saving the xml-source as file and then 
transform over fop.bat by command line.


I have log all the steps in Tomcat 4.2.9, i am using java 1.4.

Here it goes:
2004-09-08 10:36:10 START of PDF
2004-09-08 10:36:10 actionId == 10
2004-09-08 10:36:10 try
2004-09-08 10:36:10 if (logPDF == null)
2004-09-08 10:36:10 sXSL: 
http://localhost:8080/ho/cfcreports/xsl/cfcreportpdf.xsl
2004-09-08 10:36:10 sReturnString: ?xml version=1.0 encoding=ISO-8859-1?
?xml-stylesheet 
href=http://localhost:8080/ho/cfcreports/xsl/cfcreportpdf.xsl; 
type=text/xsl?
root lang=en
user
nameAdministrator/name
nr1/nr
/user
interaction
api
uricfcreports/uri
name/name
/api
maskStatus/maskStatus
maskStatusInteger0/maskStatusInteger
selectdocumenttrue/selectdocument
/interactionhead
titleAccount Posting/title
  /head
bodytabelle name=R_KONTOBUCHUNG title=account posting rows=180
... etc
/row
/tabelle/body/root
2004-09-08 10:36:10 xslSource: [EMAIL PROTECTED]
2004-09-08 10:36:10 xmlSource: [EMAIL PROTECTED]
2004-09-08 10:36:10 catch (Exception e)org.apache.fop.apps.FOPException: 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: java.net.MalformedURLException
2004-09-08 10:36:10 END of PDF
2004-09-08 10:36:10 END ofdoGetPost(HttpServletRequest request, 
HttpServletResponse response)

the sReturnString comes from a java instance as string,
the stylesheet is for testing hardcoded:
String sHost = hoToolSet.getHttpProtocol( c_request ) + :// + 
c_request.getHeader(host);
String sXSL = sHost + /ho/cfcreports/xsl/cfcreportpdf.xsl;
Because of an exception the call
XSLTInputHandler input = new XSLTInputHandler(xslSource, xmlSource); is not 
performed.

The CODE:

snip
log(START of PDF);
log(actionId == 10);

// Source xslSource =  new SAXSource(new InputSource(new 
URL(sXSL).openStream()));
// Source xmlSource = new SAXSource(new InputSource(new 
StringReader(sReturnString)));
// ByteArrayInputStream xmlin = new 
ByteArrayInputStream(xml.getBytes()); 
//ByteArrayInputStream xslin = new 
ByteArrayInputStream(xsl.getBytes()); 
 try {
log(try);
if (logPDF == null)
{
log(if (logPDF == null));
logPDF = new 
ConsoleLogger(ConsoleLogger.LEVEL_INFO);
MessageHandler.setScreenLogger(logPDF);
}
String sHost = hoToolSet.getHttpProtocol( 
c_request ) + :// + c_request.getHeader(host);
String sXSL = sHost + 

Re: About FOP newbie

2004-09-08 Thread emad nabil

i can be your guru l'l bro. but please ana fot 3aleek
embare7 wa la 7ayata leman tonady :)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



RE: Probably simple build issue

2004-09-08 Thread Thomson, Alisa
Response to: Probably simple build issue [EMAIL PROTECTED]msgNo=12064 
(Thomson, Alisa) 
Date: Wed, 08 Sep 2004 09:42:47 +0100
From: Chris Bowditch [EMAIL PROTECTED]
Subject: Probably simple build issue
Content-Type: text/plain; charset=us-ascii; format=flowed

Thomson, Alisa wrote:

 I have installed FOP 0.20.5 and ant 1.6.1 running JDK 1.4.2_03.  I was just 
 trying to run build -projecthelp and I received the error below.  ant.jar is 
 in my Classpath.  I know why I am receiving the error...it is because 
 org/apache/tools/ant/launch/AntMain does not exist in that jar file.  I 
 looked in build.bat that came with the FOP installation and it is looking for 
 ant 1.5.1, so for grins I downloaded that version and 
 org/apache/tools/ant/launch/AntMain does not exist in that jar file either.  
 I did find it in my current ant installation in ant-launcher.jar.  Any ideas 
 why it is looking for this class and how do I get around this?

To build FOP 0.20.5 you dont need a separate install of Ant. The JAR file 
Ant-1.5.1.jar is distributed in FOP's lib sub directory. The build.bat, sets 
the ANT_HOME to FOP's lib sub directory and thats all you should need to do.

As a guess I would say its not working for you because you have ANT_HOME set 
to the root directory of the Ant install and not Ant\lib sub directory.

Chris

snip/

I saw that build.bat referenced that ant install in the FOP lib directory, but 
it did not exist.  I even downloaded FOP again to make sure I didn't have a bad 
install and the ant jar file was not there.  I have tried setting ANT_HOME to 
the ant/lib directory and that did not work either.  I can just run build.bat 
and all of the samples compile fine.  Still not sure what is causing the above 
problem, but I am able to compile the samples.

Thanks.


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



problem with image border

2004-09-08 Thread Eldho George








Hai all



I have some problem with image border.If border attribute is
present in image; the PDF will show the image width on the entire page width. 

That means, at the right hand side of the image, the image
border drawn up to the end of the page width. How can I solve this problem...please
help me..Following is the
template for image



xsl:attribute-set
name="img"

xsl:attribute
name=border-stylesolid/xsl:attribute

xsl:attribute
name=border-colorblack/xsl:attribute

xsl:attribute name=border-width1pt/xsl:attribute

/xsl:attribute-set



fo:block
xsl:use-attribute-sets="img"

fo:external-graphic 

/fo:external
graphic

/fo:block



please help me

Thanks in advance

george









**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**






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

2004-09-08 Thread Clay Leeds
On Sep 7, 2004, at 10:13 PM, Eldho George wrote:
Hai all
Thanks clay Leeds.
Thank you for your nice reply. I got your idea.But again some
problem.Actually my problem is to create a pdf converter.It is able to
convert  any  web page into pdf.Whenever an external stylesheet 
present in
the html file I want to read that css file and read each value from 
css and
use it with corresponding template.

According to your suggestion, I have to create different attribute set
depending upon the css.I would like to know how can i dynamically 
insert
these attribute set into corresponding template.Classes are also 
present in
the css.How can i solve this problem
I don't know the answer to these questions. I would suspect you would 
want to create one attribute set which holds your 'defaults' 
(font-family, font-size, color, background-color, etc.) and then a 
different attribute-set for each 'class'. You (or someone you hire) can 
probably write something fairly quickly, which will take a CSS file, 
and output an attribute-set. If you do, it would be great if you could 
post it back for others to use.

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


Can i get users default printers IP address?

2004-09-08 Thread Manoj_Nair
I have users accessing PDF docs from my webserver ( weblogic). I am using
the XML - PDF conversion using FOP. Is there a way I can read the users
default printers IP address when he makes a request?  That way I can
somehow spool the PDF or PCL file directly to his printer.

Thanks





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