Questions
Recently active
I save a PDF into an Oracle BLOB Object in C#.net using ODP. I read the data into an OracleBlob object using pdf.pdfDoc = (dr.IsDBNull(1)) ? null : dr.GetOracleBlob(1);How do I view this object so that it looks like a PDF??
I would like to be able to cross the 23:59 time span. Using Acrobat Pro XI.Result as decimal: Field: 'Time5Dec.5'event.value = '';// get the start timevar sStart = this.getField('TimeIn.5').value;// get the end timevar sEnd = this.getField('TimeOut.5').value;// complete script only if we have dataif(sStart != '' & sEnd != '') {// convert sStart string to secondsvar fStart = Time2Num('hh:mm', sStart);// convert sEnd string to secondsvar fEnd = Time2Num('hh:mm', sEnd);// compute difference in secondsvar fDiff = fEnd - fStart;// convert to rounded minutesfDiff = Math.round(fDiff / 60);// report decimal hoursevent.value = fDiff / 60;}Result as HH:MM Field: 'TimeHHMM.5'event.value = '';// get the start timevar sStart = this.getField('TimeIn.5').value;// get the end timevar sEnd = this.getField('TimeOut.5').value;// complete script if we have dataif(sStart != '' & sEnd != '') {// convert sStart string to secondsvar fStart = Time2Num('hh:mm', sStart);// convert sEnd string to secondsv
Im new to javascript and have no idea what I am doing. Im making a form which, when a check box is marked, requires another field to be filled. In my screenshot, there is a check box if a person was referred by a doctor. I want to require the name and phone number of the doctor if the check box is checked. I have been looking around the forums but I don't seem to be able to find an answer to my question. Im certain someone knows how to help me with all of this great knowledge in the forum. I appreciate your help. Please keep in mind, javascript is NOT a forte.
In illustrator, i can create outline for text.How should I do the same in Acrobat SDK?
I created a template in Scribus and added pdf forms fields before saving it as a pdf. I then opened the pdf in Adobe Acrobat Pro 9 and entered the following scripts in my percentage fields, but neither worked.if(event.value == 0 | event.value = "") event.value = "";if( Number(event.value) == 0) event.value = "";I entered each on their own, but neither worked. I also tried entering them in the "Run custom validation script:" and "Custom Calculation Script" sections and neither worked. Currently, my form will print out "0.00%" when no value is inputted into said fields. I want the fields to print blank if no value is entered. Any help is highly appreciated, thanks!
I cannot seem to delete pdf files under windows 10
I already have a custom calculation script setup but I wanted to fix it a bit. var v1 = Number(this.getField("NMS").value); var v2 = Number(this.getField("CMS").value); var v3 = Number(this.getField("CMS").value); if (v3==0) event.value = ""; else event.value = (v1-v2)/v3;The script is giving me what I want in percentage. But what if I enter $5,000 in field "CMS" but left a $0.00 or blank in the field "NMS" yes it will give me a -100% in percent box but that's not what I want. I want the percentage to stay as "0.00" because if I do it the other way around such as $5,000 in the field of "NMS" but left a a $0.00 or blank in the field I get a "0.00" in percentage box. I need help from anyone.
I want to extract pages from pdf and display the images in an HTML container on a web site for clients to see their photo books before purchasing. read through some discussions and found the script below that extracts the pages from a pdf. I can use jquery flipbook to flip the pages. So the part I am not clear on is the Acrobat part extracting the pdf pages.What I want to know is what version of Acrobat do I need in order to do this simple step? I need to automate the whole process. I would need Javascript to Open Acrobat, then open the pdf, then extract the pages, then close acrobat.FI would need Javascript to Open Acrobat, then open the pdf, then extract the pages, then close acrobat.I don't want to use Flash to make a swf file for the flip book because it is not a permanent book. It is only a proof and once approved can be deleted. I just need to automate the process for all customers. The site I am working on uses PHP and Filema
Is it possible to set different default field highlight colors? Adobe Pro XFor example; the below code I found sets all document highlights to redif (!app.viewerVersion < 6) { // for version 6 or above app.runtimeHighlight = true; // turnon field highlighting app.runtimeHighlightColor = color.red; // set field color }Is it possible to set a default field highlight of "textField1" with a color.blue and "textField2" to color.red?I tried the script below for giggles: (of course, it did not work)var test1 = this.getField("textField1");var test2 = this.getField("textField2");test1.runtimeHighlightColor = color.blue;test2.runtimeHighlightColor = color.red;I couldn't find anything in the API reference either.
I previously developed custom javascript for adobe XI that custom stamps and saves the file. Now our company is moving to DC reader but want the same functionality. Is this possible in Reader?
We have seen a new issue with Acrobat Pro DC 2017.012.20095 and multiple plug-ins. We are aware that it affects plug-ins from multiple vendors.The plug-ins add tools which appear in the tool pane, can be added to the right hand pane, and appear as options in Quick Tools. So long as Tabbed mode is selected, this works as in previous updates to DC.However, starting with this update, if tabs are switched off in Preferences, the plug-in tools do not appear in the tools pane, right hand pane, quick tools selection, or quick tool bar. They return if tabs are switched back on. The plug-in remains installed and active, with menu items that it added still working normally whether or not tabs are activated.Does anyone have any info on this?
I have set up some basic formulas in my PDF. Example....I have a Swing field and a Cycles field. In the Cycles field under calculate I have a Simplified field notation: (60*60)/Swing The formula works fine but I have to have a number in Swing or it gives me a The value entered does not match the format of the field [Cycles] - the format in Cycles is set up as a Number. What do I need to change to be able to have a blank in Swing?
I tried 2 methods, none of them worked.1: AVDoc avDoc = AVAppGetActiveDoc(); PDDoc pdDoc = AVDocGetPDDoc(avDoc); PDColorConvertParams colorParams = (PDColorConvertParams) calloc( 1 , sizeof(PDColorConvertParamsRec) ); PDColorConvertAction colorConvertAction = (PDColorConvertAction) calloc( 1 , sizeof( PDColorConvertActionRec ) ); ASBool pageChanged = false; AC_Profile workingProfile; ACGetWorkingSpaceProfile (kACWorkingCMYK, &workingProfile); //Populate the PDColorConvertAction data members colorConvertAction[0].mMatchAttributesAny = -1;//kColorConvObj_AnyObject; colorConvertAction[0].mMatchSpaceTypeAny = -1;//kColorConvAnySpace; colorConvertAction[0].mMatchIntent= AC_UseProfileIntent; colorConvertAction[0].m
This seems like a simple one, but I've had some difficulty finding examples. I have Adobe Acrobat DC installed, and the Acrobat Addin for Excel. I'd like to convert say 3 of 5 worksheets in my Excel workbook into a PDF using VBA (and replace me having to do this manually). Hopefully this is easy to do.
We have encountered an issue where the size of the PDF files that we generate almost doubled in size when we upgraded the Operating System that we generate these files on from Windows XP to Windows 2012. Has anybody else encountered this issue? If so, how did you resolve it?
I am working on a script that is trying to read files (in .txt format) and manipulate them. I am trying to prompt the user to find and select an existing file on their computer. How can I write the code in such a way that triggers a pop up file explorer window (compatible with Adobe Acrobat DC)? I want the user to be able to find any document instead of dictating the file name or file location within the script. Once this is achieved, I would set the file name to a string variable called fileName. I am unsure where to begin with this process, so any help would be greatly appreciated. If there is an easier or more efficient method of achieving this goal please feel free to share. Thank you.
I need to create a fillable form that contains a simple drop down list in a pdf document that obtains its values from a web service that returns a small xml document and populates this drop down accordingly. I have the following questions on this topic:It seems I can add interactivity with Javascript so is it safe to assume I can use Javascript to consume a web service for this purpose? I read something about being able to access web services using something called Lifecycle Designer (seems to be really old posts about LCD), is this really necessary if I can use straight forward Javascript?If this is possible with Javascript, will all users who access this document be able to use it with Acrobat Reader without any issue be it security or other or do all users require the full version of Adobe for such an action?
Hi everyone.Im very new to javascript but learning. Im making i time sheet for my employer and have a calender widget on the first day of the week so whoever needs to use it can click on that datefield and choose a date. I wrote a script (With some inspiration from around here) to fill out the rest of the dates of the week. So if someone chooses monday 08/14-2017, the rest of the dates gets filled out by the script.I was asked if i could make it stop autofilling if a certain date is hit (We need to make them start a new timesheet at 2 dates each months , even if its midweek.) and im not sure where to go from here.This is the script i put in the costum calculation scripts for the other days. So this code is for tuesday and for wednesday i just changed the d.setdate to +2 etc.Any help on getting it to stop if i get the 20. and 31. of the month?(function () { // Get date from field var v = getField("Dato").valueAsString;  
Salve come da titolo chi mi sa aiutare con chrome ma anche con firefox mi da errore e non converte niente, mi sembra di capire che sia un problema di java ma non so dove mettere le mani.grazie dell'aiuto
I'm not sure it's the correct forum however I didn't find a forum specific for PDF Library. If there is one, I would love to get a link to it.Now to the question(s).I have an automated c# process that's optimizing pdf files that's coming from multiple sources using PDF Library: using (Library library = new Library()) { using (PDFOptimizer optimizer = new PDFOptimizer()) { SetOptimizerOptions(optimizer); try { optimizer.Optimize(new Document(sourceFile), targetFile); }
I'm still looking for help with this. One button to undo and one button to redo. Can someone provide a little help with this? I just can't find any javascript that will help me achieve these buttons. I have four text fields (total1, total2, total3, total4) and next to each I want to have the undo button and redo buttons for each total fields. Pretty basic. Like this, check box - click it to undo and if possible, to uncheck it to redo total1 field. And so on for the other three total fields. Or a second check box to redo total1. If you can help, please don't hesitate. Thank you.
Dear Sir/Mam,Can you suggest me how can I multiply the vale which was selected in combo box with a text box ??I have created form of Final Invoice through Adobe pro 9. In that copy I have used the calculation method available to bring the total of amount. Now for calculation of GST(Tax) which may varies from 5% to 18%. So I want to multiply the value of percentage which was selected in combo box with the Total amount mentioned in text box.Regards,NT
Hello All,I was wondering how difficult it would be to write a script that would go through all my bookmarks in the current PDF and mark those bookmarks that are dead and don't lead anywhere in a specific manner? Maybe bold and in red font?We send PDF documents back and forth with clients and between our changes and their's, we often end up with dead bookmarks in the file and I'd like an easy way to identify and resolve those. Any help would be greatly appreciated! THank you!
We receive a daily PDF file from our bank that is not searchable (they are not able to provide in searchable format). In attempting to perform text recognition we receive Acrobat error "could not perform recognition (OCR) because page contains renderable text".As a workaround we copy the original file, convert the copy to TIFF, covert it back to PDF and are then able to perform successful OCR, making file searchable. This is very time consuming. We are performing this on new daily files but also have a backlog of files to address. We are seeking a better solution.
I was wondering, is it possible to use one drop down box to apply a percentage to a specific total field? But, then clicking the same drop down box would then apply a different percentage to a different total field on the second click. At the moment I have one drop down that applies the percentage to two different total fields, at the same time but now I'd like to be able to apply two different percentages from the same drop down. I'm trying to not clutter up the form by using another drop down that would apply the selected percentage. So, I thought it would be possible with a bit of javascript and know how, to use one drop down to select the percentage. Or, I'm always open to suggestions that would work. Thanks, guys.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.