Hi,
we are at the same point for the moment...
The point that is interessant is this line when you try to print the
barcode :
ModelScreenWidget.java:972:WARN ] In platform-dependent could not find
template for xsl-fo, using the one for html.
So it seems that there is no subWidget defined for printing the xsl-fo
file, or it has a null value.
ModelScreenWidget subWidget = null;
subWidget =
(ModelScreenWidget)subWidgets.get(screenStringRenderer.getRendererName());
if (subWidget == null) {
// This is here for backward compatibility
Debug.logWarning("In platform-dependent could not find
template for " + screenStringRenderer.getRendererName() + ", using the
one for html.", module);
subWidget = (ModelScreenWidget)subWidgets.get("html");
}
if (subWidget != null) {
subWidget.renderWidgetString(writer, context,
screenStringRenderer);
}
So, maybe there is something to dig in this direction or maybe I'm
totally on the wrong idea !
Cheers,
Santosh Malviya a écrit :
Hello Erwan,
Thanks for your reply, following your suggestion I downloaded the jar
barcode4j-fop-ext-complete.jar from link
http://sourceforge.net/project/showfiles.php?group_id=96670&package_id=103341&release_id=599201,
and put the jar in framework/webapp/lib and also in classpath, but
still I am not able to see barcode in my pdf. Please suggest if I am
missing something.
Thanks and Regards
Santosh Malviya
Erwan de FERRIERES wrote:
the problem is not from the website, I've been trying to generate
barcodes with an older version and it is working.
For the fop barcode library, it is said that with fop 0.95 it's better
to use the 2.0 to make it work, but this changes nothing. you have to
put the new library (barcode4j-fop-ext-complete.jar) in
framework/webapp/lib/ and update your .classpath file.
Santosh Malviya a écrit :
Hello all,
We are facing a problem of generating bar code inside pdf, same
problem with OOTB but it was being generated until few days back,
cause may be the following site in the code <barcode:barcode
xmlns:barcode="http://barcode4j.krysalis.org/ns" />. When we try to
open this site there is an error message of "The page can't be
found". Because of this site used in the code we get following
error/warning on console : 2009-03-17 15:00:39,847
(http-0.0.0.0-8443-1) [ElementMappingRegistry.java:147:WARN ] Unknown
formatting object http://barcode4j.krysalis.org/ns^barcode
2009-03-17 15:00:39,849 (http-0.0.0.0-8443-1)
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object
http://barcode4j.krysalis.org/ns^ean-8
2009-03-17 15:00:39,850 (http-0.0.0.0-8443-1)
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object
http://barcode4j.krysalis.org/ns^code39
2009-03-17 15:00:39,851 (http-0.0.0.0-8443-1)
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object
http://barcode4j.krysalis.org/ns^height
2009-03-17 15:00:39,851 (http-0.0.0.0-8443-1)
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object
http://barcode4j.krysalis.org/ns^module-width
2009-03-17 15:00:39,855 (http-0.0.0.0-8443-1) [
PropertyList.java:423:ERROR] Ignoring property: text-align="bottom"
(null:164:84: No conversion defined bottom; property:'text-align')
2009-03-17 15:00:39,898 (http-0.0.0.0-8443-1)
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of
instream-foreign-object could not be determined
2009-03-17 15:00:39,900 (http-0.0.0.0-8443-1)
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of
instream-foreign-object could not be determined
2009-03-17 15:00:39,900 (http-0.0.0.0-8443-1)
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of
instream-foreign-object could not be determined
2009-03-17 15:00:39,907 (http-0.0.0.0-8443-1) [
LineLayoutManager.java:384:WARN ] Line 1 of a paragraph overflows the
available area. (fo:block, location: 188/24)
Please suggest if any solution for this problem.
Thanks in advance.
Thanks and Regards
Santosh Malviya
--
- Erwan -