Delphi - filling pdf form [closed] - forms

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there a free component to automaticaly fill pdf forms from Delphi ? I have pdf like this https://www.dropbox.com/s/l0t3caunxtdav2l/P3.pdf?dl=0 and I want programically check the checkboxes, fill the text fields etc

The first place I would search is to see wether Adobe Reader has automation for this, when I did I first found this: Acrobat Forms Data Format (FDF) Toolkit
If you download the Windows version, and look in the FDF Toolkit for Windows\Headers and Libraries\WIN\FdfAcX\ folder, you'll find a DLL that you can register with regsvr32.exe and then access over COM. If you use the Import Type-Library tool from Delphi, you can have it generate a COM/ActiveX wrapper, so you can use the FdfApp and FdfDoc objects.
I should look more into the documentation, but from a quick glance at FDFACX.IDL, it looks like you can use FDFNextFieldName to find out about field names, and FDFSetValue to set their value.

Not sure if it is free. Have you looked at PDFToolKit?
If you happen to, here is a snippet of code illustrating:
procedure PrintReceipt(bSaveToFile: Boolean; iInvoicesid: Integer; mDatabase: TAlpineAdoConnection; eaObject: TEAObject);
var
pdf: TgtPDFDocument;
begin
try
pdf := TgtPDFDocument.create(self);
pdf.LoadFromFile('c:\temp\mypdf.pdf');
pdf.TextOut('<font size="8">'+'Hello world'+'</font>',630,170);
pdf.SaveToFile('c:\temp\updated.pdf');
finally
pdf.free;
end;
end;

Related

How to make a block of code highlight in one note? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 months ago.
Improve this question
How to make a block of code highlight in one note ? and is there a plugin which can help me ?
This is not my original post but i taught sharing would help others :)
To add the code block in ms one note you need to add additional package (again this is not my original work I am just writing this tutorial.)
Open below link and download the relevant packages as per your OS Architect and install.
https://github.com/elvirbrk/NoteHighlight2016/releases
and install the package and restart the ms one note and you can see new tab in your ms one note.
select your type of code.
and you're done.
But please don't report bugs here i am not the owner of the project.
And the code doesn't gets posted where the curser present rather it gets posted in top the one note text box.

Hive Query Language Syntax Highlighting/Colouring [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm currently working with HiveQL and can't seem to find any tools for syntax highlighting. Does anyone know of any decent editors? Ideally I would like to find an add-on to Eclipse. Thanks!
I use Notepad++ . Once downloaded go to Settings -> Style Configurator -> Select SQL add user ext for your files (say hql). This will highlight syntax in Hive QL as most of the keywords are same ion SQL and HQL.
You can also add string a user-defined keyword as SQL doesnt not recognize it as a language keyword by default.
I have also used below project to create a user defined language in notepad++ for hive.
https://github.com/lidermanrony/HiveNppUdl
Although i didnt like that the above project strayed from standard SQL formatting of notepadd++ so I edited hive.xml as below:
Just revisiting this, and to add to the list of possible IDEs, Atom now has good support for HQL.

Is there an Eclipse plugin which can perform comment translations from one language to another? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am working on a codebase where most of the comments are in a language which I don't understand yet and I would like to avoid cluttering my browser with Google Translate tabs. Is there an Eclipse plugin which can perform translations?
I don't know about such a plug-in, but there is this extension point in JDT, which lets you add custom hover/tooltips. You may create such an extension which uses google translator to provide a (rough) translation as tooltip for the current comment block. The ext. point is called:
org.eclipse.jdt.ui.javaEditorTextHovers
This way you don't have to manipulate the source files at all.
The Google Translate Eclipse plugin. Disclaimer: I've never used it myself.
You can try out this plugin https://marketplace.eclipse.org/content/source-code-translation-eclipse
I developed it because I am currently facing the same problem as you do

Documentation in md, pdf and html format [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm working on an opensource project on Github. I'd created some documents in Github's md format. However I want those documents available in three formats:
PDF: To be downloaded with project
HTML: To be hosted on my personal site.
Markdown (.md): For Github.
Obviously I'd not prefer to write them thrice. Is there any way I write it once anywhere (although MS Word preferred) and it could be converted to other two formats?
Consider Pandoc
I'd write in Markdown and convert to the others.
Another possibility is DITA. Its free reference implementation, the DITA Open Toolkit, lets you generate HTML and PDF out of the box, and can be customized to generate Markdown as well.
But, DITA might be a more sophisticated solution than you need, depending on your requirements for content reuse, the size of your docs, how frequently you update, whether you will be employing a technical writer to maintain and update your docs... It's a powerful solution better suited for a dedicated documentation effort than a one time ad-hoc situation.

looking for a good online WYSIWYG editor with RTF download capability [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Does anyone know of any JavaScript/CSS scripts that offer a good WYSIWYG editor, along with the ability to download inputted information to an RTF file?
The only one I've found so far is NicEdit, but I haven't been able the figure out how to convert the formatted text (which is in HTML format) to RTF and offer it for download. I've been able to store the formatted HTML in a JavaScript variable, but don't know how to proceed from there.
Do any of you know of an open source WYSIWYG text editor that offers users the ability to download their formatted text in RTF format?
In the end I decided to go for TinyMCE. It's pretty versatile and although downloading text was not a built-in function, it was easy to set it up myself just by passing the formatted HTML text through a PHP variable once a button was pushed for download.
From there, there are various php classes that can be used to convert HTML to RTF. Just updating this in case anyone else comes up with a similar problem in the future.