In This Topic
Nevron Text control currently supports the following text formats - DOCX, RTF, HTML, PDF, TXT, NTX, and NTB. The following table summarizes the features supported for those formats:
Text Format |
Import |
Export |
TXT |
Support for importing of plain text encoded in Unicode (UTF8, UTF16, and UTF32), single-byte encodings (ANSI, Western European, Arabic, Cyrillic etc.) and multi byte encodings (CJK - Big5, ShiftJIS, Johab, etc.) |
Support for exporting plain text to Unicode, single byte encodings, and multi byte encodings.
Saving in this format will lose all visual formatting information and will preserve only text.
|
HTML |
Nevron HTML importer supports the following features:
- HTML
- Parsing support for all HTML versions (HTML 4.0, 5.0, XHTML, etc.)
- Automatic encoding detection – supports all Unicode encodings and most of the ASCII encodings
- Automatic expansion of character references (“<”, “>”, etc.)
- Malformed HTML support – the included HTML tag soup parser deals with not-closed HTML elements, incorrect tag nesting, and so on
- Support for many deprecated and obsolete HTML tags and attributes to ensure compatibility with old HTML documents (e.g. the font tag, the “bgcolor” attribute, the “text” attribute, etc).
- Full support for embedded images in the “src” attribute of the img tag - both base64 and percent-encoding are supported
- CSS
- Inline styles - styles in the style attribute of an element, for example <p style="...">
- Embedded style sheets - styles in a <style> element, for example <style type="text/css"> p {color:red;} </style>
- External style sheets - css files referenced in the HTML document through a <link> element, for example <link rel="stylesheet" type="text/css" href="mystyle.css" />
- Support for all CSS 2.1 selectors and most of the CSS 3 selectors
- Support for most of the CSS 3 DOM properties (including rounded borders)
- Support for the CSS @import rule
- Support for the CSS @media rule and media declarations (in <link> and <style> tags), but currently only the styles defined for the screen media (including styles with no media specified, as they are valid for all media types) are taken into account
- Full support for all CSS length measurement units and automatic unit conversions when necessary
- Full support for embedded images through Data URIs - both base64 and percent encoding are supported
|
Nevron HTML exporter supports the following features:
- HTML
- Exports Nevron rich text documents to valid, well-formed HTML 5, which conforms to the XHTML strict standard
- Outputs human readable HTML - the exported document is nicely formatted with indentation and new lines when necessary
- Styling is separated from content by using CSS as HTML 5 requires
- Support for embedding images in the “src” attribute of the img tag, which makes it possible for the resulting HTML document to be exported to a single file
- CSS
- All styling information is exported to CSS classes, keeping their number as small as possible by combining classes that are met in the same set of elements
- If an image is used more than once in the document, it is exported to CSS thus avoiding multiple embedding of the same image, which preserves the size of the output file small
Saving in this format may lose information when you use features not present in HTML.
|
RTF |
Nevron RTF importer recognizes 700+ rtf tags and fully supports the following features:
- Character formatting - font, font size, superscript, subscript, bold, italic, underline, etc
- Raster and metafile image import - (PNG, JPEG, BMP, WMF and EMF) formats.
- Paragraph formatting - alignment, indentation, spacing, paging control, line height, tabs, etc.
- Tables - support for tables, table position, nested tables, and tables with merged cells
- Bullets and numbering - support for multilevel bullets, counters, etc.
- Sections - multiple sections, section breaks, header/footers, and page formatting
- Document Information - author, subject, etc.
- Styles - support for importing of text documents formatted with styles (character and paragraph styles)
- Fields - support for all common numeric, date time, and string fields
- Encodings - support for Unicode encoded rtf as well as all other RTF supported encodings
- Appearance - support for paragraphs, table, table cell and page shading and border import
|
Nevron RTF exporter supports all the options supported by the importer.
Saving in this format may lose information when you use features not present in Word / RTF.
|
DOCX |
Nevron DOCX importer provides full support for most of the features of Microsoft Word Office Open XML file format used as a primary file format in Microsoft Word 2007 and above. This includes all features supported by the RTF importer mentioned above plus:
- Table styles - full support for all predefined table styles introduced in Microsoft Word 2007
- Mail Merge - support for all mail merge data fields, greeting lines, field mappings as well as the most popular mail merge data sources (Access databases, Excel spreadsheets, and CSV text files)
|
Nevron DOCX exporter supports all features supported by the importer.
Saving in this format may lose information when you use features not present in Word / DOCX.
|
EPUB |
Nevron EPUB importer lets you load Electronic Publications (a.k.a. e-books in the EPUB format) with support for HTML 5, and CSS 3 formatting.
|
Nevron EPUB exporter supports all features supported by the importer.
Saving in this format may lose information when you use features not present in HTML and EPUB.
|
PDF |
Not supported. |
Nevron Text supports WYSIWYG export to PDF directly. |
NTX |
Supports import for all the features of the control in XML format. |
Supports export for all the features of the control in XML format. |
NTB |
Supports import for all the features of the control in binary format. |
Supports export for all the features of the control in binary format. |