Does summernote allow Microsoft word document upload - summernote

Does summernote allow Microsoft word document upload through it's UI just like image upload.

You can only achieve this by implementing a custom button/function. If you want to show a thumbnail of a file and a link to download the document you can do this by managing your html. If you want to show the entire document on summernote I think it's not so trivial, you will need to find third-party libs for converting word format to html.
Take a look at https://summernote.org/deep-dive/#custom-button.

Related

Telerik RadSpreadsheet to PDF

I’m currently using web forms and VB.NET I’ve tried following the examples and docs on Teleriks website, however the results are not as expected. It appears that Telerik is taking a screen capture and turning that into a PDF.
What I’m needing is to export the spreadsheet that is displayed in the RadSpreadsheet control into a PDF document such that the results are identical to what’s being displayed.
I’m starting to wonder if Telerik doesn’t actually do anything but take screen shots and save them as a PDF. Even their demo does that. Does anyone know how to go about exporting the Excel file into a PDF? Again their documentation to me isn’t really clear.
there are several libraries used to process documents. They are called Telerik Document Processing. You can use them to generate, modify or convert documents. You could use the RadSpreadProcessing library to export your grid data and then convert the Workbook to a PDF document. Here is the documentation of the PDF export feature https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/formats-and-conversion/pdf/pdfformatprovider
The PDF documents generated this way are not screenshot, they are real PDF documents.

Umbraco - how to insert clickable images into page?

I am a beginner with Umbraco. I am able to upload images to the Media Library and then put them onto the page, but for my sidebars I want the images to be clickable links to other parts of my site and other sites.
At the moment I am using the Rich Text Editor to write an anchor tag etc. but this seems ridiculous and I don't want content authors [attempting to be] writing HTML.
It seems like there should be a built-in data type for this, or a property on the image but I see nothing. Do I need to write my own Razor code as a DataType? This seems like such a common thing that I'm surprised there is not a built-in solution.
I'm using 7.2.8
If you're already using the RTE, you can just select the image and click the Link button, then whatever you have selected (in this case the image) should become a link. No need to make your own HTML :-)

How to compare the layout of pdf files programmatically?

It is possible to rip the text from pdf and comapre it. And here i need to compare if the layout of the pdf with another pdf file. Is it possible programmatically? There are third party tools to do that, but is it available for testing using selenium or any programming language?
I have gone through google, but couldn't find a solid solution for this yet? Any help appreciated.
With PDF Box of apache you should be among other things be able to extract the text from existing PDF documents.
ps: you probably have to create a custom program in jave to extract and compare and invoke it from selinium.

View PDF as a SlideShow?

I'm looking for an answer, if there is somehow possible to view a PDF file (ASP.NET MVC 3 project) in other way like a standard in the adobe plugin. My client wants to:
show the PDF file like a slide show (or navigate horizontally through the pages)
protect the PDF file from being downloaded
so, maybe there is a JavaScript/jQuery control to change the presentation of the PDF or maybe some other way ? Is it even possible ? Any ideas ?
Google has an open PDF viewer. Trying it out:
https://docs.google.com/viewer?url=www.graphpad.com/manuals/prism4/StatisticsGuide.pdf

Need to disable an automatic URL hyperlinking with XSL-FO when generating a PDF document?

I'm using Apache XSL-FO to generate a PDF document from an XML using XSLT. In my XSL file I have an fo:block where I bring a URL and simply display it like this:
xsl:value-of select="company_info/website"
My website always contains a valid URL for some company, starting with www.abc.com
It seems like that by default anything with a www is being recognized as a URL and becomes linkable. It does not seem like I can force the link of that company to load in a new window, as it always loads the page in the PDF window and that's not a desirable behavior. I am trying to find a way to disable to URL altogether so that it is not linkable and the only way I'm able to do it tight now is by inserting '-' on both ends of the URL: -www.abc.com- Is there a more elegant way to insert some kind of a special character that maybe is not visible?
This is probably not something that can be fixed from the XSLT/XSL-FO side of things (except by inserting extra characters, as you have done). It is the PDF viewer that interprets certain strings as clickable links.
In Adobe Reader, you can disable automatic recognition of links by unchecking the "Create links from URLs" check box (Preferences dialog: General->Basic tools). Foxit Reader has this option too.

Resources