Stylesheet Formatting
Stylesheets are a feature common to all large word processing packages. Imagine a large corpus of word processing documents, in which all the captions are formatted in 12pt Times Bold. Due to a relaunched brand, a developer is given the task of changing the font to 14pt Arial.
This demo uses the MVC version of TXTextControl.Web included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.
Version 32.0 SP4
Set the input position to a paragraph and click one of the buttons below the editor to apply styles. Styles are stored within a document can be applied by referring to the name of the style.
Applying Styles Programmatically
TX Text Control supports both paragraph and character based styles, as well as multiple style inheritance. The stylesheets are compatible with MS Word, and can be used with RTF, DOC and DOCX files.
Styles can be imported and exported from and to MS Word compatible formats includig RTF, DOC and DOCX. They can be manipulated using dialog boxes and also modified and applied using the JavaScript API.
Sample Source Code
No code required.
No code required.
© 2024 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.