Can I import text from a pdf file to display in HTML with the same styles using visual studio 2010? - html

I started working for a company where the client sends us visual examples of the pages they want (with lots of text in different fonts) and we incorporate that into the site we build for them. This takes up lots of time as we need to style everything to be almost exactly the same. I am looking for a quicker way to do this. can someone please help? any advice would be appreciated.

Here I found converter from PDF to HTML online, so you won't need to download anything.
I didn't used it yet, but maybe It's working
http://www.pdfonline.com/convert-pdf-to-html/
But you can also use
<iframe href="pdf_file.pdf" width="500" height="200"></iframe>
And PDF file will be shown in frame in your browser using Adobe PDF reader.

Related

Confused HTML beginner here

so I've recently started learning web development and I read and write html according to a tutorial that uses html 4, and just practice it on notepad++ and test them on my browser.
Now there's a problem that's been bugging, the web page doesn't change at all even if I comment out the code or change a few things in it.
I messed around with the height and width of an image and it didn't change, I tried creating a folder outside the notepad++ folder and put everything there and nothing changed, I created a completely new file(added in notepad++) and folder and it was the same. I'm still in the middle of the tutorial and this problem has just been bothering me, someone please help
I think you should try clearing browser cache or try using other IDEs like vscode or if you use android then trebedit or Dcoder
Try refreshing your page, or use an IDE like Visual Studio Code and the live Server plugin. This should help you as a beginner because both of these tools are really easy to use. Maybe it isn't changing because you had never saved your file.

.doc / .docx problem to display in browser

I am trying to find a solution for a website that I made so that the word documents will not download automatically anymore, but that they display directly in a new page in the browser when I click them.
Can someone help me?? How can I do that in HTML?
Thanks a lot in advance
There are two approaches you can take for this:
Ensure that all visitors to your site have a browser extension which can display Word documents. (This isn't something you can control for a typical website but might be an option for a company Intranet)
Convert the Word documents to a format that the browser can display (i.e. HTML). You could do this manually or with code (which could be client-side or server-side). The Word document formats are notoriously complex so you would need to find a third party library that could do this for you.

convert html with css to PDF using jquery/javascript

I want to convert a HTML report to PDF with CSS. I have look through the google and I found jsPDF. But the problem with jsPDF is that it does not supprt CSS. To make the CSS work I have used html2canvas. But it does not work properly.
Can anyone suggest me a better solution?
If it's for your own use, install a pdf printer driver on your computer (there are loads of them if you google, but you probably already have one installed anyway) then just print the report to pdf.

VB.NET: WYSIWYG page maker tutorial

I have a course work for which I have to make a (as advanced as possible) WYSIWYG web page editor in VB.NET (2010). It should have a visual editor with drag-drop support for several elements such as anchors, images, tables etc., and it should generate HTML based on that structure.
I don't know where to begin though.. I have some experience with vb.net, I made a tabbed notepad vaguely following a tutorial, but I don't know how to make this drag-drop thingy in a richtextbox.
I've searched for a tutorial, but most of them are just too simple - a text editor with browser control rendering the HTML.. I found one really nice and advanced, but it's in german :-|
So, if anyone knows any resources / tutorials I could use to start things I'll appreciate it.
I won't start with a richtextbox. Do you want to realize it in WPF or Forms (I would recommend WPF)?
In WPF there is relative simple a Drag-And-Drop behavior for elements (see http://msdn.microsoft.com/en-en/library/ms742859.aspx).
I would start with some simple elements (e.g. TextBoxes) and drag-drop them from some sort of toolbox onto a grid with fixed columns and rows (and later use a canvas). And then generate the HTML-Code from that.
In general, most of the WYSIWYG browser based editors are written in Javascript using an editable DIV.
A good example is tinymce:
http://www.tinymce.com/
Download, including full source code, is available here:
http://www.tinymce.com/download/download.php
You can use CKEditor. Its one of the best WYSIWYG editor i have worked with. Its highly customizable and opensource.
Given below is the URL for the website:
http://ckeditor.com/

Creating an eBook with search capabilities for the iPhone

I have been trying to find an answer or info related in creating an ebook for the iPhone with search capabilities of the text, and there is nothing clear. I just want to load several pages using HTML, PDF or any other way, and that is fine. The problem is to find a way to search the text on the HTML or PDF and provide a result for the user. Could anyone show me the best way to achieve this or show me a link of a BOOK or Tutorial, since I have been looking for parsers, search engines, and of course, everything is written for experts in programming. I know exactly how to use Xcode, the problem is if the only way to achieve this is to get into Java or HTML programming. Please Help!
It might not be what you're looking for, but if you have iWork installed, then Pages can export a document as an ePub file, and this can be searched with iBooks.