How to create electronically signed PDF in ColdFusion - coldfusion

Can any one have any idea about how to create a electronically signed pdf using ColdFusion.
Your timely help is well appreciated.
Thanks in advance.

ColdFusion 11 Enterprise has the capability to digitally sign your current pdf's designed in liveCycle.
iText also can support liveCycle forms and sign them, but it appears a bit tricky.
From what I understand you need to convert your liveCycle form in order to have iText get at it.

Related

Internal CSS issue on Email client- Sitecore EmailCampaign 7.5

Created new email template using score components. Added styles for the classes provided. But email clients are not supporting internal css.
We want to make it as inline CSS.
Is there any way to convert internal styles to inline styles in sitecore ECM.
If yes which convertor(dll) should I use to convert and which pipeline should I override.
Your help is much appreciated
Not sure I entirely understand your issue of having inline styles, but in any case please consider the link below as may prompt you with understanding how to create styled templates in Sitecore ECM:
http://www.craigtaylor.us/2014/04/creating-responsive-email-template-for-sitecore-ecm.html
Hope it helps!
Ah-h, I think now I got understanding what your issue is. It comes from the fact that email clients are very conservative and sometimes you need to code you mail message HTML as you did that back 10 years ago.
Likewise you did in the past - support for different browsers (typically IE and others) - now you need to support much wider range of email clients.
Here is the link you will definitely find useful - The Ultimate Guide to CSS (for email clients) - https://www.campaignmonitor.com/css/
Hope this helps!

How to create and save .docx document on C/C++?

I need to manipulate .docx documents using C/Visual C++. Any samples i found is c# samples.
How to do so?
What I've found is that Microsoft wants you to either use .NET or use their Office Automation API to invoke Word to perform the manipulations for you. Depending on how low you want to go with these manipulations, you might be able to get by with the Office Automation API. If not, you may have to get your hands dirty with the Open Office XML format that's behind the .docx file format.
Here's Microsoft's skimpy documentation on Office Automation
And here's an article that goes into it a bit more, although it may be out of date.
I just thought that one big issue with Office Automation is that you need to have Word to do anything with it. Of course, this all depends on what exactly you need to to.
Try http://libopc.codeplex.com/

'Field Scraping' in Windows

I want to develop an auditing application for certain Windows applications. I want to grab the text from MessageBoxes, Windows, Forms, Selections etc and ideally I would like to program in C++.
I've looked into Windows UI Automation as a possible solution, but am slightly put off as it says it will need to know parts of the underlying data structures which I can't get at. Alternatively, I've looked around and Neo's SafeKeys says that it protects against 'field scraping', but upon searching for it I can't find any information on how it is done. Could someone with experience with this please enlighten me? I'm aware you can scrape websites and the like, but I wish to scrape applications instead.
Any help would be greatly appreciated.
Look into using the accessibility layer, MSAA
I presume they are talking about doing a lot of EnumChildWindows() and GetWindowText().
A simple way of doing this without going near any data structures is to use Abbyy's OCR SDK http://www.abbyy.com/ocr_sdk/ to emulate in an application what their amazing Screenshot reader does. http://www.abbyy.com/screenshot_reader/ . With this technology, nothing you can read on the screen is safe from being captured as text, though it makes a mess of the odd character occasionally.

Web based printing from a Django application?

Is there any recent developments in web based printing?
I know using #media print in CSS, PDF based solution or iTextSharp but they are not really easy (except #media print) but alignment is little tricky if receipt contains barcodes or if I have to format for A5 etc.,
Is there anything new in HTML5 which will support this?
I would like to print receipts from a Django based webapplication.
Any tips?
Thanks.
You should definitely go with media="print" solution for 99% of your printing needs. For complex receipts that need absolute positioning, I've used PISA with table positioning and extremely rigid definitions for the page layout (think as if you're writing an email template).
But no, HTML5 will not save you. It gives you nothing new with respect to printing.

Generating Powerpoint PPT with ColdFusion?

Does anyone know if it's possible to generate powerpoint ppts within ColdFusion? I can't rely on the approach of installing a copy of office and generate one through COM and I can't use ooxml since my client is still in the office 2003 era. Any suggestion is much appreciated.
You can try using Apache POI, specifically their Powerpoint support. Looks to be still in beta though:
http://poi.apache.org/slideshow/index.html
I've used POI to extra from Word docs before and it was rather easy in ColdFusion.
ColdFusion doesn't have built in PPT creation, but you may be able to make something work with OpenOffice.
Look into CFPresentation (CF8), it allows you to create web-based presentations - not actually PPT format, but displayed in the same way via Flash player.
Have you considered using PDF instead? For all intents and purposes except perhaps some animation, PDFs do well replacing PPTs. And CF has tons of PDF creation and manipulation features!
I know it's not a good answer, but ColdFusion 9 can turn a cfpresentation into a PowerPoint file, and creating a cfpresentation is pretty damned trivial...
However, this of course requires a server that's still in beta, and a large cash outlay once it's released if you're running your own server.
Dan