External Interfaces > RealWeb > RealWeb API > Text Formatting (RealWeb)

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Text Formatting (RealWeb) (routines.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Text Formatting

The routines in this category allow you to format text in various ways. You can change the appearance of whole paragraphs or groups of characters within a paragraph.

Character Formatting

RWS_BOLD Tags the contents of a string to be displayed in bold.
RWS_COLOR (Deprecated) Tags the contents of a string to be displayed in a specified colour.
RWS_COLOUR (Deprecated) Tags the contents of a string to be displayed in a specified colour.
RWS_FONT Tags the contents of a string to be displayed in a specified font.
*RW_FONT_COLOR (Deprecated) Specifies a Font colour.
*RW_FONT_COLOUR (Deprecated) Specifies a Font colour.*
*RW_FONT_SIZE (Deprecated) Sets the text size.
*RW_FONT_END (Deprecated) Used to end a FONT declaration.
RWS_ITALIC Tags a string to be displayed in italics.
RWS_MONO Tags the contents of a string to be displayed in a monospaced font.
RWS_QUOTE Tags the contents of a string to be displayed enclosed in quotation marks (currently not supported in Internet Explorer).
RWS_ED_INSERT Tags the contents of a string as an Editorial Insert section.
RWS_ED_DELETE Tags the contents of a string as an Editorial Delete section.

Paragraph Formatting

*RW_ALIGN Specifies the text alignment for the next paragraph.
RWS_BLOCKQUOTE Tags the contents of a string as a block quote.
RW_CENTER_ON Centres subsequent text and images within the browser window.
*RW_CENTRE_ON (Deprecated) Centres subsequent text and images within the browser window.
RW_CENTER_OFF Ends centred alignment.
*RW_CENTRE_OFF (Deprecated) Ends centred alignment.
RWS_CENTER Tags the contents of a string as centred.
RWS_CENTRE Tags the contents of a string as centred.
*RW_FIXED_ON Starts a section of preformatted text.
*RW_FIXED_OFF Ends a section of preformatted text.
RWS_FIXED Tags the contents of a string to be displayed as preformatted text.
RWS_HEADING Tags a string as a heading paragraph.
*RW_HEADING (Deprecated) Defines a heading paragraph.

Page Formatting

RWS_MULTICOL (Netscape specific) Tags the contents of a string to be displayed in two columns.
RWS_MULTICOL2 Tags the contents of a string to be displayed in two columns.

CSS Styles and Stylesheets

RWS_STYLE Tags the contents of a string as a style definition.
RW_IMPORT_STYLESHEET Imports a stylesheet into RealWeb's RW.HEADBUF buffer.
RW_LINK_STYLESHEET Links a stylesheet into RealWeb's RW.HEADBUF buffer.

Miscellaneous

*RW_TAG (Deprecated) Encloses a text string in a pair of HTML tags of the specified type.
RWA_TAG Encloses a text string in a pair of HTML tags of the specified type.
RWS_TAG Encloses a text string in a pair of HTML tags of the specified type.
RWA_TAG_ATTR Uses tag names taken from a dynamic arrayClosed to format attributes from a second dynamic array.
*RW_TAGA (Deprecated) Encloses a text string in a pair of HTML tags of the specified type and appends the result to a buffer.
RW_TAG_ATTR(Deprecated) Uses tag names taken from a dynamic arrayClosed to format attributes from a second dynamic array.
RW_TAGL (Deprecated) Encloses a text string in a pair of HTML tags of the specified type.

 

A leading asterisk indicates that the subroutine was present in RealWeb 2.

RealityV15.1 (MoTW) Revision 7Comment on this topic