INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Contains information that a rich edit control uses to ", "format its output for a particular device. ", "WEL: library of reusable components for Eiffel. ", "Based on WEL library for ISE Eiffel, used with permission. "
project: "Windows Eiffel Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
cluster: wel
class WEL_FORMAT_RANGE
inherit

WEL_STRUCTURE
end
creation

make,
make_by_pointer
feature -- Access

rect: WEL_RECT
-- Area to render to.
-- Units are in TWIPS.
ensure
result_not_void: Result /= void

rect_page: WEL_RECT
-- Entire area of rendering device.
-- Units are in TWIPS.
ensure
result_not_void: Result /= void

character_range: WEL_CHARACTER_RANGE
-- Range of text to format
ensure
result_not_void: Result /= void
feature -- Element change

set_dc (a_dc: WEL_DC)
-- Set the device to render to.
require
a_dc_not_void: a_dc /= void

set_dc_target (a_dc: WEL_DC)
-- Set the target device to format for.
require
a_dc_not_void: a_dc /= void

set_rect (a_rect: WEL_RECT)
-- Set `rect' with `a_rect'.
-- Units are in TWIPS.
require
a_rect_not_void: a_rect /= void

set_rect_page (a_rect: WEL_RECT)
-- Set `rect_page' with `a_rect'.
-- Units are in TWIPS.
require
a_rect_not_void: a_rect /= void

set_character_range (a_character_range: WEL_CHARACTER_RANGE)
-- Set `character_range' with `a_character_range'.
require
a_character_range_not_void: a_character_range /= void

set_range (min, max: INTEGER)
-- Set the range with `min' and `max'.
require
valid_min_max: max >= min
ensure
set_min: character_range.minimum = min
set_max: character_range.maximum = max
feature -- Measurement

structure_size: INTEGER
-- Size to allocate (in bytes)
end -- class WEL_FORMAT_RANGE

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES