Any help on writing code for XML export?

Hello,
The Adobe Acrobat 6.0 allows us to Export/SaveAs PDF to XML 1.0. Currently we have developed an application which reads PDF files and emits some XML. However this XML has a very basic schema and we need to add more structure to it. Like one examples is of recognizing tables from PDF document. Logical information of tables are not there in PDF files as such, and tables in PDF document are merely stored as collection of horizontal and vertical lines. Acrobat 6.0 recognizes tables and lists somehow. I need to recognize them too. So is there any reference or some algorithms which tell us how to extract this logical information from a PDF? Any
clues? Any type of guidance is appreciated.
Regards,
Atiq

You're posting to the wrong forum. This one is about XMP metadata, not about Acrobat or general XML. You should repost on an Acrobat forum.

Similar Messages

  • New to Programming, need your help with writing code for java in Xcode.

    Hey everyone! Sorry if I sound like a total idiot here with a bunch of developers but I could really use your help. I am in college and having a bit of problems with my intro to programming class. The class is entirely Java based and so, after having to use dos windows on my grandpas crappy laptop I found out about xcode. I downloaded and installed it but I am having problems seeing where exactly it is that I am to write my code for a normal java application. Any help would be greatly appreciated! I wrote it on the bottom of a bunch of code that looked strange to me. For relatively simple java programs I chose the java application template. Is there something here that I missed?

    The Java Application project template looks like it sets up an application and some kind of starting UI using Swing/AWT. I didn't look at it too indepth, but if you are in an introductory course this might be more than you need to complete your assignments. There doesn't seem to be blank Java template, so I don't know what you should use. Perhaps just a blank project you add your .java files to.
    To answer where to write code, you would write it in your .java files under the /src folder. Execution begins in
    public static void main(String args[]) {}
    in YourAppName.java, then creates an object based on your application class, and runs the code from there to display the UI.

  • Help with writing code for button

    Hi!
    Can someone help me with the code for a button that sends my menu back to 0?
    This is the code current code, and I've created a button called sistapilen that I want to insert where the regular button "arrow" is not visible. I want sistapilen to navigate me back to 0. (Or if I can get "arrow" to do it and delete "sistapilen"). 
    /Jen
    // File downloaded from www.riacodes.com
    import com.greensock.*;
    var arrayX :Array = [0,-800,-1600,-2400,-3200,-4000,-4800];
    var currentIndex:Number=6;
    left_mc.addEventListener(MouseEvent.CLICK,navigate);
    right_mc.addEventListener(MouseEvent.CLICK,navigate);
    left_mc.buttonMode = true;
    right_mc.buttonMode = true;
    checkArrows();
    function navigate(e:MouseEvent):void{
    if(e.currentTarget == left_mc) currentIndex --;
    else currentIndex ++;
    checkArrows();
    TweenLite.to(content_mc,.5 ,{x:arrayX[currentIndex]});
    function checkArrows():void{
    if(currentIndex == 0) left_mc.visible=false;
    else if (currentIndex == arrayX.length - 1) right_mc.visible = false;
    else{
    left_mc.visible = true;
    right_mc.visible= true;

    Add a listemer for whichever other button you plan to use...
    sistapilen.addEventListener(MouseEvent.CLICK,navigate);
    And try changing your navigate function as follows...
    function navigate(e:MouseEvent):void{
         if(e.currentTarget == left_mc) {
              currentIndex--;
         } else if(e.currentTarget == right_mc){
              currentIndex ++;
         } else {
              currentIndex = 0;
         checkArrows();
         TweenLite.to(content_mc,.5 ,{x:arrayX[currentIndex]});

  • Getting Error In the Routine - While writing Code for the Cross Reference.

    Hi,
    Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
    Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
    The Source  Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
    The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
    Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
    The Code is as below:
    Global Declarations in the Start Routine:
    Types: begin of itabtype,
            ZMDES type /BIC/TZMDES-/BIC/ZMDES,
            TXT type /BIC/TZMDES-TXTSH,
             end of itabtype.
    data : itab type standard table of itabtype
    with key ZMDES,
    wa_itab like line of itab.
    Routine Code :
    select * from /BIC/TZMDES into corresponding fields of table itab for
    all entries in SOURCE_PACKAGE
    where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
    READ TABLE itab INTO wa_itab
    WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
    BINARY SEARCH.
    IF SY-SUBRC = 0.
    RESULT = wa_itab.
    CLEAR wa_itab.
    The tys_SC_1 structure is :
    BEGIN OF tys_SC_1,
         InfoObject: 0LOGSYS.
            LOGSYS           TYPE RSDLOGSYS,
         InfoObject: ZPRJ3.
            /BIC/ZPRJ3           TYPE /BIC/OIZPRJ3,
         InfoObject: ZDOM3.
            /BIC/ZDOM3           TYPE /BIC/OIZDOM3,
         Field: RECORD.
            RECORD           TYPE RSARECORD,
          END   OF tys_SC_1.
        TYPES:
          tyt_SC_1        TYPE STANDARD TABLE OF tys_SC_1
                            WITH NON-UNIQUE DEFAULT KEY.
    Please suggest with your valuable inputs.
    Thanks in Advance

    I have split the code in two.. one for start routine.. other for field routine.. hope this helps
    Types: begin of itabtype,
    ZMDES type /BIC/TZMDES-/BIC/ZMDES,
    TXT type /BIC/TZMDES-TXTSH,
    end of itabtype.
    data : itab type standard table of itabtype
    with key ZMDES,
    wa_itab like line of itab.
    Start routine
    select * from /BIC/TZMDES into corresponding fields of table itab for
    all entries in SOURCE_PACKAGE
    where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
    Sort itab.
    field routine
    CLEAR wa_itab.
    READ TABLE itab INTO wa_itab
    WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
    BINARY SEARCH.
    IF SY-SUBRC = 0.
    RESULT = wa_itab-<field name>

  • Need helping in writing query for finding percentage of duration

    Can any one please help in writing query for this.
    The table is like this :-
    ID     Region     Month     Duration
    I1 R1     Jan     80
    I2     R2     Jan     70
    I3     R1     Jan     70
    I4     R3     Jan     40
    I5     R1     Feb     80
    I6     R2     Feb     30
    I7     R3     Mar     100
    I want to write a query to find
    % of duration for each and every region against each and every month.
    Please help in solving this query. I am in urgent need of this.
    Thanks in advance.

    I also have to do in MS Access 2003You also have to ask into an other forum since here it's an Oracle forum, to try to find Oracle solution.
    Nicolas.

  • Select  all and dselect all can any body provide a code for these buttons

    hi
    i have taken 4 buttons for select  all and dselect all  and sort up and sort down can any body provide a code for these buttons.
    thanks

    hi,
    Refer this link...
    code for select_all and deselect_all in modulepool

  • Need help in writing code Customer Exit for reporting Variable

    Hello Gurus,
           I have a requirement.When a authorized user logins to view the report, he should see only customers available in the value help screen.In the value help screen it is displaying all the customers, but data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
    How can I restrict in the value help screen?
    Any help appreciated with points.
    Regards,
    PNK

    Hello PNK,
    You can use a variable with Process type Authorization. This enables variables to be filled with values automatically from the user authorization.
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/44/599b3c494d8e15e10000000a114084/content.htm
    Thanks
    Chandran

  • Captivate 8 - ETX ASCII code in XML export - error

    Hi,
    When I create an XML Export from a course (Captivate 8)  and open the XML in Notepad ++, I see following strange ASCII-code (See the screenshot below).
    When I take a look at the text in my Captivate file. The text is properly formatted in the text caption. There are also no strange characters in the entire captivate file.
    The text in my Captivate file is clean (copied without any formatting or manually typed).
    So the ASCII code must me added while exporting to XML.
    I know that I can remove those ASCII signs with the find and replace function, but I would like to know the reason Captivate adds those code at the end of some text.
    All help is appreciated.
    Regards,
    W

    Hi,
    When I create an XML Export from a course (Captivate 8)  and open the XML in Notepad ++, I see following strange ASCII-code (See the screenshot below).
    When I take a look at the text in my Captivate file. The text is properly formatted in the text caption. There are also no strange characters in the entire captivate file.
    The text in my Captivate file is clean (copied without any formatting or manually typed).
    So the ASCII code must me added while exporting to XML.
    I know that I can remove those ASCII signs with the find and replace function, but I would like to know the reason Captivate adds those code at the end of some text.
    All help is appreciated.
    Regards,
    W

  • PLEASE Help with HTML code for email background image...

    Hi there!
    i have a background image that I want to pop into an html email widget for the email's background...  here is the web link I created in Photoshop: file:///C:/Users/Rachel/Desktop/iMuse%20Clients/LeadMachine360/Email%20Signatures/tileabl e-metal-textures-2.html
    If anyone could please help me out that would be AWESOME!  I've attached pics of the background & I'm using Infusionsoft email builder which allows for HTML widgets.  I have a code that I use for my landing pages & webforms which works, tried that but no dice!
    Any help would be much appreciated - I'm an html newbie!
    Here is the code that I use for landing pages & works great, tried it for the email & it was a fail:
    <style>
      #mainContent .background, {
          background: url('file:///C:/Users/Rachel/Desktop/iMuse%20Clients/LeadMachine360/Email%20Signatures/ti leable-metal-textures-2.html') no-repeat center center fixed;
        background-size: cover;
    </style>
    <script src="file:///C:/Users/Rachel/Desktop/iMuse%20Clients/LeadMachine360/Email%20Signatures/ti leable-metal-textures-2.html">
    </script>
    <script>
      jQuery(document).ready(
          function(){
          jQuery(' table.bodyContainer').removeAttr('bgcolor');
    </script>
    thanks in advance!
    Muse

    Not sure what you expect. Your URL is absolute and pointing to a local file resource. It's not a proper relative HTML link. Beyond that it's toatlly unclear how you actually plan to load your image and where they are hosted, so nobody can tell you anything. Either way, there is an obviously painful lack of understanding of even the most basic web techniques, so the best advise anyone would give you is to spend some time with a web search and actualyl learn some of that stuff...
    Mylenium

  • Need Code for XML content into Xlet

    "How to read XML file and How to display on Xlet interface."
    If you know it. please post me
    thank you
    lak

    Hi Ryan,
    i had already tried the function that you have given me...
    WorkspaceOps.getPropertyBytes()..
    but no result the binary value is still NULL...:(
    Now let me tell you that my code is running very much fine for non-library services enabled repository ,i am able to get the content in that repository, but as you know you will not get any version history, which is very much important to me....
    now as it is working there i think that there should not be any problem with the code ,but problem may be there when i use library services enabled repository....
    i think there is some problem with the weblogic content repository...when it is enabled for library services...
    manoj

  • Help. Need code for string verification

    I am trying to create a swing program that will verify a string then move a directory from a CD to the users hard drive. I have tried many different combinations of code with no success. I simply need a window with a text pane and a button that when clicked copies the content of the windows clipboard into the text pane, then compares it to a predefined string, then moves a directory from a CD to the harddrive.
    It seems very simple but I am new to java, with alot of c++ experiance, and I cant seem to get it to work. If someone could help me out here it would be much apprecaited. Thank you and sorry if I am not using the correct terminology, I tried to be as clear as possible.

    Here is the code: I just decided to make it command line instead of a GUI; I had too many problems.
    The code runs fine but for some reason i get this error when you get to the part about copying the file:
    123456789
    Verification complete copying files.
    Exception in thread "main" java.io.FileNotFoundException: C:\copy (Access is denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at CompString.main(CompString.java:20)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 5 seconds)
    Here is the code:
    import java.io.*;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class CompString{
    public static void main(String[] args) throws IOException{
    System.out.println("Please go to http://mytatwear.com/verify.html and follow the instructions");
    BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Please enter number provided on the website");
    String str1 = bf.readLine();
    String str2 = "123456789";
    if (str1.equals(str2)){
    System.out.println("Verification complete copying files.");
    File inputFile = new File("C:\\copy");
    File outputFile = new File("C:\\tearwear");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    int c;
    while ((c = in.read()) != -1)
    out.write(c);
    in.close();
    out.close();
    else{
    System.out.println("The number is not valid");
    I had tried to change the permissions on the folder so it is not "Read only" but whenever my program access's it it is for some reason read only.
    Any help apprecaited

  • Help in Match-code for field SEARK (Search Term)

    Friends, in my aplication was necessary insert the match-code for SEARK field.
    I use the function module RH_OBJID_REQUEST in the form OPEN_BOX2 at the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
    When I use this match-code and select the 4 itens and clique the OK button, only the last item appears in the field.
    Anyone else had this problem?
    Can someone help me?
    Thanks for listening. 
    Below is the code:
    select-options:
      so_requi    for pm0d1-seark no intervals  .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
      PERFORM open_box2 CHANGING so_requi-low.
    form OPEN_BOX2  changing p_so_requi_high.
    Variáveis
      DATA: h_plvar LIKE p1000-plvar,
            h_otype LIKE p1000-otype,
            h_objid LIKE objec-realo,
            h_begda TYPE begda,
            h_endda TYPE endda,
            p_subty TYPE plog-subty.
    tables
      DATA: p_change_profq LIKE hrpe_profq OCCURS 0 WITH HEADER LINE.
    preenche as variantes para os parâmetros da função
      h_plvar = PCHPLVAR.
      h_otype = 'Q'.
      h_begda = sy-datum.
      h_endda = '99991231'.
      DATA: sel_objects LIKE objec OCCURS 0 WITH HEADER LINE.
    popup with qualifications catalogue
      CALL FUNCTION 'RH_OBJID_REQUEST'
           EXPORTING
                plvar                 = h_plvar
                otype                 = 'Q'
                seark                 = '*'
                seark_begda           = h_begda
                seark_endda           = h_endda
                set_mode              = 'X' "multiple choice
           TABLES
                sel_objects           = sel_objects
           EXCEPTIONS
                cancelled             = 1
                wrong_condition       = 2
                nothing_found         = 3
                illegal_mode          = 4
                internal_error        = 5
                OTHERS                = 6.
    Captura os dados selecionados e passa para o select-options
       free: so_requi.
       if sy-subrc = 0 .
         loop at sel_objects.
           clear so_requi.
           so_requi-sign    = 'I'.
           so_requi-option  = 'EQ'.
           so_requi-low     = sel_objects-objid.
           append so_requi.
         endloop.
       endif.
    endform.                    " OPEN_BOX2

    Hi
    I am sorry I thought that it is TPLNR field
    for EQFNR there is no matchcode or search help
    if you want you can create a matchcode/search help and add
    It is a CHAR 30 field for which most of the times no values are entered
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Need help to write code for 'Print" button......!

    Hi all,
    I am working in oracle forms 6i.I am creating forms for ordering product/quantity(Entering quantity/product details). In my form i have "Print button" to print the quantity details which is in multi-record block(database item).Please help me of how to write code for print button. If u had any source code please post it.
    Please help asap......!
    Thanks
    regards,
    jame

    You haven't got an answer or a reply because this question is asked so many times.
    Why don't you search the forum to find them?

  • Need help with LabVIEW code for motor control.

    Hi,
    My name is Sasi. I am a BME grad student working on my thesis topic of evaluating spine implants for low back pain. For this I am building a test machine that would apply pure moments to a spine specimen. I am using LabVIEW 8.5 to implement control of a brushless AC servo motor. My requirement is,
    Step 1: Initialize the motor.
    Step 2: Start moving it at a uniform RPM to the right (This RPM value too user can enter).
    Step
    3: While doin Step 2; simultaneously read torque cell data (Using DAQ
    asst.). DAQ o/p is from 0 V to 10 V; 0 V being -10 Nm n
                10 V being  +10 Nm
    Step 4: When Torque value reaches +10 Nm, i.e 10 V, the motor stops.
    Step
    5: From the position where motor stopped (i.e no need to reset to
    initial position) Start moving in the opposite direction at the same
                uniform RPM as in Step 2 while reading torque cell data.
    Step 6: Once again when torque reaches -10 Nm, i.e. 0 V, the motor should stop.
    Step 7: Repeat 'Step 2' to 'Step 6' 3 times.
    Step 8: Reset motor postion.
    Till now I have managed to get the motor to move forward n backward @ a desired vel, accl, n deceleration for 3 cycles. I am attaching my code. I am having problem inserting the code for reading DAQmx amidst all this. Can anyone help me out.
    Thnks,
    Sasi.
    Solved!
    Go to Solution.
    Attachments:
    Test_012609.vi ‏35 KB

    Hi Sasidhar,
    I took a look at your problem and I think I have a workable solution for you.  I definitely agree with Lynn's suggestion of using parallel loops.  This will allow the DAQmx portion to run uninhibited by the motion portion, and vice versa.  Plus, you only need to iterate the motion loop whenever the voltage level crosses a threshold.  So, by iterating on the motion code in the same loop that you are iterating on DAQmx code, you are essentially wasting processor.
    I created a VI that should do what you are wanting.  I tested it out myself and it works great.  You might have a tweak a few things to apply to your system (like motion board ID and DAQmx physical channel, etc.).  I used two parallel loops and event-based programming.  Basically the motion loop starts the motor spinning at the specified velocity.  Once the motor is spinning, it waits for the DAQmx loop to tell it that the voltage value has crossed the threshold.  When the voltage value exceeds the maximum threshold (which I set to a value slightly less than 10 to allow for jitter and saturation), the DAQmx loop signals the motion loop that it can finish its iteration.  The motion loop stops the motion, reverses the direction, and starts the motion again.  Once motion has started, it again waits for the DAQmx loop to tell it that a threshold has occurred, but this time, it is looking for a minimum threshold.  I used "Occurrences" to implement the event-based programming in LabVIEW.
    I have commented the code rather thouroughly, so hopefully the comments will answer any remaining questions.  The benefit of using event-based programming for this is that you save processor time, and your motion is more closely synchonized with the DAQmx.  Instead of iterating the motion loop as fast as you can, checking for updates each time, you just pause it, and wait for the other loop to tell you when to start up again.  In the mean time, the processor doesn't have to worry about iterating that loop over and over again.  Also, when the occurrence does occur, you catch it immediately, instead of having to wait until the next iteration.  Thus, you are more closely synchronized with the DAQmx portion of the code.
    I hope this will help you.  Please post back if you have any questions about the code or its implementation.  Good Luck!
    Message Edited by Wes P on 02-03-2009 05:18 PM
    Wes P
    Certified LabVIEW Developer
    Attachments:
    Motion and DAQ.vi ‏59 KB
    DAQmx Loop.png ‏24 KB
    Motion Loop.png ‏17 KB

  • Need help with Labview code for DAQmx

    I'm currently trying to write Labview code for some thesis research and am having problems.  I'm using the cDAQ 9172 with strain gage modules and two voltage input modules.  I'll be reading/recording a voltage from an external source on one channel, while recording strains and accelerations with the other channels.  I need to do all this simultaneously.
    Everything I've done to this point has been in SignalExpress so I'm not sure how to program any of this.  I also need to be able to calibrate the strain gages prior to each set of recordings.  Any help you guys could offer would be greatly appreciated.  Thanks.

    Hi,
    I'm not sure how much this will help you, but I've attached a screen dump of code from a project I did that sounds pretty similar to what you're working on. The code is from a subVI that I used to create the daqMX measurement task for my data acquisition. I was also using a 9172. This was written in 8.5, but the only thing that you may not have access to is the functions for null offset and shunt cal of the strain gage channels. Hopefully this will at least get you started on your way to setting this up.
    Andrew Carollo
    Attachments:
    create task.jpg ‏208 KB

Maybe you are looking for

  • Error when Extending VO

    Hi, I am exending an iExpenses VO and am getting this error: "Each row in the query result columns must be maped to a unique query attribute in the mapped entity columns" I am trying to add 2 columns to the SQL query and get this error on the Attribu

  • Migrating data from Sun ONE directory server into openLDAP

    Hi, I was to migrate the data from Sun ONE directory server into openldap. Has anybody done this or know about this. Can you please share the steps that needs to be done. NOTE: I have exported the data into LDIF file but when I run with ldapadd into

  • Installing SAP Netweaver 2004s On CentOS 5

    I am planning to install SAP Netweaver 2004s on CentOS 5 on a 64bit multiprocessor Dell Server. Is it possible to install on as its a upstream vendor OS clone RHEL5. Are there any detailed HowTo(s) Guides to install. Thanks in advance for all the hel

  • XL-Reporter - Evaluation of bookings in journal

    Hello everybody, I'm working with SAP B0 SP01 PL29 and XLR PL29. I specify my reports with the Advanced Report Builder. I want to evaluate the journal to display the bookings per month of selected BusinessPartners and accounts. My first idea was to s

  • *.xmp files are incomplete.

    I am running Bridge CS5.1 on OSX Lion. I am shooing RAW (*.CR2) on a 600D with FW 1.0.2 My workflow is to copy the files from the card to the internal HDD with finder.  Then browse the files in Bridge, opening them in Camera RAW when edits need to be