生成xsl:fo的任何javascript(基于Web)的所见即所得编辑器 [英] Any javascript (web-based) wysiwyg editor that produces xsl:fo

查看:93
本文介绍了生成xsl:fo的任何javascript(基于Web)的所见即所得编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难找到生成XSL:FO的OSS或商业网络(javascript)WYSIWYG *编辑器。我是否希望让编辑能够做到...

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...


  • 向用户提供通用的文本编辑器界面,与编辑我正在输入以将此问题提交给SO。

  • 用户可以定义XSL提供的所有结构组件:FO(新页面,新区域)。编辑器可以执行的任何简化(例如处理一些隐式XSL:放置图形所需的FO格式等)都会有所帮助

  • 能够创建内联区域,例如列表和表格,添加图形等

  • 能够在XSL范围内设置样式:FO规范

  • 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

(*)由于它是WYSIWYG编辑器,因此必须能够预览正在创建的文档。由于XSL:FO需要XLS:FO处理器转换成文档(RTF,PDF等),我希望有一种方法可以选择我要渲染的文档类型,选择预览,该文档是渲染预览(在iframe,另一个窗口,无论如何)。我希望这也需要服务器端XSL:FO处理器组件。奖励将是默认自动预览,其在用户内容创建暂停期间向服务器发送AJAX请求以更新预览(如果用户未添加内容5秒,则自动预览)。

(*) 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).

推荐答案

您可以尝试使用 TinyMCE CKEditor ,都可让您控制向用户公开的功能,然后使用服务器端库进行转换HTML转换为XML:FO。我只能找到一个执行此操作的库, html2fo ,但我不认为它支持完整您正在寻找的功能范围。

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.

这篇关于生成xsl:fo的任何javascript(基于Web)的所见即所得编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆