Extracting contents of a PPT file

Hi all,
Is it possible to extract contents from a PPT using java ? Like getting the text and image information slide by slide..... Please help me.
Thanks in Advance ,
Ravi

I'm sure there's some kind of API, but I've found that Google is the best place to ask general questions.

Similar Messages

  • Any Possibility To Extract Contents of a JAR File

    Is there Any Possibility To Extract Contents of a JAR File . i.e class files with proper names.
    Thnks

    Well, than it's to bad. There is no way to get the original names back. It's supposed to be that way, you know ;)

  • Extract contents of a .Jar file or executable jar file

    I have an executable Jar file.. Is there anyway that I can see the contents of this file.. the code in it..
    I have read some tutorials on how to extract .jar files but the question is where do i execute these commands.. is it on the command window or somewhere else.
    Can anyone help me plz????????

    but the question is where do i execute
    these commands.. is it on the command window or
    somewhere else.
    If you're using windows OS, you can do execute the
    command in dos promt
    and if you're using linux, you execute it in the
    Terminal/Console or double click on the file name in
    the
    Knoqueror, you can see the contents.Konqueror file manager,you can see the contents.

  • Extracting contents of a jar file

    I try to extract a jar file:
    # jar -x Atheon.jar
    it just doesn't do anything.
    LOL. Im retarded. what am i doing wrong?

    You expect an answer in 25 minutes on a Sunday?
    Try telling jar that you're giving it a filename rather than piping stuff into it: jar xf myFile.jar

  • Reading a xml file and Extract content of xml tags

    Hi,
    I need a InDesign script to Extract content of xml tags by reading a local xml file. And stamping the content of xml on InDesign Text frame.
    My sample xml is as follows .
    <events type="array">
    <event> 
    <aktiv_jn>J</aktiv_jn> 
    <enetpulse_id>1712408</enetpulse_id>
    <event_id>65974</event_id>
    <hjemmehold>AZ Alkmaar</hjemmehold>
    <id>93</id>
    <kickoff>2014-08-17T12:30:00+01:00</kickoff>
    <land_id>140</land_id>
    <land_navn>Holland</land_navn>
    <liga_id>13684</liga_id>
    <liga_navn>Eredivisie</liga_navn>
    <livebetting_jn>J</livebetting_jn>
    <marked_id>2897740</marked_id>
    <marked_nummer>138</marked_nummer>
    <marked_tekst>AZ Alkmaar - Ajax</marked_tekst>
    <moderkamp_jn>J</moderkamp_jn>
    <ob_bet_type>MR</ob_bet_type>
    <odds_1>2.95</odds_1>
    <odds_2>2.25</odds_2>
    <odds_x>3.35</odds_x>
    <program_slut>2014-08-18T23:59:00+01:00</program_slut>
    <program_start>2014-08-15T00:00:00+01:00</program_start>
    <resultat>2</resultat>
    <spilstop_dato_tid>2014-08-17T12:30:00+01:00</spilstop_dato_tid>
    <sport_id>21</sport_id>
    <sport_navn>Fodbold</sport_navn>
    <taerskel nil="true"/>
    <udehold>Ajax</udehold>
    <udfald_1_id>9661951</udfald_1_id>
    <udfald_2_id>9661953</udfald_2_id>
    <udfald_x_id>9661952</udfald_x_id>
    </event>
    </events>
    And on my Indesign Page upon execution of script: I need text like,
    land_navn:     Holland
    odds_1:     2.95
    odds_2:     2.25
    odds_x:     3.35

    Hi,
    Try:

  • Unable to open ppt file in KM content

    Hi,
              I am unable to open the ppt file in KM content. I am getting the error  : "could not open ...........ppt.".
    We are using the reverse proxy to connect to the portal.
    Can anyone help me in this regard.
    Raghu

    Hi Praveen and SJ,
    I uploaded the ppt file in some folder in KM content. Then I tried to open it . but I am unable to open the file. However I am able to open the file after right clicking the folder and save as target to my PC.
    It is there in MIME types.  Is there any extra configuration needed to open the ppt file firectly.
    Not only in Km content but also in KM iview also I am unable to open it directly.
    I am able to open doc, pdf files directly.  I am having problem only with ppt file.
    Can you help me on this ...
    Thanks,
    Raghu

  • How to extract the contents of the Jar file?

    Hello,
    Can anyone tell me how to extract the contents of the Jar file?
    An example will be highly appreciated.
    Thanks.

    From command line, or from within a java application?
    Kaj
    Btw. Why do you need to do it. You do know that you can add jars to the classpath and read resources from them without extracting the file?

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

  • Extracting text from .doc,.ppt,.pdf files

    How can i extract ascii text from the file types like .doc , .ppt , .pdf ,. xls ..etc.
    Any tips/hints would be helpful
    Thanks
    Rama

    HI I tried for pdf, but didn't succeed
    Following is for text/Doc files
    <pre>
    import java.io.*;
    public class Doc
         public static void main(String[] args)
              try{
                   File file=new File("c:\\downloads\\WP2001.doc");
                   LineNumberReader buffer=new LineNumberReader(new FileReader(file));
                   StringBuffer buff=new StringBuffer("");
              boolean valid=true;
              while(valid)
                   //System.out.println(buffer.readLine());
                   buff=buff.append(buffer.readLine()+"\n");
                   if(buffer.read()==-1)
                        valid=false;
                   else
                   buffer.setLineNumber(buffer.getLineNumber()+1);
                   System.out.println(buff);
              catch(Exception fne)
                   System.out.println("File Not Found"+fne);
    </pre>
    pathreading

  • Extracting contents from Content Db to a file system

    Hi,
    What would be the best approach to extract the contents in Content Db to a file system and the metadata associated with them to a temporary database table
    so that we can use them to migrate documents to another content management system ?
    Thanks
    Edited by: user10343552 on Oct 9, 2008 10:12 PM

    Restore the database to the SQL Server that the test farm is using. Use Mount-SPContentDatabase on the test SharePoint server (farm) to mount the content database to the test Web Application.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Code Challange - Code for extracting content from a file in KM

    Hi,
      I want to extract content from a file which is in KM Repository using the Webdynpro View.  I wrote the following code for the extraction. But it is throwing some exception.
    Code Written:
    <b>  
      URLConnection conn = null;
          DataInputStream data = null;
          String line;
          StringBuffer buf = new StringBuffer();
         wdContext.currentContextElement().setTextdisp("Hello");
         try {
          URL theURL = new URL("http://ctssap1:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/News/New%20text.txt");     
            conn = theURL.openConnection();
           // conn.connect();
            wdContext.currentContextElement().setTextdisp("Inside Try");      
            data = new DataInputStream(new BufferedInputStream(
                               conn.getInputStream()));
            while ((line = data.readLine()) != null) {
               buf.append(line + "\n");
            data.close();
            String buffer = new String(buf);
            wdContext.currentContextElement().setTextdisp(buffer);
          catch (IOException e) {
              wdContext.currentContextElement().setTextdisp("IO Error:" + e.getMessage());
          }</b>
    Exception Got:
    <b>IO Error:Server returned HTTP response code: 401 for URL: http://ctssap1:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/News/New%20text.txt</b>
    Can anyone help me out in this process... or please suggest some other way to extract the content.
    Thanks in Advance.
    Regards,
    Srinivas.

    Hi Srinivas,
    VaPath will have the path of ur document.
    Check this modified code snippet which will answer ur  questions and solve ur problem.
    IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
    IUser sapUser = wdClientUser. getSAPUser();
    com.sapportals.portal.security.usermanagement.IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);
    IResourceContext context = new ResourceContext(ep5User);
    /Specify the path of ur document here./
    RID pathRID = RID.getRID("/documents/file2");
    IResource resource = ResourceFactory.getInstance()
    .getResource(context);
    InputStream in = resource.getContent().getInputStream();
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    byte[] buffer = new byte[4096];
    int bytesread = 0;
    while ((bytesread = in.read(buffer)) != -1) {
    out.write(buffer, 0, bytesread);
    String myData = out.toString();
    /*myFile will containS the content of the document./
    wdComponentAPI.getMessageManager().reportSuccess(myData);
    Hope this solves ur problem.
    Regards,
    Sowjanya.

  • How To Upload PPT files

    Hello Experts,
                    In my application I want To Upload Just PPT. I dont want the contents of that file to be displyed in the form of a table.
    I just want to extract the name of the file and check whether it is .ppt or not. If it is a ppt I have to change the name of that .ppt file
    as gift.ppt.
        I am having problem in getting the filename by using standatrd function get_filename of class ** cl_wd_file_upload.**
    Please help me.

    hi
    do it like this  :
    1.Make a context  attribute of type String.
    2. Bind this attribute to the File Upload UI  property Filename.
    Now u can read the context binded with this property to fetch the file name. u can use code wizard for the same .
    for reading context attribute , press CONTROL+F7 , choose the radio button read context node/attribute
    u can now do it using get_attribute method
    Refer SAP online help for File UPload UI element : http://help.sap.com/saphelp_nw70/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm
    regards,
    amit

  • Problem with file content conversion in receiver file adapter

    Hi All
    I have a problem with file content conversion in receiver file adapter.
    This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
    These are the content conversion parameters:
    Header_Record.fieldSeparator = ,
    Header_Record.endSeparator = 'nl'
    Claim_Record.fieldSeparator = ,
    Claim_Record.endSeparator = 'nl'
    Check_Rec.fieldSeparator = ,
    Check_Rec.endSeparator = 'nl'
    In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
    But, Adapter status is RED with the following error message:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    In communication channel monitoring, i get the following error message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    What is going wrong here? Can anyone please tell me?
    Thanks
    Chandra

    Posted in Incorrect forum.
    Posted again in Process Integration forum

  • Losing 0x0D in Content Conversion of a file receiver communication channel

    Hi everyone,  I have a file to file scenario in which I receive an XML like this:
    <MT_IDOCS>
    <IDOCS>
    <IDOC>E2EDK14                       10000000000000000010000020000010200600
    E2EDK14                       10000000000000000010000030000010200712
    </IDOC>
    </IDOCS>
    <MT_IDOCS>
    Actually this is just to give you an idea, but inside the IDOC tag I have a whole IDoc with the flat file structure that is going to be processed by with program RSEINB00. The incoming file has characters 0x0D and 0x0A between both lines, which is correct and is the desired format for program RSEINB00.
    But when I download this XML using content conversion, the resulting file has lost the 0x0D character, it still has the 0x0A, but all 0x0D are gone.
    The content conversion is set like this
    Recordset structure IDOCS
    IDOCS.fieldSeparator     $$$$$$
    IDOCS.endSeparator     '0'
    (I don't know exactly why they did it that one...anyway only 1 IDOCS tag is expected). The I have to extract the exact bytes from inside the IDOC tag and download them to a file. Is it possible to handle it from the content conversion? Thanks!

    Hi Pablo,
       maybe the problem relates to the file encoding you have specified in the Communication Channels. Maybe the file is being picked up from a Windows system which uses Carriage Return (CR) in conjunction with the line feed character ( LF) to indicate
    the end of an ASCII text file. The hex code 0D0A. Whereas the receiver system maybe a Unix systems which uses only LF (0A).
    The module
       ConvertCRLFfromToLF
    using parameter value
      LFtoCRLF
    may resolve this
    e.g.,
    see the 'Example' SAP online help -
    [Adapter Framework Module Interfaces|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/32/43d84072378031e10000000a1550b0/content.htm]

  • Cannot open power point.ppt files (2003) in MS Office 2010

     I cannot open power point .ppt (97-2003)files in MS Office 2010.
    when I try to open the .ppt file in MS Office 2010.
    It says " PowerPoint found a problem with content in xxx.ppt. PowerPoint can attempt to repair the presentation.
    If you trust the source of this presentation, click Repair.
    I do not want to repair the files, as I do not want to change the contents of the PowerPoint.
    How could I open the .ppt file in PowerPoint 2010 without repair? Please advice
    Thank you very much

    Hi,
    Please try to install the hotfix:
    http://support.microsoft.com/kb/2596503/en-us
    Then, we also may refer to the this link:
    http://www.presentermedia.com/blog/2012/08/i-cant-open-a-powerpoint-presentation-in-2010/
    Greta Ge CHN
    TechNet Community Support

Maybe you are looking for

  • Ipod touch won't sync - device not recognized error in windows 7

    my daughter's ipod touch will no longer sync to our windows 7 computer. i am having a similar issue with my iphone 3gs. i have tried reinstalling the driver many times but no help.

  • Java Control Panel applet won't run

    I am running Windows 2000 Server and I need to import a certificate into the certificate database. Both the jpicpl32.cpl and jpicpl32.exe fail to run. When I try to execute either of them they launch an instance of javaw.exe (confirmed in the task ma

  • Show detail rowcount  in master

    Hello, i´ve got a mister-detail link between to tables. In my application there is a a Window for the masterinformation and a button to open the detailtable. now i want to show number of detailrows in the masterwindow. aku

  • Can I install Lightroom and/or Photoshop CC on my Android tablet?

    Can I install Lightroom and/or Photoshop CC on my Android tablet?

  • Phantom torage iOS 8 (Photos)

    Hi, I've deleted all my videos and photos from my iPhone and restarted the device several times. Yet under usage - Storage - Photos & Camera my photo library is apparently taking up 2.7GB!? I'm aware of the recent camera roll changes (Photos are now