Is there any open source NuGet package or library which converts HTML to PDF for Xamarin.Forms?
HtmlRenderer.PdfSharp does the job but It is not supported for Android.
Any free ones or any suggestions to create a renderer which does the conversion?
You can check Syncfusion, they have a community license.
https://www.syncfusion.com/kb/7218/how-to-convert-html-to-pdf-in-xamarin-platform
Related
I want to copy a value from my app and paste it any other place of the same app or outside of the app.
I already looked for an answer in this thread:
So I used Clipboard.SetText(txtClipboard.Text); and added using System.Windows.Forms; and
using System.Windows; namespaces. But, I am getting an error:
clipboard does not exist in the current context.
Any nuget package need for this?
Thanks in advance
There is a clipboard plugin for Xamarin (supported platforms are iOS, Mac, Android, UWP and Gtk#). It supports saving text to and getting it from the clipboard in a cross-platform way. The NuGet package is available here.
To set text
CrossClipboard.Current.SetText("my clipboard text");
To get text
string clipboardText = await CrossClipboard.Current.GetTextAsync();
I am trying to create a pdf viewer inside qt using Adobe Readers ActiveX, but it requires to install Adobe Reader, so is it possible without installing Adobe reader we can create pdf viewer
QtPdf module in the Qt Labs.
It comes with a Widgets-based PdfViewer example, which works out of the box.
It can be easily incorporated into any Qt app - We are incorporating it into one if our QML applications, by creating a wrapper.
Qt blog announcement here.
I want to write a small linux tool that automates the download of eBooks. From my online library I can download an ACSM file. Now I need a step to automatically download the epub file. From what I've read this step is called fulfilment. The tool shall run on a headless server.
Right now I'm scripting wine and Adobe Digital Editions. But that is quite ugly and requires a graphical user interface. While this works fine on my PC, it doesn't work on a headless server.
Does anyone know a library that I could use?
Or a documentation of the fulfilment process so I could implement my own library?
In "PDF -Adobe Digital Edition" I saw a reference to the ADE_LauncherSDK_DevNet.pdf but I do not understand how to use this in an application.
Notes:
I do not want to remove the DRM, I just want to get the epub file.
The tool will be open source, so I do not want to buy anything from Adobe.
I know it's a 9 years old question but because I ended up on it with the exact same question, I wanted to give an answer.
Indeed, the code to download an epub/pdf from an acsm file can be found in 2 projects.
libgourou is a free implementation of Adobe's ADEPT protocol used to
add DRM on ePub/PDF files. It overcome the lacks of Adobe support for
Linux platforms.
https://indefero.soutade.fr//p/libgourou/
There is a docker version: https://github.com/bcliang/docker-libgourou/
Calibre ACSM Input plugin
This is a Calibre plugin that allows you to
turn ACSM files into EPUB or PDF files without the need for Adobe
Digital Editions. It is a full Python reimplementation of libgourou by
Grégory Soutadé (http://indefero.soutade.fr/p/libgourou/), and has
since been extended by more and more features.
https://github.com/Leseratte10/acsm-calibre-plugin
Calibre has a command line interface: https://manual.calibre-ebook.com/generated/en/cli-index.html
I'm starting in WPF Ribbon development and it is very nice!
My problem is to find (FREE) basic icons (like file save/open/etc, cut/paste/etc).
Have you got some suggestion?
Have you looked at the Visual Studio Icon Library? Provided you're not using Visual Studio Express, the library should be available as part of the install (if you didn't do a complete install). The images are free to use from a licensing perspective, provided they are used in a consistent way with the usage listed in the Readme.html file in the same folder as the image (See this blog post for further information). Basically as long as you don't use the disk image that's typically associated with "Save" to mean "Open" or some other weird usage, you should be fine.
Update 5 years later: the icon library is now available online.
https://www.microsoft.com/en-us/download/details.aspx?id=35825
http://www.famfamfam.com/
Check out the free icons on glyfx.com: http://www.glyfx.com/products/free_vista_ce.html
Is it possible to find some information about Qt? I need chm file with all documentation of all classes (https://doc.qt.io/qt-5/classes.html). Does somebody knows where can I find it?
If you have installed Qt in your machine, use Qt Assistant. The help available are pretty much the same as that in the online.
Qt Assistant is just an application which requires no internet connection and useful for offline help..
You can use the script from this site: http://www.interclasse.com/scripts/chm.php in order to generate chm file from an online tutorial you find anywhere in the web. Like this one: http://doc.qt.nokia.com/nokia-qtsdk-1.0/index.html
I haven't tried it myself, but seems rather promising.
Good luck!
I've made a little script that will automatically build a CHM file out of the latest available documentation for QT. All credits to char101 for the main script that actually converts HTML docs into the CHM project, my part was only a little automation.
https://github.com/vzhd1701/qt-documentation-chm-autoupdated