Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any javascript (web-based) wysiwyg editor that produces xsl:fo

I am having a hard time finding on OSS or commercial web-based (javascript) WYSIWYG* editor that produces XSL:FO. Would I would love to have the editor capable of doing...

  • The user is presented with common text-editor interface, not unlike the editor I am currently typing into to submit this question to SO.
  • The user is able to define all the structural components afforded by XSL:FO (new pages, new regions). Any "simplification" the editor can do (such as handling some of the implicit XSL:FO formatting necessary to place graphics and the like) would be helpful
  • Ability to create inline areas, such as lists and tables, add graphics, etc
  • Ability to style within the confines of the XSL:FO specification

(*) Since it is a WYSIWYG editor, there must be an ability to preview the document being created. Since XSL:FO requires an XLS:FO processor to translate into documents (RTF, PDF, etc etc) I would expect there to be a means to select which document type I would like to render, select "preview", and that document be rendered for preview (in an iframe, another window, whatever). I would expect this to require a server-side XSL:FO processor component as well. A bonus would be a "default" auto-preview that sends an AJAX request to the server to update the preview during a users content-creation "pause" (if the user doesn't add content for 5 seconds, auto-preview).

like image 363
Steve Siebert Avatar asked Dec 21 '11 13:12

Steve Siebert


People also ask

What is XSL FO used for?

XSL-FO (XSL Formatting Objects) is a markup language for XML document formatting that is most often used to generate PDF files. XSL-FO is part of XSL (Extensible Stylesheet Language), a set of W3C technologies designed for the transformation and formatting of XML data.

What is an example of WYSIWYG editor?

Microsoft Word is a common example that helps to define a WYSIWYG editor. You have a blank page with some formatting tools that allow you to add and format words, tables, images, and so forth. What you see on the screen is exactly what you see when you print or share the document.

What is WYSIWYG HTML editor?

WYSIWYG (pronounced wiz-ee-wig) is a type of editing software that allows users to see and edit content in a form that appears as it would when displayed on an interface, webpage, slide presentation or printed document. WYSIWYG is an acronym for "what you see is what you get."

Is HTML WYSIWYG?

WYSIWYG HTML, or "what you see is what you get" HTML, is a kind of HTML editing where you are able to see how the end result will look as you are editing it.


1 Answers

You could try using TinyMCE or CKEditor, both let you control the features exposed to the user, then use a serverside library to convert the HTML into XML:FO. I was only able to find one library that does this, html2fo, but I don't think it supports the full range of features you're looking for.

like image 168
John Himmelman Avatar answered Oct 08 '22 23:10

John Himmelman