Skip to main content



      Home
Home » Archived » BIRT » Problems with PDF
Problems with PDF [message #62611] Fri, 29 July 2005 07:06 Go to next message
Eclipse UserFriend
Originally posted by: pb.entimo.com

Hallo,
I want to create a PDF-report in my application by BIRT engine 1.0.0.
The same HTML-report works fine.

The engine is successful initialized.

....
IRunAndRenderTask task = engine.createRunAndRenderTask( report );
HTMLRenderOption options = new HTMLRenderOption( );

String format = HTMLRenderOption.OUTPUT_FORMAT_PDF;
options.setOutputFormat( format );
String output = name.replaceFirst( ".rptdesign", "." + format );
options.setOutputFileName(output );
task.setRenderOption( options );
try
{
task.run( );
}
....

I get the error messages and warnings below during the command task.run( ).
Can anyone help me to avoid the messages:
- SCHWERWIEGEND: property - "text-transform" is not implemented yet.
- SCHWERWIEGEND: Error in letter-spacing property value 'normal':
- INFO: area contents overflows area in line SAS

Thx Peter

29.07.2005 12:57:01 org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 15 Milliseconds.
29.07.2005 12:57:01 org.eclipse.birt.data.engine.impl.DataEngineImpl <init>
INFO: Data Engine starts up
29.07.2005 12:57:14
org.eclipse.birt.report.engine.content.impl.MasterPageConten t
initSimpleMasterPage
INFO: The property HeaderHeight is not set. Use Default 1 cm.
29.07.2005 12:57:14
org.eclipse.birt.report.engine.content.impl.MasterPageConten t
initSimpleMasterPage
INFO: The property FooterHeight is not set. Use default 1 cm.
line 1 column 1 - Warning: inserting missing 'title' element

29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: building formatting object tree
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: setting up fonts
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: property - "text-transform" is not implemented yet.
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: Error in letter-spacing property value 'normal':
org.apache.fop.fo.expr.PropertyException: No conversion defined
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: property - "word-spacing" is not implemented yet.
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: property - "text-transform" is not implemented yet.
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: Error in letter-spacing property value 'normal':
org.apache.fop.fo.expr.PropertyException: No conversion defined
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: property - "word-spacing" is not implemented yet.
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: unknown length unit 'e15in'
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: [1]
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger error
SCHWERWIEGEND: At least one of minimum, optimum, or maximum IPD must be
specified on table.
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger warn
WARNUNG: Zero-width table column!
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line ---
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line SCSM
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line ---
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line SAS
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line Log
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line Now
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line Switched
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line to
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line This
29.07.2005 12:57:14 org.apache.avalon.framework.logger.Jdk14Logger info
INFO: area contents overflows area in line Destination
29.07.2005 12:57:15 org.eclipse.birt.data.engine.impl.DataEngineImpl
shutdown
INFO: Data engine shuts down
Re: Problems with PDF [message #62688 is a reply to message #62611] Fri, 29 July 2005 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pb.entimo.com

Hallo,
I have forgotten to copy the following execption to the mail. Sorry!
This message only appears at first time of report creation.


29.07.2005 15:39:05 org.eclipse.birt.report.engine.emitter.fop.FOP
getDefaultConfigURL INFO: java.net.MalformedURLException: no protocol:
fop.xml java.net.MalformedURLException: no protocol: fop.xml
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at
org.eclipse.birt.report.engine.emitter.fop.FOP.getDefaultCon figURL(FOP.ja
va:221) at
org.eclipse.birt.report.engine.emitter.fop.FOP.loadFOPConfig (FOP.java:104
) at
org.eclipse.birt.report.engine.emitter.fop.FOP.<init>(FOP.java:148)
at
org.eclipse.birt.report.engine.emitter.fop.FOPReportEmitter. endReport(FOP
ReportEmitter.java:278) at
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExec
utor.java:200) at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRender
Task.java:152) at
com.entimo.hyperion.ui.views.SASLogViewerPrintAction.runBIRT Print(SASLogV
iewerPrintAction.java:113) at
com.entimo.hyperion.ui.views.SASLogViewerPrintAction.run(SAS LogViewerPrin
tAction.java:38) at
org.eclipse.jface.action.Action.runWithEvent(Action.java:881 ) at
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:21
2) at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act
ionContributionItem.java:915) at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi
onItem.java:866) at
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContr
ibutionItem.java:824) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:25
4) at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at
com.entimo.hyperion.product.HyperionApp.run(HyperionApp.java :167)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivat
or.java:335) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:2
73) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1
29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Re: Problems with PDF [message #63236 is a reply to message #62688] Mon, 01 August 2005 07:22 Go to previous message
Eclipse UserFriend
Hi,

I also seem to have this exception the first time I try to run a report.
Is something not being initialised the first time round?

Nathan

Peter Bars wrote:
> Hallo,
> I have forgotten to copy the following execption to the mail. Sorry!
> This message only appears at first time of report creation.
>
>
> 29.07.2005 15:39:05 org.eclipse.birt.report.engine.emitter.fop.FOP
> getDefaultConfigURL INFO: java.net.MalformedURLException: no protocol:
> fop.xml java.net.MalformedURLException: no protocol: fop.xml
> at java.net.URL.<init>(Unknown Source)
> at java.net.URL.<init>(Unknown Source)
> at
> org.eclipse.birt.report.engine.emitter.fop.FOP.getDefaultCon figURL(FOP.ja
> va:221) at
> org.eclipse.birt.report.engine.emitter.fop.FOP.loadFOPConfig (FOP.java:104
> ) at
> org.eclipse.birt.report.engine.emitter.fop.FOP.<init>(FOP.java:148)
> at
> org.eclipse.birt.report.engine.emitter.fop.FOPReportEmitter. endReport(FOP
> ReportEmitter.java:278) at
> org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExec
> utor.java:200) at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRender
> Task.java:152) at
> com.entimo.hyperion.ui.views.SASLogViewerPrintAction.runBIRT Print(SASLogV
> iewerPrintAction.java:113) at
> com.entimo.hyperion.ui.views.SASLogViewerPrintAction.run(SAS LogViewerPrin
> tAction.java:38) at
> org.eclipse.jface.action.Action.runWithEvent(Action.java:881 ) at
> org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:21
> 2) at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act
> ionContributionItem.java:915) at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi
> onItem.java:866) at
> org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContr
> ibutionItem.java:824) at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82) at
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:25
> 4) at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at
> com.entimo.hyperion.product.HyperionApp.run(HyperionApp.java :167)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivat
> or.java:335) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:2
> 73) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1
> 29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)
>
>
Previous Topic:Problem in creating a basic chart
Next Topic:Problems creating a basic pie chart
Goto Forum:
  


Current Time: Mon May 12 11:59:28 EDT 2025

Powered by FUDForum. Page generated in 0.06186 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top