How to write a graphic of the ADF to ppt?

Hello

I have a jspx ADF page, in which I show a simple ADF bar chart. It is a component of the deep venous thrombosis.

The requirement is to write and export this graph on PPT file on a button click.

I searched a lot for this google, but did not find anything comprehensive.

We use Jdev 11.1.2.3.0.

Help on this will be really appreciated.

Thank you

Tejas

Hello

It was not possible to directly write the graph of DVT to PPT.

To meet this requirement, I had to go a little twisted way.

The solution worked under the path:

-Create the PST component binding in Backing Bean.

-Binding decision-making using the ImageView from the graph of DVT. Then export this ImageView to the filesystem to the PNG Format.

-Then read this image file and pass it to the Apache POI API for writing on PPT.

-Delete the Image file.

Tags: Java

Similar Questions

  • How to write a query for the data exchange between two columns?

    How to write a query for the data exchange between two columns?

    I tried a request, does NOT work.
    update tmp t1 set t1.m1=t1.m2 and t1.m2=(select t2.m1 from tmp t2 where t2.student_id = t1.student_id)
    Thank you.

    Published by: user533361 on October 23, 2009 14:04

    Just plain and simple:

    update tmp t1
     set t1.m1=t1.m2,
         t1.m2=t1.m1
    /
    

    SY.

  • Embedding javascript graphics in the adf?

    Hello

    I need to incorporate javascript Camembert in the adf and I am a beginner and I don't know how?

    I will be grateful if someone could help me in the present.

    Thank you

    It will not work like that.

    -When you have added your javascript code exactly?

    -You just included javascript for jquery, but you must include libraries for higcharts (as for example: higcharts.js)

    In addition, this isn't very good place for the tag af:resource (this should be placed at the side of af metaContainer: document tag)

    -$(document) .ready () probably does not work.

    - method should be the name of javascript function (if you need to write a javascript method and use the name as the 'method' property).

    -commandButton control should probably have partialSubmit = 'true '.

    -You must attach graph to some html (such as div) components and id of this item of RenderPieChart() function reference

    So, this should probably be similar to the following (note that I'm writing this online so you will need to correct typos)

    In your page:

    
    
      
          
              
          
          

    In js/chart.js:

    function RenderPieChart(elementId, dataList) {
        new Highcharts.Chart({
            chart: {
                renderTo: elementId,
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false
            }, title: {
                text: 'Browser market shares at a specific website, 2010'
            },
    
            tooltip: {
                formatter: function () {
                    return '' + this.point.name + ': ' + this.percentage + ' %';
                }
            },
    
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: 'pointer',
                    dataLabels: {
                        enabled: true,
                        color: '#000000',
                        connectorColor: '#000000',
                        formatter: function () {
                            return '' + this.point.name + ': ' + this.percentage + ' %';
                        }
                    }
                }
            },
    
            series: [{
                type: 'pie',
                name: 'Browser share',
                data: dataList
            }]
        });
    };
    
    function showChart(){
       var data = [
              ['Firefox', 42.0],
              ['IE', 26.8],
              {
                  name: 'Chrome',
                  y: 14.8,
                  sliced: true,
                  selected: true
              },
              ['Safari', 6.5],
              ['Opera', 8.2],
              ['Others', 0.7]
          ];
    
        RenderPieChart('chartContainer', data);
    };
    

    Dario

  • How to write this query in the hierarchy

    Hi gurus,

    Really need your help on this query.  Thank you very much in advance.

    SELECT
      t1.key as root_key ,
    (SELECT
          t2.unit_id AS unit_id 
          level-1 AS level ,
          t2.name,
          t2.creator
        FROM
          tab t2
          START WITH t2.unit_id       =   t1.unit_id            -----check each node as root
          CONNECT BY prior t2.unit_id = t2.parent_unit_id
    
      )
       t1.name as parent_unit_name
    FROM
      tab t1
    

    I'll write a query of the hierarchy as above, and that EACH line (node, totally more than 10200) is checked as root node to see how many sheets are accessible for her... It must be implemented in a single query.

    I know inline query should NOT return multiple rows or multiple columns, but the inline elements are necessary and can certainly be made in a correct solution.

    (env):

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    PL/SQL Release 12.1.0.2.0

    )

    Test data:

    select 1 as unit_id, null as parent_organization_unit_id, 'U1' as name from dual
    union all
    select 2, 1, 'U2' FROM DUAL
    UNION ALL
    SELECT 3, NULL, 'U3' FROM DUAL
    UNION ALL
    SELECT 4, 3, 'U4' FROM DUAL
    UNION ALL
    SELECT 5, 2, 'U5' FROM DUAL
    UNION ALL
    SELECT 6, 5, 'U6' FROM DUAL
    UNION ALL
    SELECT 7, 6, 'U7' FROM DUAL
    UNION ALL
    SELECT 8, 5, 'U8' FROM DUAL
    UNION ALL
    SELECT 9, 5, 'U9' FROM DUAL;
    

    Final result should be like this

    key unit_id,    level,   name, parent_name
    1    1    0    u1      u1
    1    2    1    u2       u1
    1    5    2     u5      u1
    1    6    3     u6      u1
    1    7    4    u7       u1
    1    8    3    u8       u1
    1    9    3     u9      u1
    2    2    0     u2       u2
    2    5    1      u5       u2
    2    6    2     u6       u2
    2    7    3      u7      u2
    2    8    2      u8       u2
    2    9    2      u9       u2
    
    

    Don't know how get you your output, it does not match your data...

    with tab as)

    Select 1 as unit_id, null as parent_organization_unit_id 'U1' as the name of double

    Union of all the

    Select 2, 1, 'U2' FROM DUAL

    UNION ALL

    SELECT 3, NULL, 'U3' FROM DUAL

    UNION ALL

    SELECT 4, 3, 'U4' FROM DUAL

    UNION ALL

    SELECT 5, 2, 'U5' OF THE DOUBLE

    UNION ALL

    SELECT 6, 5, 'U6' OF THE DOUBLE

    UNION ALL

    SELECT 7, 6, "U7" OF THE DOUBLE

    UNION ALL

    SELECT 8, 5, 'U8' FROM DUAL

    UNION ALL

    9. SELECT, 5, 'U9' FROM DUAL

    )

    Select dense_rank() key (order by connect_by_root unit_id), unit_id, level - 1 as 'LEVEL', connect_by_root name root_parent_name

    t tab

    Start with parent_organization_unit_id is null

    Connect prior unit_id = parent_organization_unit_id

    KEY UNIT_ID LEVEL ROOT_PARENT_NAME
    1 1 0 "U1".
    1 2 1 "U1".
    1 5 2 "U1".
    1 6 3 "U1".
    1 7 4 "U1".
    1 8 3 "U1".
    1 9 3 "U1".
    2 3 0 "U3".
    2 4 1 "U3".
  • How to write a query for the given scenario?

    Hi all

    I have two tables EMP, DEPT with data below.
    EMP TABLE: -.
    SAL DEPID EMPLOYMENT ENAME EID
    111 RAM 1500 10 MANAGER
    222 SAM ASST MANAGER 2000 20
    KALA 333 2500 10 REGISTRAR
    444. BIMA 20 3000 MANAGER
    CHALA 555 MANAGER 3500 30
    RANI 666 ASST MANAGER 4000 10
    777 KAMAL MANAGER 2400 10

    DEPT TABLE: -.

    DEPID DNAME
    XX 10
    AA 20
    30 ZZ

    Q1: I want the sum of the salary of each Department and for the particular job. Here, in each Department manager, Assistant Manager, clerk positions are there.
    I want to display the result as below...
    10-20-30 JOBS
    --------------------------------------------------------------------------
    MANAGER OF 3900 3000 3500
    ASST MANAGER 4000 2000 NULL
    THE CLERK 2500 NULL NULL

    Please tell me how to write a sql query?

    Thank you
    SAI
    SQL> SELECT job,
      2         MAX(DECODE(deptno, 10, sum_sal)) "10",
      3         MAX(DECODE(deptno, 20, sum_sal)) "20",
      4         MAX(DECODE(deptno, 30, sum_sal)) "30"
      5  FROM (SELECT deptno, job, SUM(sal) sum_sal FROM emp GROUP BY deptno, job)
      6   GROUP BY job;
    
    JOB               10         20         30
    --------- ---------- ---------- ----------
    CLERK           1300       1900        950
    SALESMAN                              5600
    PRESIDENT       5000
    MANAGER         2450       2975       2850
    ANALYST                    6000
    
    SQL> 
    
  • bacward compatibility tag DVT overview to provide zoom and scroll features in the graphics of the adf

    ADF 12 c media features presentation in graphs, which allows the user to zoom and scroll in the chart and little more than features. Andrejus Baranovskis Blog: ADF 12 c (12.1.3) line graph preview function

    Can any one subject comfirm it's backward compatibility, what is the minimum version of the ADF, these features may be supported?

    If only 12 c supports this then any other way to get these features in older versions of the ADF and what might be the minimum version to get these features.

    All documentation around this would be a great help.

    Thank you

    Abdou

    This featrue was introduced in 12.1.3 and has been backported to 11.1.1.9.0 as shown in the new features of Oracle JDeveloper 11.1.1.9 lately. You must use this version to achieve this functionality.

    I don't think you can ask a backport to another version that the feature is available in the latest version of 11g and 12 c.

    Timo

  • BlackBerry 10 how to write e-mail in the form of text and NO HTML?

    Hello

    I now use a brand-new Q10 of Blackberry and also a Q5 brand new.

    How can I write e-mails as text and not in the html code?

    Some of my business partners cannot receive emails from my blackberry because their

    usually the firewall blocks the html code.

    OK, the only email text is on 10.2.1

    Your response confirms that.

    Who is your service provider mobile (you have filled in this part of your profile on the forum here)?

    Most have released the 10.2.1 and if yours does not, you can update manually if you want, I can give you instructions for this if necessary.

  • How to write < Cntrl > Z to the port

    For surgery, I want to write Z on the port. Kindly tell me what I should write.

    I send ^ Z, but it does not work.

    Thank you

    Have a look here

    http://zone.NI.com/reference/en-XX/help/371361B-01/lvhowto/backslash_codes_display/

    Set your string '-' display mode of the Codes. 26 is 1A in hexadecimal, and then type in hello\1A will give you a string equals HelloZ. A common mistake that I did several times is to type in hello\1A and do NOT use the '-' display mode of the Codes. Which cost several hours of debugging. So be 100% constant/control of the chain is in '-' Codes display mode

  • How to write and read from the cache in Labview?


    Hello

    I would use "the spreadsheet file reading" to read serial numbers stored on your hard drive. If your file has each serial number on each line of reading spreadsheet file will return an array of 2D with the first column containing numbers. Then use 'Index Array' to get a 1 d of your serial numbers table. In your loop, you will then use VI 'Picture 1 d of research' to check if the SN is in the table. It returns-1 if its not found. If to use build table to add the serial number. Then use 'Write the spreadsheet file' to save the new list of serial number in line.

    Hope this helps

  • How to write to .subckt with the function I - V

    Hi all

    Now, I am trying to build a Spice model for a type of diode high voltage for 13 Multisim. Because I do not have the LED electronic settings, and I only have the function of the I - V, I tried to write a file .subckt for him.

    Assuming that the anode is A1 and the cathode is A2, the current flowing through the diode can be expressed only by the function:

    I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)

    With her, I wrote a .subckt:

    . SUBCKT LED A1 A2
    B1 A2 A1 I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)
    . ENDS LED

    This model works well under the IV parser in Multisim 13, but when I connect 2 or 3 of them in series and make a simple circuit simulation, I always get the error report and not always not correct the error.

    Any body can help me to check if my .subckt is correct or not? Thank you.

    It seems that the convergence error is caused by a discontinuity the diode to connection 53V.  Run DC scan using the test circuit.

    To prevent the discontinuity, use the express following with the fi works instead. You can give it a small current when V (A1, A2) is less to 0V.

    B1 A1 A2 I=if(((V(A1)-V(A2))-51)>0,((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000),-230u)

    The attached circuit have a resistance using convergence.

    You can simplify your expression for readability:

    -(V, (A1), (A2) V) = V (A1, A2)

    -If you can do the expression in this form, it will simply be the calculation ax ^ 2 + bx + c

  • How to write image files in the current folder in the Release version

    I'm able to do in the sims and on real devices in debug mode, but for some reason when I'm building a Release version I can not write in the current folder. I get write errors.

    I want to write the image easily in qml files in this folder as read when I write in the current folder.

    Write to the data directory instead - unable to write to the application folder & active

  • Need help with the graphics of the ADF

    Hi team,

    I use jdev 11.1.1.6

    Am trying to create graphics, I need a graphic in combination with a common 'x' and axis 2 "y axis".

    I can able to create a. It came as expected.

    I have a bar graph corresponding to Y1 and Y2 axis graphic line.

    By default, title of the axis of the x axis and Y1_axis came. all data was shown with precision...

    I have total 12 bars with regard to 12 rows in my vo.


    I tried to add the title to the Y2 axis and when I did the X axis data seems to behave different.

    half of the values of the obtained Xaxis hidden as soon as I gave the title of Y2.


    I can't understand what go wrong, someone can help me correct.

    Use "Combination chart-> double combination there" with a qucik (2nd type) available


    Thanks in advance

    Siva

    The width is the problem in my case.

    Increase the width of the graph did t tour

    Siva

  • How to write queries nested using the DB adapter?

    I want to write a request nested by using the help DB adapter box...

    SELECT INVOICE_ID, FILE_NAME IN BILLING_INVOICE_PDF_V where FILE_ID =)

    (SELECT MAX (FILE_ID) FROM BILLING_INVOICE_PDF_V WHERE (INVOICE_ID = '12345'))) ;

    Thank you

    RAM.

    Hi Ram,

    It's probably the semicolon at the end of the SQL statement that causes the db adapter for error; Simply enter the SQL custom without a semicolon at the end.

    SELECT INVOICE_ID, FILE_NAME IN BILLING_INVOICE_PDF_V where FILE_ID = (SELECT MAX (FILE_ID) OF BILLING_INVOICE_PDF_V WHERE INVOICE_ID = '12345')

  • How to achieve case-sensitive in the adf

    Hello

    I use JDeveloper 11.1.1.6.

    I have two < af:inputtext > in my page. Email Id and User Name.Both I put Unique entity object.

    My problem is the first time I gave the username as 'DAVID' & second time I give myself as 'david', both are save in the database.

    But I don't want to re-record the same username. Same thing happens in the Email field also.

    How can I solve this problem?...

    Thank you...

    You can perform the seizure uppercase or lowercase in http://mjabr.wordpress.com/2012/05/18/simple-way-to-convert-afinputtext-to-uppercaselowercasecapitalize/

  • How toggle and show/hide in the ADF faces components

    Hello

    In my application, I need to toggle and show/hide in ADF faces components based on a user manipulates some components. I need to I am a newbie to ADF, all ideas are appreciated.

    Kind regards
    Surya

    For use to hide/show the Visible property and toggle use ReadOnly property.
    Set them to some EL Expression as #{ == ? : }
    Also set the PartialTrigger on this attribute pointing to the parent attribute

    Don't forget to fix biased/AutoSubmit submit = true to the parent component.

    Amit

Maybe you are looking for

  • When apple will make a watch with a sim function?

    I hope that apple sees this post! I desperately need a watch that I can call from emergency if my phone got stolen or was not there at the time. I like the comfort of being able to give to someone that I trust my iCloud snack password I have never di

  • Bdp-s550 Pandora radio

    HelloI recently bought the bdp-S550 Blu - Ray player, connected to my Samsung tv via a hdmi cable, audio output for my speakers BOSE and listen Pandora radio. Its nice. I have to keep TV in condition? As soon as I turn off my TV, drive Blu - Ray also

  • Corrupt photos on my Satellite M50

    Hello I have a Satellite M50-130 and have just started to have a problem with the photo files.They began to corrupt and the preview comes up with the words "drawing failed" or "no preview available". I can still see the thumbnail image but the info f

  • How will I know what is the latest version of Windows?

    original title: latest version windos I want alatest version of windows, which is the best?

  • HP g7 1150 Laptop Display Dims with Power Source

    Display on HP g7 fades whenever I plug in my 2 external AC power supply.  What's wrong?