How to shift Bates Numbering via PDFEdit methods?

I have to convert documents from A4 to Letter and vice versa.
To do this, I use the PDFEdit methods.
Per page, I enumerate all elements (PDPageAcquirePDEContent, PDEContentGetElem) and copy them to a new blank page of the required format (PDEContentAddElem). Then I resize and shift, applying matrix operations to the copied elements, as shown in code snippet Shared\ObjShiftSnip.cpp.
Unfortunately, if a document is Bates numbered, the Bates numbering is copied, but not correctly resized/shifted.
Resizing is done for kPDEText, kPDEPath, and kPDEImage objects, as in the snippet.
Does anybody know what type of object the Bates numbers are? Or is there any other type of container to use in in the recursive object enumeration?
Thank you.

> So the ObjShiftSnip code snippet has an error
No, it's just a sample snippet to demonstrate a possible technique. It's certainly not designed to cover all scenarios or be directly ported to a production environment. It's just a snippet.
> I will also try to change the page size directly; I didn't know that this was possible.
Check out the PDPageGetBox/PDPageSetBox methods, as well as the documentation surrounding (at least) MediaBox and CropBox. There are other boxes as well and it would be useful to know them, but those are the major players.

Similar Messages

  • Bates numbering not recognized in Acrobat XI Pro (through Creative Cloud).

    Several times recently, I bates-numbered the pages, had to shuffle or add or remove pages, did so, and then tried to renumber. Each time I got the message that Acrobat could not find any Bates numbering even though I had added Bates numbering via Acrobat myself only minutes earlier.

    Hi ,
    I would suggest you to have a look at the following KB document.Please see if they have something useful for you and can fix the issue.
    https://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    https://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html
    Regards
    Sukrit Dhingra

  • Trying to connect my iPad Air 1 to my iPhone 5S set as a hotspot via WiFi method.  iPad sees the iPhone as wifi hotspot, but an error appears 'Remote Hotspot Failure .. Unable to start personal hotspot'.   How do I fix this issue??

    Trying to connect my iPad Air 1 to my iPhone 5S set as a hotspot via WiFi method.  iPad sees the iPhone as wifi hotspot, but an error appears 'Remote Hotspot Failure .. Unable to start personal hotspot'.   How do I fix this issue??

    iOS: Troubleshooting Personal Hotspot - Apple Support

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • How come I can't send Numbers via email?

    how come I can't send Numbers via email?

    Are you trying to send by Gmail? Gmail will not accept Numbers 3 documents as attachments. There is some incompatibility in the format.
    Have you considered sharing a link via iCloud?
    The recipient can either view online in a browser or download the document via the Tools menu:
    SG

  • How do i sync numbers between my ipad and imac. i dont even know how to do this via itunes

    Hi,
    i just downloaded numbers to my ipda, thinking that as i use it on my mac, i would be able to use it on my ipad, and that the lates version would be saved automatically, however i have no idea how to sync the numbers on both devices

    Thanks, I've reset it a lot, but nothing changes.  I can get the iPhone and the iPad to talk with each other, I want to have the iMac in the loop.
    I got a note on another forum to change the "Send & Receive" setting. I now have 2 Addresses - my cell phone and my email. I'm hoping that will work.  When DH gets home I'll have him test it.

  • Adding Bates numbers to PDFs increases file size by 10x - How to keep original size?

    I have a lot of email texts that I converted from Word to PDF and then Bates numbered.
    However, Bates numbering made each email's file size go from about 50kb to 500kb.
    Once I combine these larger files for uploading to a docket, at the maximum allowable file size is 4 Mb, I can put together only 8-10 emails at a time.  What to do to keep the original file size small when Bates numbering?

    Hi paulu40695891,
    Yes, there is a significant increase in the file size when one applies bates numbering to the pdf and saves it.
    A workaround for this issue would be to save the pdf file again as reduced size pdf. (File -> Save as other -> Reduced Size PDF. )
    Does that helps with your issue? Please revert back for any further query or assistance.
    Regards,
    Rahul

  • How do I call an Application Module method from a EntityImpl class?

    Guys and Gals,
    Using Studio Edition Version 11.1.1.3.0.
    I've got a price update form, that when submitted, takes the part numbers and prices in the form and updates the corresponding Parts' price in the Parts table. Anytime this Parts view object's ReplacementPrice attribute is changed, an application module method needs to be called which updates a whole slew of related view objects. I know you can modify view objects via associations (How do I call an Application Module method from a ViewObjectImpl class? but that's not what I'm trying to do. These AppModuleImpl methods are the hub for all price updates, as many different operations may affect related pricing (base price lists, price buckets, etc) and hence, call the updatePartPricing(key) method.
    For some reason, the below code does not call / run / activate the application module's method. The AppModuleDataControl exists and recordPartHistory(key) is registered and public. At runtime, the am.<method> code is simply ignored, and as a weird side-effect, I cannot navigate out of my current page flow.
      public void setReplacementPrice(Number value)
        setAttributeInternal(REPLACEMENTPRICE, value);
        AppModuleImpl am = (AppModuleImpl)this.getDBTransaction().findApplicationModule("AppModuleDataControl");
        Key key = new Key(new Object[]
            { getPartNumber() });
        am.recordPartHistory(key);  // AppModuleImpl method which records pricing history
        am.updatePartPricing(key); // AppModuleImpl method which updates a whole slew of related pricing tables
      }Any ideas?

    Thanks Timo.
    Turns out the code provided was correct, but the AppModuleImpl method being called was not. A dependent ViewObject wasn't returning the row I was expecting. I then tried to perform some operations on that row, which in turn ... just stopped everything, but didn't give me an error.
    It was the lack of the error that threw me off. I had never messed with calling an AppModuleImpl method from the EntityImpl so I assumed that's what was messing up.
    You are correct. It is available from the ViewRow, but I thought it better to put it in the EntityImpl. This method will be called every time the replacement cost is modified. If I didn't put it in the EntityImpl, I'd have to remember to call it every time a replacement cost changed.

  • Make Bates numbering permanent

    After I apply Bates numbers to my document, they can be removed.  I want to produce my document to the other side and I don't want them to be able to remove the Bates.  Is there a way to make the bates numbers permanent? Thanks!
                                                                                                                           -Andrew

    Thank you both, the print to Adobe PDF worked.  If I knew how to use Java maybe the second method would be faster as it took a little time to print the 300 page PDF.   Nontheless, the job is complete, thanks again guys!
                                                                                                  -Andrew

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • What to do if Add Header/Footer tool and Bates Numbering tool both get error message? File too big?

    Hello,
    I'm working with a 700 page / 103 Mo PDF that I need to put page numbers on. Both the Header/Footer tool and the Bates numbering tool result in error messages.
    'An error occurred while retrieving the contents of the page.'
    I suspect this is because the PDF was made by assembling 30 smaller PDFs via Preview and never down-sized during the process. I would imagine that would create a kind of clunky file. Or maybe it's simply the size that is overloading the software.
    Does anyone have any advice on a fix or a workaround for this? I need to put page numbers on. I really want to put them on the composite PDF (going back to the 30 original PDFs would be a real headache for a lot of reasons.)
    Thanks!

    Hi Eliza,
    Your suspicion is right. It might be possible that assembling different pdf's together created from different applications might be the issue.
    Try printing the pdf to Adobe pdf printer and then try adding the page numbers and check.
    Regards,
    Rave

  • How do I get numbers to automatically add the next date down a column in numbers?

    How do I get numbers to automatically add the next date down a column in numbers?

    Hi Dd,
    If you want the next date automaitcally  filled in when you add a row to the bottom of the table, you can use a formula.
    Here's an example, done in Numbers 2.3 (Numbers '09). The method is basically the same in Numbers 3.
    Formulas in row 3:
    B3: =B2+1
    C3: =C2+7
    D3: =D2+14
    These have been filled down to the last row of the table.
    The same table is shown below after three rows have been added by dragging the Row control handle (below the tab for row 7) down. No changes other than adding thse three rows were made by the user.
    Note that rows 1 and 2 are header rows, and that row 2 contains the starting date for the seraies of date in each column. In the formula, the number at the end tells Numbers how many days to add to the previous date to get the next date.
    Autofill of the formula requires that every non-header cell located above the cell into which the formula is to be filled contains the same formula.
    Regards,
    Barry

  • How do I make payment via wire transfer?

    I'm from Malaysia and I only have AMEX card, but is not accepted to make payment. How do I make payment via wire transfer?
    I am entitled for the promotion: Complete Special Offer for RM1,103/year and I would like to purchase it. Please help.
    Thanks.

    Hello gracepoon,
    one option would be that you use Contact Customer Care = http://helpx.adobe.com/contact.html, by clicking through the headlines.
    If none of the conditions is fulfilled, and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
    This contact link is "brandnew", please give it a try: What are my contact options?
    On the other hand you can have a look there: "Telephone numbers of customer service and technical support Adobe worldwide" >>>
    Adobe - Adobe worldwide customer support phone numbers
    Good luck!
    Hans-Günter

  • How to read sequence numbers from RTP packets

    hi everyone.
    i want to know how to read sequence numbers of RTP packets. I will need that to reconstruct my stream from packet losses.
    URGENT Help needed!!

    The StreamTokenizer parses all numbers into only one type of value, a double. If you know that all the numeric values in the file will be integers, you could just cast the nval double field to an int and the toString() method will format it correctly.
    If you want to have different tokens and value types for different kinds of numbers, you will have to sub-class StreamTokenizer and add these capabilities yourself. You can add the type constant TT_INT, and provide an int field named ival. The toString() method would then format the value in the correct manner.
    If, on the other hand, you are actually looking for the exact text that was parsed, you could add code that collects the characters as they are parsed for any token type into the sval field in the nextToken() method, just like it already does when the token is a TT_WORD. In this manner sval is always valid for any token type.
    I hope you find this of some help.

  • How to password protect numbers file on iphone?

    How to password protect numbers file on iphone?
    I've made a password protected numbers file on iMac and saved it to itunes.
    When i open this file on my iphone for the first time i have to type in the password. But afterwards it's not protected anymore and i can open the file without the password!
    How can i secure my files?

    There is at this time no way to put a password in the Numbers app nor on a Numbers spreadsheet, and as Michael said it's not something a third-party developer could add. You can suggest that Apple add a password feature via their feedback pages:
    http://www.apple.com/feedback
    or you can look for a third-party spreadsheet app that does allow password-protecting a sheet. Documents To Go from Dataviz is a commonly-recommended app that supports spreadsheets, but I don't know if they support passwording.
    Regards.

Maybe you are looking for