Read page number of word document by interop word

Hi everyone!
I have a c# application and I want to read page number field of each page.
i.e. A,B,C... or 1,2,3... or i,ii,iii...
Please Help!
Thanks!

Try and ask here:
http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com

Similar Messages

  • Page number problem with document imported from MS Word.

    I am a new Mac/Pages user and imported a Word document to use as a template to help me learn the Pages formatting nuances. This has worked well except for one problem. I have page numbers in the footer, but only the first digit of the page number shows up, i.e. 7,8,9,1,1...etc. I can't find a way to edit or delete the page number imported from Word. I can easily insert the page numbers through Pages but can't get rid of the imported pages numbers. Also, how do I prevent page 1 from receiving a page number?

    Hi,
    Others have reported difficulty removing page numbers from imported Word docs. I think it can be done, but it may not be worth the effort to repair the imported document when you can easily Select All and Copy the entire document and Paste it into a fresh Pages blank document without the improperly formatted, persistent Word page numbering.
    Jerry

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • JavaScript To Page Number Certain Size Documents

    Hi guys,
    I'm fairly new to JavaScript and can't figure out how to write this code.  Essentially, I want to write a code that adds page numbers to the bottom left of a document only if the page size is NOT 9x11 inches. Is this possible to do?
    I was thinking it would be some sort of loop to add the page numbers with and if statement to only number the page if the size does not equal 9x11 inches.
    Also, I would need to insert the page number 1/4 inch from the bottom and 1/4 inch from the left.
    Thanks,
    MJ

    Uhm... because I never noticed that option before! hehe. Jeez.
    Gilad, thx much. That's exactly what I was looking to accomplish.
    (An aside: trying to find a specific Adobe solution or function isn't very easy. I always search the forums, the documentation, and Google before posting any question here. Seems like there are so many features in every product that change so frequently that finding even a simple answer is a challenge...)

  • How to read particular number or word from lengthy serial data

    Serially getting lengthy data...how to get particular number or word from Tht

    Omi_30 wrote:
    I am getting continusly 3 measured voltages,currentso,powers over serial..those values over serial are separated by spaces
    Are the numbers in ASCII?  Use the Spreadsheet String to Array function.  Wire in a space constant to the delimiter and a 1D array of doubles to the array type.  You can then use Index Array to get the value you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to get last page number in word report? LV

    I'm trying to find out where am I when I use LV to generate word report. I would like automatic generate page index in front of report.
    Thanks in advance

    Ed,
    Are you using DIAdem with labview to generate your report in LabVIEW? If so can you please explain your setup a little more. If you aren't using DIAdem you may find more labVIEW users if you post on the LabVIEW forums: http://forums.ni.com/ni/board?board.id=170 . Either way let me know.
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • Get page number

    is there any way to get page number which my query search found it ?
    i mean when my search in documents such as word, pdf or ...

    If understand your requirement - that you want the page number of a document on which your search term was found - this is not possible. Oracle Text only keeps track of word offsets - for example it might know that "dog" is the 200th word in the document - it does not know about page numbers.
    The $I trace in ctx_output has no relevance to this problem.

  • Changing page number sizes

    I need to change the font size of the page numbers in my 300+ page document in the CS4 version of Indesign. The page numbers were created automatically, but without the use of a master text frame (it was started in the CS3 version, which I understand doesn't have that feature). Is there a way to automatically change the font size of all the page numbers at once? This would be preferable to going through and editing them manually.

    SadieDanells wrote:
    Even in the original master (titled A)  I can't select the number marker. I can only select the 'A' that sits in place where the number would be on a regular page, and changing that doesn't affect the other numbers in the document even if I try to 'apply master to pages'.
    Sadie, here's the way it works. If you start with one master page Called A-Master, make a text frame and place an automatic page number placeholder in it, it will look like the letter A on the master page, and will be replaced by the page number on the document page. You can't select or change the number on the document page unless you detach the text frame from the master page on the document page by clicking on it while holding shift and command. Once detached from the master, the text frame will act the same as if you had created it on the document page, so things like moving or changing the placeholder on the master page will no longer update on that document page.
    If you make another master page called B-Master and base it on A-Master, the existing page number marker on the B-Master will also read as A since it is a copy of what was on the A-Master. If you made a second marker on the B-Master, it would have a B instead of an A. If you were to detach the copy of the text frame on the B-Master from the A-Master, it will change from an A to a B, and you will be able to edit it, but just like the link from the master page to the detached document page, the link from the A-Master to the B-Master will be broken, so updating the A-Master will no longer update on the B-Master.
    So, to do what you want, you can either change the placeholder on the A-Master and it will change there, on any masters that were based on A, and on all document pages that were based on A or the masters based on A. If you don't want to do that, detach the text frame on the B-Master and it will update on all of the document pages based on B-Master, but all those based on A-Master will remain the same.
    Does that help, or did I give you too much info?

  • How to print page number in Pages

    Please help. I have inserted the page number in my document and I see it the print preview, but when I print it just doesn´t print the page number.

    It sounds like you have the page number too close to the edge of the paper and your printer simply does not print to the edge.
    Test how much of the page your printer prints, by covering a page with a colored object from edge to edge and seeing how much is clipped off.
    Peter

  • Dynamic page number

    dynamic page number
    I am trying to print multiple documents in one report, the requirement is to reset page numbers for every document(to start counting from 1)
    I don't have control over the size of the document because it is a flow table
    I am using page conditional break to finish the document and start a new one but I couldn't change the page number.
    Plz help I am really trying to solve this for a week now.
    I am using 7.1 ADL
    thanks
    Edited by: Sami Japr on May 26, 2009 1:59 PM
    Edited by: Sami Japr on May 27, 2009 1:35 PM

    I figured it out thanks any way
    If anyone looking for a solution for the same issue
    he solution is as follows
    create 3 numeric fields in the header of the table
    total
    counter 1
    counter 2
    the total is to count the number of pages of each document
    in initialization event
    total = total + 1 ;
    the counter 1 is to make the counter of the pages from 0 to total (invisible)
    in calculate event
    if ( counter 1 < total ) then
    counter 1 = counter 1 + 1 .
    elseif( counter 1 >= total ) then
    counter 1 = 1
    counter 2 to show the page number of the document
    in layout ready
    counter 2 = 1
    in calculate event
    counter 2 = counter 1 + 1
    Note: this is the logic with little modification create the code
    Regards
    Sam or Muneer

  • PDF417 Barcode - Dynamic Page Number

    Hi Experts,
    Requirement is to code PDF417 barcode in all pages of the letter footer. Barcode data should contain page number & total page#. Number of pages can vary based on different scenarios.
    Is there a way to implement this in 11.3?
    (It was done in 12.2 with the help of post tran dal and field properties set to PDF417. But requirement is in an application which uses 11.3. And PDF417 is not available in 11.3 field properties.)
    Thank you,
    Sruthi

    I figured it out thanks any way
    If anyone looking for a solution for the same issue
    he solution is as follows
    create 3 numeric fields in the header of the table
    total
    counter 1
    counter 2
    the total is to count the number of pages of each document
    in initialization event
    total = total + 1 ;
    the counter 1 is to make the counter of the pages from 0 to total (invisible)
    in calculate event
    if ( counter 1 < total ) then
    counter 1 = counter 1 + 1 .
    elseif( counter 1 >= total ) then
    counter 1 = 1
    counter 2 to show the page number of the document
    in layout ready
    counter 2 = 1
    in calculate event
    counter 2 = counter 1 + 1
    Note: this is the logic with little modification create the code
    Regards
    Sam or Muneer

  • Outside in Viewer resets the page number to 1 always, even though the Word document has page numbering starting from different value.

    Hi All,
    I've a Word Document with page header having page number inserted.However the page numbers have been formatted to start from a value other than 1.
    E.g. For a given word document, navigate to "File -> Insert -> Page number-> format page number -> start at " and set the value to say "300". Now insert page numbers, so that the page numbering of the 1st page starts from 300.
    When this document is viewed using Outside-in Viewer, the page number of the 1st page always shows 1 instead of showing 300 (though this is not being reset/changed within the actual document)
    I'm using Outside in 8.1.9 SDK for the same. Is there an API to set the page number correct (exactly what has been set within the original document) while viewing...
    Alternatively confirm if this is a limitation within the Outside-in Viewer.
    Thanks,
    Badri

    You're going to need to open an SR to Outside In Support, Product ID 2276.
    Make sure you attach an example Word doc to the SR.

  • Have Windows XP and Adobe 9 Reader and need to send a series of large documents to clients as a matter of urgency     When I convert 10 pages a MS-Word file to Pdf this results in file of 6.7 MB which can't be emailed.     Do I combine them and then copy

    I have Windows XP and Adobe 9 Reader and need to send a series of large documents to clients as a matter of urgency When I convert 10 pages a MS-Word file to Pdf this results in file of 6.7 MB which can't be emailed.  Do I combine them and then copy to JPEG 2000 or do I have to save each page separately which is very time consuming Please advise me how to reduce the size and send 10 pages plus quickly by Adobe without the huge hassles I am enduring

    What kind of software do you use for the conversion to pdf? Adobe Reader can't create pdf files.

  • In Pages - How do I delete a page number from an imported Word doc?

    I was sent an email with a six page WORD document attached. The attachment opened in Pages. Most of it is good, but there are page number characters in the wrong place.  I cannot do anything to them. They seem to be outside the document text, off to the right side and only partially showing. Definitely not at the bottom where they should be seen. Going over them with the cursor does not allow me to select and delete these numbers.  I thought they might be in footnote format and in the Inspector I unchecked Header and Footnote, which did nothing to help. 
    Also, I've tried without success to just go and add my own page numbers which might work, but then will need white-out or similar to remove the old page number.
    Working in Text and PDF format did not work, either, and I do not have Word.
    Unfortunately, I've spent hours on this and really hope somebody has a good suggestion on how to deal with these characters.
    Thanks

    Just to clarify, once you have done this you still need to use the command key and 'lasoo' the object from off the edge. So full process (in version '09 4.3) is
    Format > Advanced > Make Master Objects Selectable
    Then put your mouse to the edge of the page, press CMD key and drag to select the offending item. Then it will appear with a box around and can be deleted.
    Thanks to all who posted these tips - I was pulling my hair out over a client document!

  • Page number of linked textframe in indesign document

    Hi,
      My indesign document has linked pages 1 - 10 (ie., linked textframes).  I want to take page number of selected text from 5th page., which textframe is linked textframe of 1st page.  When i use the following code for findpage, its returning the page no 1 instead of 5. 
    Kindly reply for me...
    var page = findPage(app.selection[0]);    // selection is a word/para
    function findPage(theObj)
        var thePage = theObj;
        if (thePage.hasOwnProperty("baseline"))
            thePage = thePage.parentTextFrames[0];
        while (thePage.constructor.name != "Page")
            var whatIsIt = thePage.constructor.name;
            switch (whatIsIt)
                case "Story" :
                    thePage = thePage.textFrames[-1].parent;
                    break;
                case  "Character" :
                    thePage = thePage.parentTextFrames[0];
                    break;
                case "Cell" :
                    if ( thePage.insertionPoints[0].parentTextFrames[0] == null)
                        // contents of cell is overset
                        thePage = tryHarderForCell(thePage);
                        if (thePage == null) return null;
                        break;
                    else
                        thePage = thePage.insertionPoints[0].parentTextFrames[0];
                        break;
                case "Application" :
                return null;
            thePage = thePage.parent;
        return thePage ;

    Hi,
      Thank u... Its working...

Maybe you are looking for

  • Create an interactive pdf that works in Apple Preview (and Acrobat Reader)

    Hi, I've created a very large interactive document for a client in InDesign CS6, which has buttons that help the user go to various locations in the doc and back, and have only rollover states on all the buttons. The interactivity works fine in Acrob

  • Can we update InfoPath field using Event Receiver ItemAdded method

    Hi, Can we update InfoPath browser enabled form field using Event Receiver ItemAdded method. Following is the code snippet I used to update the field but it's not updating the field. Please help me on this issue. public override void ItemAdded(SPItem

  • Yosemite made my MacBook Air Slow

    And its even slower when I use a second screen. Here's my EtreCheck report: EtreCheck version: 2.0.11 (98) Report generated November 20, 2014 at 12:02:42 PM EST Hardware Information: ℹ️   MacBook Air (Verified)   MacBook Air - model: MacBookAir6,2  

  • Panel tab shows up, but panel is blank

    Hello Everyone, I've created a File Info for CS5 panel using the generic panel.  As I've been working on it, it shows up just fine on my workstation.  The panel's folder has been distributed to three other workstations, and on two of them only the na

  • Help! Advanced Product Search

    Hi guys, I need some help setting up an advanced product search for a client. We are over half way through the job and they have now decided they want a product search to be able to so they search the size of a generator by power rating and brand. So