 |
 |
 |
 |
 |
PDF Generating Tool Support Forum |
 |
|
Subject: css @media parsing |
|
|
Hi
I am using the pd4ml 3.70., but having an an issue with the css, so i want to make some special exceptions in the css for my pdf.
@media pdf{ } is working fine, but it is still rendering what is inside @media screen{} even though i have set the parameter pd4ml.media.type.print to be "override".
I know i can add a media="screen" to the stylesheet link tag in the html, that works.
But any way, i can get pd4ml to ignore what is inside @media screen{}?
|
|
| |
 |
Subject: Re: css @media parsing PD4ML
Posted: 04 Jan 2011, 16:21 |
|
|
We've just fixed the issue. An updated version will be available for download in about two weeks.
|
|
| |
 |
Subject: Re: css @media parsing |
|
|
We have a similar problem where we have the following in our css
@media screen and (-webkit-min-device-pixel-ratio:0) { div.gridDefault .ASC, div.gridDefault .DESC{ display: -webkit-inline-box; } div.cellIn { display: table-cell; padding-top: 0px; width: 20px; } }
But we are getting a org.w3c.css.sac.CSSException: Encountered "and" at line 1, column 34370. > Was expecting one of: > <S> ... > "{" ... > "," ... > > at com.steadystate.css.parser.SACParser.parseStyleSheet(Unknown Source) > at org.zefer.html.doc.css.d.Ò00000(Unknown Source) > at org.zefer.html.doc.css.c.super(Unknown Source) > at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source) > at org.zefer.pd4ml.PD4ML.o00000(Unknown Source) > at org.zefer.pd4ml.PD4ML.render(Unknown Source)
Can you please let me know the solution to this issue?
|
|
| |
 |
Subject: Re: css @media parsing PD4ML
Posted: 20 Jul 2011, 16:15 |
|
|
It is CSS3 syntax, CSS Parser project library (ss_css2.jar) does not support.
Currently we do some estimations if it can be fixed with moderate efforts.
|
|
| |
 |
Subject: Re: css @media parsing Javi
Posted: 27 Sep 2011, 17:19 |
|
|
Hi all,
have you got any idea if this issue will be fixed?
Regards,
|
|
| |
 |

|
 |
 |
|
 |
Copyright ©2004-10 zefer|org. All rights reserved. |
|
|
 |
|
 |