On our current site we offer our clients some brochures as pdf.
To keep our interaction in-site we were advised to use a conversion tool that converts pdf to flash.
Such a flash utility is basically an slideshow with some fancy effects and buttons.
This looks like a job jquery (or other frameworks) have mastered by now. There are a metric ton of jquery slider plugins.
Is there an existing solution that we can offer our marketing team that accepts a pdf and converts it to a (jquery) slider?
EDIT
The functionality should somehow be integrated in our Drupal content management interface so our Marketing and Communication department can use it.
You can use ImageMagick to convert a pdf to a bunch of images, then feed those images to a (jquery) slider anyway you want.
If you want a PDF2HTML conversion tool, you could also have a look at our new Java app to do this pdf_to_html_conversion.
Related
I'm developing a web application using .Net core 3.0 (Back-end) and Angular 8 (Front-end).
The user completes a form and then I have to generate a PDF (with design & picture) with the data that he put. The PDF needs to be in high quality.
I have tried several libraries in both Front-end & Back-end.
I need to use a free library.
I think it will be easier and better to do it in the Front-end because the user will need to print it (directly most of the time).
And also, in case of high traffic generate it from the back-end will use too many resources.
Also, "print" the html page is not an option.
I've tried :
PdfMake,
kendo-angular-pdf-export,
Jspdf,
wkhtml,
and others...
The best ones:
Kendo UI
It was really the best one, easy to implement and doing exactly what I needed. But is not free and one license is like 900e/user
pdfMake
The problem with that was that I will have to do all the design with the library-style, So I will have some limitations.
I would like to be able to generate a pdf from an HTML page including the CSS.
I'm blocked with that pdf generation.
Did someone succeed to generate a proper pdf with a good design with pdfMake?
Thanks a lot in advance.
A solution I've used is to create a service which, on the back end, generates the HTML and uses headless Chrome to render the PDF. Stream that back to the client browser.
I'm looking to Add social sharing buttons on a static which is having more than 500 Static Pages.
I can add manually but it's very tedious task so looking for an easy way to add.
Is there any Way to get the Permalinks of a Static Site Dynamically I'm thinking to pass it to the Sharing Code so that I can append the URL in the code if there is any way to add a piece of code automatically to all the pages it would be of great help.
Best Regards,
Arpit
You manually have created 500 pages or using php to generate dynamically?
If it is generated dynamically, you can easily add social share plugin to every page.
HTML code for social share by social9.com
https://www.social9.com/get-free-social-share/
...Select "code your own" from the list for HTML Code.
Yes, there is a way.
Use regular expressions in an IDE to find the right places and place the code in the replacing string.
If that's not enough powerful, then write a script, using e.g. Bash in Linux, or Groovy, or I would personally write a simple Java program leveraging the JSoup library.
Lastly, and I would recommend that most, give up maintaining the files manually, and switch to static site generating software, like JBake.
JBake can take your HTML pages and take their content as an input and re-generate the website through templates.
Is there any way to read and view a PowerPoint presentation within a Windows Store App?
What I want to achieve is to open the .pptx file from the computer and display the slides inside the app. Basically, it would be like a PowerPoint viewer.
What I figured out with extensive searching is I can use Aspose.Slides API to convert the slides to images and then display them to the user. But firstly, Aspose.Slides is not available for WinRT and secondly, it is not free. The OOXML is really complicated and I can't find an approach to achieve this via OOXML. What could be a work around to the problem? And can there be a way to manipulate the slides?
I haven't seen a WinRT API for PowerPoint, but if you found one for .NET you could easily write a web service that would take a ppt or pptx and use the API to convert it to images or something else that you can display.
If you have some control over the presentations - you might also consider saving them as XPS which is WPF/XAML based format, but even then you would need to do some more work to process it to a XAML format compatible with WinRT/XAML and might still have some problems loading custom embedded fonts etc.
I am looking for a simple HTML editor.
This package should fulfill the following:
Generates old type of HTML with no CSS
Fully supports Right-To-Left and Hebrew fonts
Must be an ActiveX / OCX component
Most editors in the market that I found so far, generate sophisticated HTML
What can you recommend?
EDITED
I need it for a desktop application. I want the user to be able to edit text like in HTML editor (font styles, alignment) etc.
One option which works well in desktop applications would be using a Richtext control, like TRichEdit or TRichView (commercial) for the editor.
RTF supports unicode and LTR and RTL (right-to-left) languages.
The generated RTF source can be exported to HTML, either with TRichView export functions or a converter library like my (commercial) ScroogeXHTML library.
nBit HTML Editor ActiveX/OCX (Commercial) seems to fit your requirements, except that the website does not state explicit support for hebrew/Right-to-left, so let's assume it doesn't support those, unless you can download a demo and try it. I have not used it so I cannot say.
It supports but does not seem to require CSS.
TRichView can import the HTML into RTF, then export it as HTML. I use it for a chat program message composer and a group chat message viewer by sending HTML between clients. I'm not sure about the span tag.
The TWebBrowser component used to allow editing; I haven't checked it lately but this is what I can find on Google:
How to enable editing of a document in TWebBrowser
Using it wasn't as straightforward as one would wish, but I remember doing pretty good things with it.
A designer company have made a prototype of a web application using HTML/CSS/JS, with forms, menus, roll-over sub-menus ... Now I have to take this prototype and build GWT views using widgets.
My question is : Do I have to start from scratch and build every view with UIBuinders and integrate the CSS files or there is an easy way to do this ?
Thanks
My suggestion - don't generate HTML. This basically means not using GWT widgets (or only using widgets that provide .wrap(element) method.
I'm taking this approach with my projects and works very well. I put all HTML in one big file and then hide (display: none) all divs. Then I use gwtQuery to identify, copy and show relevant parts. qwtQuery is also used inject behavior (event handlers).