RTF Setup XML

Example:

<RTFProperties>

                <Skin>WebBlue</Skin>

                <AutoResizeHeight>true</AutoResizeHeight>

                <Height>400</Height>

</RTFProperties>

 

AutoResizeHeight

Indicates whether or not the height of the RTF is resized based upon the amount of content within.

Value: true/false

BackColor

The Hex color used as the background for the RTF field.

Example: FF0000

BorderColor

The Hex color used as the border for the RTF field.

Example: 000000

BorderStyle

The border style used for the type of border around the RTF field.

Options:

    Dashed

    Dotted

    Double

    Groove

    Inset

    None

    NotSet

    Outset

    Ridge

    Solid

BorderWidth

The width of the border, measured in pixels.

Example: 5

Content

The default content used within the RTF field (includes HTML).

Example:

    <b>Store Text Here</b>

ContentFilters

Used to control how HTML is managed in the RTF field.

Options (To enter more than one, separate with a ","  e.g., FixEnclosingP,MozEmStrong)

    RemoveScripts – Removes script tags from HTML

    MakeUrlsAbsolute – Makes all URLs absolute

    FixEnclosingP – Removes parent P tag if all content is within it

    MozEmStrong – Changes all <b> to <strong> and <i> to <em>

    DefaultFilters – Enables all filters except for MakeUrlsAbsolute

DictionaryLanguage

Use to control the language used for the Spell Checker.

Values

    en-US

    fr-FR

    de-DE

EditModes

Used to control the editor modes available to the user during edit.

Options (To enter more than one, separate with a ","  e.g., Design,Html)

    Design – Show Design view

    Html – Show HTML view

    Preview – Show Preview view

    All – Show all views

EnableResize

Use to control whether or not a user can resize the RTF field.

Value: true/false

FontBold

Use to default all font to bold.

Value: true/false

FontItalic

Use to default all fonts to italic.

Value: true/false

FontName

Use to set the default font type.

Example: Times New Roman

FontOverline

Use to set the font with an Overline.

Value: true/false

FontStrikeout

Use to set the font with a Strikeout.

Value: true/false

FontUnderline

Use to set the font with an Underline.

Value: true/false

FontSize

Use to define the default font size.

Example: 10

Height

The height of the RTF field, measured in pixels.

Example: 150

Language

Sets the localization language of the RTF field.

Values

    en-US

    fr-FR

    de-DE

SearchPatterns

Controls the extensions that represent images.

Example: *.jpg, *.png

Skin

Use to control the styling used for the RTF Field. If you must modify the look to match your own pages more and a skin will not work, contact CorasWorks through the Forum for more detailed help on how to accomplish this.

Values:

    Black

    Default

    Forest

    Hay

    Office2007

    Outlook

    Simple

    Sunset

    Telerik

    Vista

    Web20

    WebBlue

 

StripFormattingOptions

Used to control what information is stripped during a paste into the RTF field.

Values

    None – Strip nothing

    NoneSupressCleanMessage – Strips nothing and will not display Pop Up.

    All – Remove all HTML formatting

    MSWordRemoveAll – Strips all MSWord-related tags

Text

The default text used within the RTF field (No HTML).

Example:

    Store Text Here

ToolbarMode

Defines the location of the toolbar.

Values:

    Default – Located within the RTF field

    Floating – Floating above the RTF field

    PageTop – At the top of the page

    ShowOnFocus – Only display when user hovers over RTF field

ViewPaths

Controls the (relative) paths to the location where images are stored for use within the RTF field.

Example: /_layouts/images, /mygallery

Width

The width of the RTF field, measured in pixels.

Example: 150