Automatic generation produced by ISE Eiffel
note description: "[ Objects that provide access to constants for RTF documents and formatting. ]" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2013-01-25 15:40:46 -0900 (Fri, 25 Jan 2013) $" revision: "$Revision: 90880 $" class interface EV_RICH_TEXT_CONSTANTS_I create default_create -- Process instances of classes with no creation clause. -- (Default: do nothing.) -- (from ANY) feature -- Access Color_table_start: STRING_32 = "{\colortbl ;" -- RTF string denoting start of color table. Default_font: STRING_32 = "\cf1\highlight2\f0\fs" Font_table_start: STRING_32 = "{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033{\fonttbl" -- RTF string denoting start of font table. generating_type: TYPE [detachable EV_RICH_TEXT_CONSTANTS_I] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty Rtf_backslash: STRING_32 = "\\" -- String denoting RTF backslash. Rtf_blue: STRING_32 = "blue" -- String denoting blue component of a RTF color. Rtf_bold_string: STRING_32 = "b" -- String denoting bold in RTF. Rtf_charset: STRING_32 = "fcharset" Rtf_close_brace: STRING_32 = "\}" -- String denoting RTF close brace. Rtf_close_brace_character: CHARACTER_8 = '}' Rtf_color_string: STRING_32 = "cf" -- String denoting color in RTF. Rtf_colortbl: STRING_32 = "colortbl" Rtf_control_character: CHARACTER_8 = '\' Rtf_family_modern: STRING_32 = "fmodern" Rtf_family_modern_int: INTEGER_32 = 5 Rtf_family_nill: STRING_32 = "fnill" Rtf_family_nill_int: INTEGER_32 = 6 Rtf_family_roman: STRING_32 = "froman" Rtf_family_roman_int: INTEGER_32 = 2 Rtf_family_script: STRING_32 = "fscript" Rtf_family_script_int: INTEGER_32 = 4 Rtf_family_swiss: STRING_32 = "fswiss" Rtf_family_swiss_int: INTEGER_32 = 3 Rtf_family_tech: STRING_32 = "ftech" Rtf_family_tech_int: INTEGER_32 = 1 Rtf_font_charset: STRING_32 = "fcharset" Rtf_font_size_string: STRING_32 = "fs" -- String denoting font size in RTF. Rtf_font_string: STRING_32 = "f" -- String denoting font index in RTF. Rtf_fonttable: STRING_32 = "fonttbl" Rtf_green: STRING_32 = "green" -- String denoting green component of a RTF color. Rtf_highlight_string: STRING_32 = "highlight" -- String denoting highlighting color in RFT. Rtf_info: STRING_32 = "info" Rtf_italic_string: STRING_32 = "i" -- String denoting italic in RTF. Rtf_new_paragraph: STRING_32 = "pard" -- String denoting start of standard paragraph. Rtf_newline: STRING_32 = "par" -- String denoting RTF newline. Rtf_open_brace: STRING_32 = "\{" -- String denoting RTF open brace. Rtf_open_brace_character: CHARACTER_8 = '{' Rtf_paragraph_center_aligned: STRING_32 = "qc" -- String denoting start of center aligned paragraph. Rtf_paragraph_justified: STRING_32 = "qj" -- String denoting start of justified paragraph. Rtf_paragraph_left_aligned: STRING_32 = "ql" -- String denoting start of left aligned paragraph. Rtf_paragraph_left_indent: STRING_32 = "li" -- String denoting left indent of paragraph. Rtf_paragraph_right_aligned: STRING_32 = "qr" -- String denoting start of right aligned paragraph. Rtf_paragraph_right_indent: STRING_32 = "ri" -- String denoting right indent of paragraph. Rtf_paragraph_space_after: STRING_32 = "sa" -- String denoting space after paragraph. Rtf_paragraph_space_before: STRING_32 = "sb" -- String denoting space before paragraph. Rtf_red: STRING_32 = "red" -- String denoting red component of a RTF color. Rtf_strikeout_string: STRING_32 = "strike" -- String denoting striked out in RTF. Rtf_stylesheet: STRING_32 = "stylesheet" Rtf_underline_none_string: STRING_32 = "ulnone" -- String denoting end of underlined in RTF. Rtf_underline_string: STRING_32 = "ul" -- String denoting underlined in RTF. Rtf_unicode_character: STRING_32 = "\u" -- String denoting starting of a Unicode character. Rtf_unicode_string: STRING_32 = "u" -- String denoting underlined in RTF. Rtf_user_props: STRING_32 = "*" Rtf_vertical_offset: STRING_32 = "up" -- String denoting start of vertical offset in RTF. Space_string: STRING_32 = " " -- String denoting empty space. View_text: STRING_32 = "\viewkind4\uc1\pard" -- A STRING constant representing the view type of the RTF document. feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: EV_RICH_TEXT_CONSTANTS_I): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: EV_RICH_TEXT_CONSTANTS_I): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "≜" (other: EV_RICH_TEXT_CONSTANTS_I): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Duplication copy (other: EV_RICH_TEXT_CONSTANTS_I) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: EV_RICH_TEXT_CONSTANTS_I) -- Effect equivalent to that of: -- `copy` (other . `deep_twin`) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: EV_RICH_TEXT_CONSTANTS_I -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: EV_RICH_TEXT_CONSTANTS_I) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: EV_RICH_TEXT_CONSTANTS_I -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: EV_RICH_TEXT_CONSTANTS_I -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable EV_RICH_TEXT_CONSTANTS_I -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.`default` for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class EV_RICH_TEXT_CONSTANTS_I -- Generated by Eiffel Studio --
For more details: eiffel.org