JDAPI: export the visual representation of Canvas to picture

I'm working on JDAPI (Forms2Java API):
and want to implementing a function to export the visual representation of Canvas to picture. Does anyone know how to do it? Please share some sample Java code or guideline of API should be used? Thanks in advance!

There is no "Render"-component in the JDAPI, so you will have to develop that "from scratch"

Similar Messages

  • Hot Corners have visual representation on the screen

    I don't know how I did it, but for any hot corner I have active, there is a visual representation that a corner is a hot corner. I see 1/4 of a circle in a light blue colour. If I turn hot corners off, the little 1/4 circle disappears.
    Any ideas how to get rid of the 1/4 circles from the active hot corners. They never used to be there.
    Thanks, B

    Hi,
    Thanks for your suggestions, but I don't have any of those type of programs installed. I have just got my MBP so have not installed very much at all.
    Only tweak I have applied was to stop the computer waking from sleep when you open the lid, and that was done through terminal.
    I am not too fussed about it, just feel like I have training wheels on

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Using SSRS local mode, receive invalid token error when trying to export the report when running in worker thread

    We're using ASP.net with .Net 4, developing with Visual Studio 2012.  We use SSRS 2012sp1 with local reports, so exporting the report ourselves instead of using a reportviewer control (and not using the SQL Reporting service).  The reports are
    executing fine when we export the report in the main thread, but if we spawn a worker thread and run a report there we receive the following error when calling Render():
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    We only receive this when running a report that uses expressions on a separate thread.  I've tried running the application pool under all the default built-in accounts (NetworkService, etc), and under admin user accounts to no avail.
    This didn't occur with the previous version of our application which used .net 3.5.

    As mentioned, we are not using the Reportviewer control, we are rendering locally.  Not certain if that would make a difference.
    Also, I had tried using all the built-in accounts.  Just for kicks I changed it to LocalSystem again, then reset IIS (see image below).  I then tried to export the report in a worker thread and received the same error.
    Here is the text from the exception:
    Microsoft.Reporting.WebForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.ProcessLoadingExprHostException(ObjectType assemblyHolderObjectType, Exception e, ProcessingErrorCode errorCode)
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.LoadCompiledCode(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, Boolean includeParameters, Boolean parametersOnly, ObjectModelImpl reportObjectModel, ReportRuntimeSetup runtimeSetup)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(Boolean includeParameters, Boolean parametersOnly)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(ParameterInfoCollection parameters)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.CreateReportInstance(OnDemandProcessingContext odpContext, OnDemandMetadata odpMetadata, ReportSnapshot reportSnapshot, Merge& odpMerge)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.Execute(OnDemandProcessingContext& odpContext)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReportOdpInitial.ProcessReport(ProcessingErrorContext errorContext, ExecutionLogContext executionLogContext, UserProfileState& userProfileState)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
    at Microsoft.Reporting.LocalService.CreateSnapshotAndRender(ReportProcessing repProc, IRenderingExtension renderer, ProcessingContext pc, RenderingContext rc, SubreportCallbackHandler subreportHandler, ParameterInfoCollection parameters, DatasourceCredentialsCollection credentials)
    at Microsoft.Reporting.LocalService.Render(String format, String deviceInfo, String paginationMode, Boolean allowInternalRenderers, IEnumerable dataSources, CreateAndRegisterStream createStreamCallback)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    --- End of inner exception stack trace ---
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.Report.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams, String area)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams)

  • Why is the visual editor such a pain?

    When I drag and drop components from the Component Palette to a page in the visual editor, instead of the UI component, I see the component with box outline in the design view of the visual editor. A few others have complained about this problem too.
    This is an old post and I have carried out all the suggestions by others but without success. I never had this problem with the EA version; it started in JDeveloper 10.13.1 carried onto JDeveloper 10.13.10. Preview.
    Somebody said that the problem will be fix in the final version of JDeveloper 10.13.10. However, I have a job to do and I am asking if I can still download the EA. If so can you provide me the link?
    Thanks for your help.

    MichiganMike wrote:
    Every week it seems there is another outage and nobody at Verizon cares. Customer service is a joke now. All you do it is get transferred to some under educated feeb that tells you everything is fine and to reboot your phone!! IT IS NOT THE PHONE. Get it yet Verizon? Your network is failing, ALOT. I have yet to meet anyone who says 4G is worth anything. Now, today again, 3G and 4G are suddenly dead. Not shocking seeing as how they have been robbing Americans blind for years with poorly performing devices, an over subscribed network, poor customer service and outrageous prices. Short Verizon stock. 2012 will be a rough year for them if this continues.
    Hmm...
    I can't decide, based on your recent posts and including this new topic as well, if you are here to get help or to just bash Verizon Wireless.
    If you want help, here: 
    What phone do you have? 
    Do you EVER get 4g (honestly) or does it just say 3G?  I realize you are only getting 1X now. 
    Have you had VZW file a ticket for your phone number to see if there is a problem with your area?  What did they say?
    Where are you having service issues?
    What phone did you have before?
    Did you have service with Verizon Wireless before your current phone?
    What was the service like then?
    What exactly is the problem?  Meaning this, yes you are losing signal but what are trying to do that you cannot accomplish right now?
    Every phone is different, do you have the following installed on your phone:  Juice Defender or any battery saver, a task killer, a network managing application, have you changed any settings on your own in the phone?  Has a representative changed any settings in your phone?  Do you have an anti-virus application?
    How many miles are you from Canada?

  • Export in Visual Composer

    Export in Visual Composer
    Hi Experts!!!
    I have a button with the export data in excel action, but in the forms I have an image with input fields, but when I do the export in the excel file only is forms data, the image is not export.
    Any idea??
    Thanks in advance
    Regards!!

    Hi Experts!!
    I am following "How to export data from visual composer" guide, my problem is that in the guide use Querys and then it use a formula for to call Web Analyzer... can I call Web Analyzer if I use BAPI?
    Thanks in advance!!!
    Regards!!
    Edited by: Carlos Mallebrera on Jan 13, 2011 12:04 PM

  • Missing the visual upgrade option on SP 2010 site

    I have a series of content databases that were upgraded from MOSS 2007. Most have not yet undergone the visual upgrade.
    Today, I have been working on copying two of those sites to a new location.
    I created two new team sites. These of course already had the visual upgrade.
    I did an export-spweb of the two old sites. I then did an import-spweb of the two old sites into the new sites that I created.
    The result is the two old style GUI in the new location.
    When I took a look at the site settings (as a farm admin) I do not see an option to perform the visual upgrade on the sites.
    I know that there are powershell commands that I can execute when the time is right.
    I don't understand, however, where the visual upgrade option went.
    Hmm - I just went back to the original sites that were copied and they too do not have the visual upgrade option in the site settings.
    The top level site does, however, have that option.
    Odd...

    But export-spsite won't help.
    1. These sites were being copied from one part of a site collection tree to another branch in the same site collection.
    2. As I mentioned at the end of my posting, it turns out that the original sites had also lost their visual upgrade menu item - how, I do not know.
    Because of these two factors - and maybe others - I was hoping there was a "simple fix" for this. But if there is not, then I just have to live wtih that.

  • In iWork 09 when I export the recoded timing presentation, I lose my movies

    In Keynote 09 (and I tried it in Keynote 08, too) I can't export the recorded presentation without losing the video.
    I have a soundtrack. When I play the slide show in keynote, the sound and movies work together perfectly. Then when I try exporting them with recorded timing, I lose the movies (they just don't start playing, although I can hear the audio for them, I get no visual).
    When I "send to iDVD", as an automated timing slide show, I don't get the soundtrack, but the video does play...
    Help! I want to have the soundtrack playing underneath the audio for the movies.

    i am having the same problem. If i use a fixed timing, the video clips seem to play just fine. when i tried to do a recording of the presentation, the video clips i embedded won't export out and play. the audio i recorded, the song i was using in the background, works fine, but the video hangs on the first frame.
    does anyone have a fix?

  • Implement Visual Representation (Stars) of user rating

    I have a customer trying to implement the following visual representation of user rating.
    Example
    rating 1 :- *
    rating 2 :- **
    rating 3 :- ***
    etc.
    To represent the star we are using a small gif. To repeat the star as per the rating following code is attached with it under web tab
    ----Code--------
    <?for-each@shape:xdoxslt:foreach_number($_XDOCTX,0,RATING,1)?><?shape-offset-x:(position()-1)*25?>
    <?end for-each?>
    This is as detialed in the
    Oracle XML Publisher Report Designer's Guide
    Oracle® XML Publisher
    Report Designer's Guide
    Release 12
    Part No. B31410-01
    I have checked the output and only one star is displayed regardless of the rating level.
    If anybody has any further suggestions on what may be the issue here, I would be most grateful.
    Regards
    Sarah
    Page :- 2- 38

    Hi JOhn,
    thanks for the reply.
    I realized IRU was useless for this, but maybe Match EQ on the before and after recorded reponses will tell us anything.
    If I could dump the raw sine sweep to file (for example with wiretap pro), MatLab could also do the math. But Matlab is not free, either
    I guess I'll just go for Match EQ. I'm just curious, and want some indication, don't need a thorough analysis for this.
    Cheers!

  • Using Flash to create visual representation of Active Directory

    Hi, I would like to know if anyone know how to do this? Basically, I have floorplans of the various sites that our company uses. i have made these floorplans vectors, and can be used in flash. the floor plans are quite detailed, with desks included. What I would like is some integration with Active directory, where i can have a visual picture of computers populating the various floorplans, but the population of this is driven by the active directory. so computer names and user names would be visable in this dynamic visual representation. I saw an article on the microsoft site, how to do just this with viso 2007, but wondering if i can do this with flash. any ideas?

    Hi,
    Yes it is possible. Basically just few things are required to go ahead
    1. need to understand Flash LoadVars
    2. In ASP, you need to know how to connect to and run SQL against the database
    There is a thread that talks about how flash can load variables from an ASP script may help you
    http://actionscript.org/forums/showthread.php3?t=67379
    Thanks!
    ps: please mark this thread as Answered if this is of help to you.

  • Creating visual representations of data

    Hello World!
    This is my first Java project and I'm a little bit scared. I'm hoping someone can give me a general pointer or advice on how to approach the structure and setup of this project.
    I want to create a Java tool that will allow a user to input a query to a MySQL database with the result being transformed into a visual representation when returned.
    An example would be a user selecting a house from a drop-down list, whereby an icon w/label representing the top 3 houses from the database would be displayed.
    My questions are:
    - How would I best go about setting up packages, classes and objects for this project? Just the basics, not after anyone doing the project for me!
    - I would like to leave scope for scaling the icon based on relative size/weight of the results. Is this possible?
    - If a user types a query instead of a drop-down list, does this have any implications from a Java perspective?
    - Finally, is there any freely available code that does something similar to this already that I could refer to? Or any tutorial recommendations?
    Cheers
    Leon

    I don't know any good resources on the web about OOD basics and software usability/ergonomy. But you might want to look at the following:
    [http://en.wikipedia.org/wiki/Three_tier]
    [http://en.wikipedia.org/wiki/Model-view-controller]
    And use pencil and paper before writing code. Collect use cases - find out what your software is supposed to do -, and make sketches of your future GUI.

  • Failed to export the report to PDF

    I am currently developing multiple applications using Visual Studio 2008 and Crystal Reports. The application works fine in the development environment but when deployed to a user's machine I get the error listed below.
    I installed the redistributable package that came with Visual Studio. Then I installed my packed. I check in the users GAC that the assemblies I used in developing are installed. They are present on the users machine.
    I have not found much on this subject online. Does anyone know of a solution to this issue? Was installing the redistributable package that came with Visual Studio 2008 correct? Any help would be great.
    Not implemented.
    Failed to export the report.
    Error in File C:\DOCUME~1\USER~1\LOCALS~1\Temp\1\temp_a4f4905b-85ec-4420-ae7e-f1a57ecd3f44 {CDBECA9C-8D45-4BEE-949F-F6CF818AB575}.rpt:
    Operation not yet implemented.
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
       at Condor.Threading.PortfolioAnalysisPDFThread.StitchReport(List`1 crReports)
       at Condor.Threading.PortfolioAnalysisPDFThread.CreateReport(DoWorkEventArgs e)

    Hi Ludek ,
    Thanks for reply,
    I download CR2008 Redistribale & Installed it.
    But still I am getting following  error on client PC;
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    Please  give  solution.
    Thanks

  • Help export the graphic with transparent background and not braking the quality

    hi I'd like some help please if its possible.
    I've created a monitor graphic in Fireworks that looks like iMac and I would like to export it with transparent background.
    the jpeg format looks great with no damage to the graphic at all but I can't have transparent background, although I changed the canvas fill to none. the png-8 format can apply transparent background, but damages the graphic.
    Here are the previews
    1st - the png-8 format
    2nd - thejpeg format
    A ny ideas on how I can export the graphic with transparent background and not braking the quality??

    Fireworks questions are best answered at this link:
    <http://forums.adobe.com/community/fireworks/fireworks_general>
    Good luck.

  • IR - reponse curves, visual representation

    Hi guys,
    I'd like to try out the IR utility in our video studio, before and after some acoustic dampening of the room.
    What I'd like to see, is some visual representation of the room response.
    Is this possible/any good with IR utility? Will the deconvolved return signal suffice as a frequency response curve for the room? What about phase response?
    I have never used the utility, but just printed the user guide (42p).
    Browsing it, I find no info in this regard.
    Cheers + thanks for any (constructive) feedback
    Eivind

    Hi JOhn,
    thanks for the reply.
    I realized IRU was useless for this, but maybe Match EQ on the before and after recorded reponses will tell us anything.
    If I could dump the raw sine sweep to file (for example with wiretap pro), MatLab could also do the math. But Matlab is not free, either
    I guess I'll just go for Match EQ. I'm just curious, and want some indication, don't need a thorough analysis for this.
    Cheers!

  • I try to make a dll in VB 6.0 and use it in LabView. I have some difficulties exporting the functions.

    I use LabView 6.i and Visual Basic 6.0. So, I wrote a dll in VB and we want use it in LabView but I can't export the function. So, in LabView I can't choose the function name.

    VB DLLs often embed ActiveX type libraries in them, and don't export any symbols. These DLLs are intended to be called via activeX, not at normal DLLs. Try to call your DLL by registering it with the system and then using ActiveX calls.
    Marc

Maybe you are looking for

  • How to transfer data through browsers?

    Hi, here's a question that was with me since a year ago and that has never been solved: how can I transfer data throught browsers? For example, I currently have all the browsing data and bookmarks (included those on the bookmarks bar) on Google Chrom

  • Problems with reading raw files in lightroom 5

    Ich kann weder dng Dateien von Leica x1 noch von fuji xt1 importieren! Was könnte der Grund sein, im Handbuch gibt es keine Hinweise auf Probleme?@ Kurze Antwort erwünscht

  • More abt xslt ...

    i have one more doubt pondering on.... ie creating a single xslt program template can be able to be used for various programming transformations in the future... or for each program we create we must create a xslt prog... for THE programs transformat

  • Using ACS for Cisco Prime authentication

    I'd like to use our Tacacs server running ACS to be the authentication method for user accounts in Prime, but don't even know where to start with this.. Any pointers?

  • Ot - removing duplicates in lists

    hi sorry for the ot question. i created a very long list of keywords (for seo). anyone knows of a tool to remove duplicates? it's really a very long list thanks lenny