Jump to content
We've recently updated our Privacy Statement, available here ×

sledgeas

Members
  • Posts

    11
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by sledgeas

  1. Dear all,

    The property net.sf.jasperreports.export.xls.detect.cell.type is set to true, and works for iReport 3.1.4 (xls export shows normal numbers of Integer and Long field types).

    After it I tried on 3.6.2 and 3.7.2 and the Integer and Long field types appear in Excel (OOo, MS..) with ' apostrophe in front (as a string value).

    Is there a new property appeared between >3.1 and <3.6 what I have to set in addition?

     

    Thanks a huge!

    -- 
    sledge

    PS: why can't i change the topic icon?



    Post Edited by sledgeas at 04/27/2010 08:12
  2. Thanks. But the problem is that I need to shift to the left all columns which are to the right of this hidden one.. Provided there might be some hidden columns among them too (recursion)

     

    Thanks huge, if we break this through

    --
    sledge

  3. Wrote:
     

    Relative paths from .jrxml files to images (or other resources) do not work as you suppose they do (i.e. relative to the .jrxml file).  Instead, all relative paths are considered relative to the JVM current directory.

    You can customize the way files are resolved by setting a value for the REPORT_FILE_RESOLVER parameter.

    HTH,

    Lucian

    Thank you, I have resolved it by adding iReport/templates to the class path.

    As I could not get any documentation of how to use REPORT_FILE_RESOLVER, but thanks anyway.

    Case solved,

    --
    sledge

     

  4.  

    Dear all,After having Java 1.6 installed, iReport 3.0.0 still does notfunction properly. Whenever it has to show the Open File dialog (Open, Save, Add JAR, Add Folder), it throws an exception javax.swing.ImageIcon.<init>(Unknown Source) (look below for full).On the machine the Java JDK and JRE 1.6.0_03 were installed by a sysadmin. iReport was installed without administrative rights.Thank You,[/code]
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException        at javax.swing.ImageIcon.<init>(Unknown Source)        at javax.swing.ImageIcon.<init>(Unknown Source)        at sun.swing.WindowsPlacesBar.<init>(Unknown Source)        atcom.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)        atcom.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)        at javax.swing.plaf.basic.BasicFileChooserUI.installUI(UnknownSource)        atcom.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)        at javax.swing.JComponent.setUI(Unknown Source)        at javax.swing.JFileChooser.updateUI(Unknown Source)        at javax.swing.JFileChooser.setup(Unknown Source)        at javax.swing.JFileChooser.<init>(Unknown Source)        at javax.swing.JFileChooser.<init>(Unknown Source)        at it.businesslogic.ireport.gui.MainFrame.open(MainFrame.java:7046)        atit.businesslogic.ireport.gui.MainFrame.jMenuItemOpenActionPerformed(MainFrame.java:7034)        atit.businesslogic.ireport.gui.MainFrame.access$8200(MainFrame.java:101)        atit.businesslogic.ireport.gui.MainFrame$83.actionPerformed(MainFrame.java:2724)        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)        at javax.swing.AbstractButton$Handler.actionPerformed(UnknownSource)        at javax.swing.DefaultButtonModel.fireActionPerformed(UnknownSource)        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)        at javax.swing.AbstractButton.doClick(Unknown Source)        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)        atjavax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)        at javax.swing.MenuSelectionManager.processMouseEvent(UnknownSource)        atjavax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)        atjava.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)        atjava.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)        at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)        at java.awt.Component.dispatchEventImpl(Unknown Source)        at java.awt.Container.dispatchEventImpl(Unknown Source)        at java.awt.Component.dispatchEvent(Unknown Source)        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)        at java.awt.Container.dispatchEventImpl(Unknown Source)        at java.awt.Window.dispatchEventImpl(Unknown Source)        at java.awt.Component.dispatchEvent(Unknown Source)        at java.awt.EventQueue.dispatchEvent(Unknown Source)        at java.awt.EventDispatchThread.pumpOneEventForFilters(UnknownSource)        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)        at java.awt.EventDispatchThread.pumpEventsForHierarchy(UnknownSource)        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)        at java.awt.EventDispatchThread.run(Unknown Source)-- sledge[/code]

     

  5. I have put an image, which is in the same directory as the template .xml file ($IREPORT_INSTALLATION/templates)

    I refer to it as:
                    <image  scaleImage="FillFrame" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
                        <reportElement
                            x="0"
                            y="0"
                            width="53"
                            height="44"
                            key="image-1"
                            stretchType="RelativeToBandHeight"
                            isPrintInFirstWholeBand="true"/>
                        <box></box>
                        <graphicElement stretchType="RelativeToBandHeight"/>
                        <imageExpression class="java.lang.String"><![CDATA["image.jpg"]]></imageExpression>
                    </image>

    I get errors (through e.g. iReport):

    Error filling print... Byte data not found at location : .logo.jpg
    net.sf.jasperreports.engine.JRException: Byte data not found at location : .logo.jpg     at net.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java:482)
    ...

    Providing absolute path works. I also tried referring to it as ./image.jpg, .\image.jpg but nothing helped.

    Thank you in advance.

    --
    sledge

     

     

  6. Hello,

     

    I have a huge old app, which now requires PDFed reports.

    Reports are generated in HTML. Is there a way of converting HTML output to a PDF? With JasperReports?

     

    Solution should integrate into this existing JSP/[struts], and is dynamic (uses session and other contexts). That's why I cannot use things like pisa (www.htmltopdf.org) or similar.

     

    Thank you very much in advance!

     

    --

    sledge

×
×
  • Create New...