![]() NewDateField.value = util.printd("mm/dd/yy", oCurrentDate) + " " + util. NewDateField = this.addField("dateField" + "." + p, "text", p, aRect) My code so far is: function versionStamp()ĬQuestion: "What is the new version letter?",įor (var p = 0 p < this.numPages p++) ) Alternately, can I designate the field using a separate coordinate place that is not effected by rotation? ![]() How can I detect if a page has been rotated like this so I can set the field orientation correctly. (The bounding box is also 90 degrees off, causing the text to be very small.) If, however they create a page as landscape, and then use the 'rotate page' feature in Adobe Acrobat to make it appear portrait, the stamp shows up in the correct position, but 90 degrees off from the orientation I want. When the person creates the PDF pages (from a CAD program) in their final orientations, my code (below) works correctly. If you deal with this format regularly, you want to manipulate pages in your PDFs. I've solved most of this, but have one problem. PDFs are widely used in business and education. The wrinkle is that pages are of different sizes, and some are in portrait and others in landscape, and I need to put the stamp in the appropriate orientation and position for each. The goal is to add a field with version specific text to each field. I am working on a Javascript plugin for adobe acrobat.
0 Comments
Leave a Reply. |