How to get the PDF Text position, font, size, align...?

Hi~!
I can extract all the text from the PDF file, but just plain text.
I need their format, position, font, size, align.
I am using C#, IAC, and read the SDK carefully.
How to get them?
Thanks for every hint on how to achieve this!
Jason Wang

"Often this is a rectangle, sometimes not (e.g. for italic text the box
may be slanted too)."
Sometimes it lines up with the horizontal axis, sometimes not.
Aandi Inston
=====================================================
"Remember, in PDF, the origin is BOTTOM LEFT... "
Leonard Rosenthol
=====================================================
Thank you, Aandi, Leonard, Thanks a lot
Jason Wang

Similar Messages

  • Getting the absolute text position from a DOM tree

    Does anybody knows how to get the absolute text position of a node inside the DOM tree? Is there any DOM implementation that keep track of the absolute text position of each Node element or I need to overload somo methods by hand?
    Regards,
    Daniel Oliveira

    The position() function in XSLT returns the order of the element.
    For an xml document with elements:
    <a>
    <b></b>
    <b></b>
    </a>
    <xsl:apply-templates select="b"/>
    <xsl:template match="b">
    Element b:
    <xsl:value-of select="position()"/>
    </xsl:template>

  • How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.

    I have to display the short text in my report output.
    How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
    Is there any function module availble to get this short text or is this stored in any data base table ?
    Please help me. Your help will be highly appreaciated.
    THANKS.

    Hi,
    Use FM 'READ_TEXT' to get this values.
    Say for exampele my material is  1900001 and batch is 0000000517.
    Then my parameters to the FM will be as follows:-
    Text Name       000000000001900001    0000000517
    Language        EN
    Text ID          VERM
    Text Object     CHARGE
    This information you can get as follows.
    Open the short text window in the text editor.
    Here you can enter the long text.
    In the editor Go to Header and you will find the details.
    Please note that the text name will comprise of
    Material
    Batch
    Plant
    Stor. Location
    if all the details are given.
    I hope this helps you.
    Regards,
    Ankur Parab

  • How to get the bold texts in JTextPane?

    How to get the bold texts in JTextPane?

    I believe you need to look at the Elements of the Document. Use the Document.getDefaultRootElement() method to get the first root Element. From there you can iterate through all the Elements. You should then be able to check the attributes of the element to see if it contains the Bold attribute using something like:
    AttributeSet attributes = element.getAttributes();
    if ( attributes.containsAttribute(StyleConstants.Bold, Boolean.TRUE)
    // do processing here

  • How to get the Arabic text to speech on N8 ?

    How to get the Arabic text to speech on N8 ?

    Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
    Happy to have helped forum with a Support Ratio = 42.5

  • How to get the Pdf's page size?

    Hi,
    Anyone can tell me how to get the pdf's page size with js in acrobat?
    Regards
    Goldbridge

    The page size will not always necessarily conform to a standard size such as A4 - PDFs can be defined at any abstract size a user wants. Having a function that only output standard sizes would greatly limit its ability, so it was left up to the user to calculate whether or not the returned rectangle is a standard size as that satisfies many more workflows than the opposite method.

  • How to get the current caret position of a field

    I would like to mimic a feature known from some UI parts in Eclipse (especially launch configurations) - inserting a predefined variable. It allows to modify the value of a text field by inserting a special value to the position of the caret.
    I'm struggling with how to get the caret position in Sapphire since the model does not propagate such UI-specific info. Is there a way how to implement this which does not involve creating a special field implementation?
    Thanks in advance.

    Sorry for the delay in responding. Currently, there is no API available to implement what you are describing. We should add a TextSelectionService similar to the existing ListSelectionService.

  • How to get the PDF Document version when using Digital Signature

    Hi,
    I have a form which contains two signature fields.
    When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
    I need to get the binary of the versions stored in the form.
    Please suggest me the how to get the version data from the form.
    Regards,
    S.V.atish Kumar

    Hi Mithun:
    I think I have run into a similar issue and have not been able to find a resolution.
    I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
    Earnings .............. Pre-Tax Deductions .........Taxes
    <line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
    <line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
    <line 3 earnings> <line 3 pre-tax deductions>
    <line 4 earnings> <line 4 pre-tax deductions>
    <line 5 earnings>
    <line 6 earnings>
    The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
    Check Writer (XML)  - Issues with payroll check stub in rtf
    As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
    *** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
    Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
    Thanks!
    Edited by: RedLacey on Dec 17, 2009 11:48 AM

  • How to get the Underlined text in JTextPane

    I have a JtextPane with text say "i _like java_ it is a _good language_".
    in the above text i have made "like java" and "good language" underlined. And i have added a mouse listener to this JTextpane. the whole idea is to create a hyperlink so that when the user clicks anywhere on "like java" then i want to get the complete text("like java") where i clicked and using this text i want to do some operation. How can i get the underlined text?
    thanks.

    it was the same i question what i had posted. i didn't get reply there so i posted the same question in a new topic.

  • How to get the highlighted text range through Framemaker's API calls?

    Hi all,
    I'm new to the Framemaker API (7.x) and developing a plugin for Framemaker 7.x. I wanted to get the highlighted objects from the active mif document. Tried this code:
    F_TextRangeT tr;
    /* Get the current text selection. */
    tr = F_ApiGetTextRange(FV_SessionId, docId, FP_TextSelection);
    Here is how I tested it:
    1. some text in the mif doc was highlighted.
    2. I clicked the menu item "my_plugin", a framemaker dialog popped up, some test configuration was sent through the dialog.
    3. The test configuration was read by my program correctly.
    However, the debugger showed that the tr is null! When I changed the first step of the test into:
    1. placed the mouse cursor at somewhere in the mif doc.
    The plugin worked somehow, the line where the mouse cursor was placed got selected, although I did not highlight anything.
    My question is: how to get a highlighted range though the Framemaker API call? I've been flipping through the FDK 7.0 Programmer's Reference but haven't found a solution yet. Any hint will be highly appreciated.
    Best Regards,
    Ellen N. Zhao

    Here is some information from the FDK Programmer's guide page 115:
    IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
    It cant span multiple flows, footnotes, table cells, or text lines.
    It is possible for a document to have no text selection or insertion point at all. This can occur in
    the following circumstances:
    ● One or more graphic objects in the document are selected
    ● One or more entire table cells in the document are selected
    ● There is no selection of any type in the document
    So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
    But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
    Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
    Many thanks in advance!
    Best Regards,
    Ellen N. Zhao

  • How to get the Sales Text?

    Hi,
    I need a Function which will help me to read the Sales Text found in the MM03. I am using the following function but it seems I am not getting the NAME right. In the table STXL when I checked the NAME contains the MATERIAL(X7000114BLCK), SALES Org(1000) and Distribution Channel(20) like this "X7000114BLCK      100020". How could I make up this? or is there another easy Function where I could give the Sales Order No, Material or Line Item to get the Sales Text which comes in MM03.
    The Funtion that I used;
    call function 'READ_TEXT_INLINE'
             exporting
                  id              = '0001'
                  inline_count    = 1
                  language        = 'E'
                  NAME            = PO_OBJ
                  object          = 'MVKE'
             tables
                  inlines         = inlines
                  lines           = lines
             exceptions
                  id              = 1
                  language        = 2
                  name            = 3
                  not_found       = 4
                  object          = 5
                  reference_check = 6
                  others          = 7.
    Thanks,
    Kishan

    Hi Hymavathi,
    I did like this;
    DATA v_tmp(18) TYPE c.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
         EXPORTING
             input  = wa_sales-matnr
         IMPORTING
             output = v_tmp.
    CONCATENATE v_tmp 'XXX' INTO PO_OBJ.
    The answer that I get is this - "X7000114BLCKXXX" the spaces beteeen the MATNR and XXX is not there. How could I get this?
    Thanks,
    Kishan

  • How to get the current cursor position in word report?

    I am generating a word report. But I would like to keep the table in one page. However, I did not find the way to do it in labview. Somebody would give me some suggestions? I appreciate a lot.
    One way I think I can do is to find the current cursor position. Since I know the table size so I can figure out if the left space in the current page is enough to hold the table. But I do not know how to locate the curent cursor position in word document in labview programmatically. I appreciate any suggestions on this question.
    Thanks.

    Hi,
    when you insert data in a word document you have to refer to bookmarks rather than cursor position.
    If you are using the Report Generation Toolkit for Office it is explained in the manual chapter 3-1.
    See also the example: Generate Report From Template (Word).vi included in the toolkit.
    If you aren't using the toolkit, you still have to refer to bookmark as reference points to insert and/or fetch data.
    The principle is:
    - First create a document in which you insert bookmarks where you wish and save it as a template
    - In LV open your template document and insert in it your data referring to bookmarks as insertion points
    - At the end save your report with another name, so you still have the template
    I hope I have been clear enough, if not just as
    k!
    Good luck,
    Alberto

  • How to get the field texts from abap dictionary into screen Text fields

    Hi SapAll.
    here i have got to modify one zscreen by adding 1 more field,when i added one field in teh screen by just writng the code in program as SELECT-OPTIONS ilart FOR CAUFVD-ILART.
    but iam unable to get the field text for the text field from teh table CAUFVD.
    CAN ANY BODY HELP ME IN THIS.
    regards.
    varma

    Hi Varma,
    Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
    Regards
    Thiru

  • How to get the relevant text in the Cone Chart(WAD)

    Hi Expert's,
      Here is a requirement where we are using the CONE chart.
    But we are not getting the relevant texts based on the query attached.
      Plz help me to get the texts.
    Thanks in Advance.
    Vasu.

    Expert's plz look into it..this is very urgent.

  • How to get the start Y position from IWaxLine

    Hello Everybody..
    When I enter the text in the textframe,
    the text's top position is not equal to textframe's top position(startYposition).
    I want to know that how to get text's top position.
    I guess that
    IWaxLine* waxLine  = waxIterator->GetFirstWaxLine(start);
    PMReal startYPosition = waxLine->GetYPosition () - waxLine->GetLineHeight ();
    but it is not true.
    I use Adobe Paragraph Composer
    When I use Adobe CJK Paragraph Composer the everything ok.
    But, I have to use Adobe Paragraph Composer.
    How can I solve this problem ?
    Thank you.

    .

Maybe you are looking for

  • Read only filesystem problem

    Hi, I have a strange problem. After some time of running archlinux the root filesystem suddenly becomes read-only. It happened 3 times yet. I'm using LVM and the root volume is /dev/mapper/VG0-archlinux2 and filesystem type is reiserfs. If i tried to

  • Alertmonitoring in SAP XI and the standard text follow up activities

    Hello together, we implement the XI Alertmonitoring. This works propertly. Only I we don't need the section "follow up activites". So it is possible to delete the entry ? Here the error message as-is: Alert ID: ##80586## XI System ID: P80 Alert creat

  • Submitting job from a procedure

    Hi, I need to submit a job and call it frm a procedure. I need to run the job exactly at 12 in the midnight. How will i pass the start_time to the job? the problem i face here is the procedure can be called on any date. following is the procedure CRE

  • SAP connector and JSPDynPage

    hi everybody, I am trying to display some data from RFC on a JspDyn Page, I have prepared the project but the data from RFc is not displaying.... the code is MyJspPage.java:- package com.ust.jca; import javax.resource.cci.MappedRecord; import javax.r

  • HT5312 I want to restore the secret question for my camels Store

    I was restored to my secret question in the Apple Store <Email Edited by Host>