Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
what are the default image file names if HTMLRenderOption.setImageHandler option not used
ghredsdswww
<p>Hello, I would like to know what are the default image file names assigned</p>
<p>if HTMLRenderOption.setImageHandler is not used.</p>
<p> </p>
<p>What are the unique file names that are created, what is their format? (please see below</p>
<p>BIRT provides two implementations of the IHTMLImageHandler interface. Both implementations create unique image file names for temporary images.)</p>
<p> </p>
<p>The documentation states:</p>
<p> </p>
<p>Call the HTMLRenderOption.setImageHandler( ) method to configure the image handler. This method determines how to save the image files by using an org.eclipse.birt.report.engine.api.IHTMLImageHandler object. Images defined in a report as a URL are not saved locally. BIRT provides two implementations of the IHTMLImageHandler interface. Both implementations create unique image file names for temporary images.</p>
<div>The default image handler implementation, HTMLCompleteImageHandler, saves images to the file system.</div>
<div> </div>
<div>Use this implementation for a stand-alone application or for a web application that uses file system deployment on the application server. This image handler finds the location for images by searching first for the image directory set in the HTMLRenderOption object, next the temporary files directory as set by the EngineConfig.setTempDir( ) method, and finally the location set by the system setting, java.io.tmpdir. All images in the generated HTML use file references to the created images.</div>
<div> </div>
<div>Thanks</div>
Find more posts tagged with
Comments
malaythecool
<p>if simply say than its nothing</p>
<p> </p>
<p>its for reference purpose only when you want to add some image in your render option</p>
<p> </p>
<p>you can also comment it and it gives same output as you are receiving i had checked tht same</p>
<p> </p>
<p>Malay</p>