I want to create my jsp page which contains word like functionality where user can add text, save them, do track change function. change fonts and color. Is there any plugin or java script plugin available to implement this kind of functionality in project.?
you can use CKEditor for the same.
CKEditor will give you all the functionality like word file.
CKEditor.com
use tinyMCE (http://www.tinymce.com/)
to display word-like editor.
sample: http://www.tinymce.com/tryit/basic.php
Use tinymce which is a javascript plugin that does text wysiwyg editing
Related
I need to render HTML page from a Java String. The String contains a full HTML page which may include CSS and Javascript. I know that some CSS/script reference may missing because I only has the html, so it's not a problem.
I have tried using JEditorPane, but it only works for very simple HTML. If it can't render, it will display nothing.
Is there any library I can use?
You can use the Desktop class. It will open the default browser of your platform.
Read the section from the Swing tutorial on How to Integrate With the Desktop Class for more information and working examples.
Is there any library which provide a text panel with basic formatting features.
Such as line numbering, Keyword coloring and others.
I want to display a code inside my application window. I already try to use JTextPane. But it is easy if there exist are any UI Components that meets my requirements.
note : I want to display the code same as when it is open using notepad++ or any code editor.
I've used jsyntaxpane with some success.
I want to allow users to create a PDF file with an online WYSISYG editor . It will be basically images and text that they can drop and create PDF.I will create a UI using jquery-ui .
I came across Flying Saucer that seems to be a good solution.But is there any other way or existing open source project ?
You could use a combination of an wysiwyg editor and html2pdf
I want to create a java application that allows users to import a web page and be able to edit it within the program.
Importing a web page will render it and the components of the page (images, text, etc) will be editable or draggable, allowing the user to re-layout the components.
For example, the user can load a web page that has an image header, but decides to have it at the bottom of the page. They can simply click and drag the image down and the html will be reformatted appropriately. It is basically a WYSIWYG html editor...
Will this be a difficult task? I am stuck at how to parse the web page into draggable components and being able to export the html after all the edits.
From what I can see, I'd need wrapper classes for html components and a way to keep track of all the changing positions and objects, but I could be wrong. Are there any helpful tools for this task?
I think creating something from sctratch will be difficult. But you can use Eclipse Web Tools Platform (either just by installing it or by developing your own plugin/distribution based on that). It has a fairly good HTML Editor/Web Page Editor which has WYSIWYG features.
EDIT: Also this question has some tips: Java WYSIWYG HTML editor
I am looking for a (preferably Java-) library or a command line tool to extract word coordinates from pdfs. The input-pdfs contain either text or images with ocr-text in behind.
My Use Case:
In a Java web-application I would like to use this to do hit highlighting and present this without additional software (e.g. Adobe Reader etc.). Instead I want to convert the the matching pages into images and present them within a web page.
You should be able to use http://pdfbox.apache.org/ to do the highlighting and present them as pdf itself. Also look at http://itextpdf.com/.
You can use JPedal to generate the thumbnails (http://www.jpedal.org/pdf_thumbnail_tutorials.php) and extract the text (http://www.jpedal.org/support_egETAW.php)