indexing
description: "Contains information that a rich edit control uses to format its output for a particular device."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_FORMAT_RANGE
create
make
item
WEL_STRUCTURE
ensure WEL_STRUCTURE
not_shared: not shared
make_by_pointer (a_pointer: POINTER)
itema_pointer
item
a_pointer
WEL_ANY
ensure WEL_ANY
item_set: item = a_pointer
shared: shared
feature
character_range: WEL_CHARACTER_RANGE
ensure
result_not_void: Result /= void
item: POINTER
WEL_ANY
rect: WEL_RECT
ensure
result_not_void: Result /= void
rect_page: WEL_RECT
ensure
result_not_void: Result /= void
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_character_range (a_character_range: WEL_CHARACTER_RANGE)
character_rangea_character_range
require
a_character_range_not_void: a_character_range /= void
set_dc (a_dc: WEL_DC)
require
a_dc_not_void: a_dc /= void
set_dc_target (a_dc: WEL_DC)
require
a_dc_not_void: a_dc /= void
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_range (min, max: INTEGER)
minmax
require
valid_min_max: max >= min
ensure
set_min: character_range.minimum = min
set_max: character_range.maximum = max
set_rect (a_rect: WEL_RECT)
recta_rect
require
a_rect_not_void: a_rect /= void
set_rect_page (a_rect: WEL_RECT)
rect_pagea_rect
require
a_rect_not_void: a_rect /= void
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_FORMAT_RANGE