indexing
description: "Contains information about paragraph formating attributes in a rich edit control."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_PARAGRAPH_FORMAT
create
make
make_by_pointer (a_pointer: POINTER)
itema_pointer
item
a_pointer
WEL_ANY
ensure WEL_ANY
item_set: item = a_pointer
shared: shared
feature
alignment: INTEGER
WEL_PFA_CONSTANTS
item: POINTER
WEL_ANY
mask: INTEGER
WEL_PFM_CONSTANTS
numbering: INTEGER
offset: INTEGER
right_indent: INTEGER
start_indent: INTEGER
tabulations: ARRAY [INTEGER]
ensure
result_not_void: Result /= void
feature
max_tab_stops: INTEGER
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
has_mask (a_mask: INTEGER): BOOLEAN
a_maskmask
WEL_PFM_CONSTANTSa_mask
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
add_mask (a_mask: INTEGER)
a_maskmask
WEL_PFM_CONSTANTSa_mask
ensure
has_mask: has_mask (a_mask)
bullet_numbering
ensure
bullet_numbering: numbering = pfn_bullet
no_numbering
ensure
no_numbering: numbering = 0
remove_mask (a_mask: INTEGER)
a_maskmask
WEL_PFM_CONSTANTSa_mask
ensure
has_not_mask: not has_mask (a_mask)
set_alignment (an_alignment: INTEGER)
alignmentan_alignment
WEL_PFA_CONSTANTS
ensure
alignment_set: alignment = an_alignment
set_center_alignment
ensure
alignment_set: alignment = pfa_center
set_default_tabulation
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_left_alignment
ensure
alignment_set: alignment = pfa_left
set_mask (a_mask: INTEGER)
maska_mask
WEL_PFM_CONSTANTSa_mask
ensure
mask_set: mask = a_mask
set_offset (an_offset: INTEGER)
offsetan_offset
ensure
offset_set: offset = an_offset
set_right_alignment
ensure
alignment_set: alignment = pfa_right
set_right_indent (a_right_indent: INTEGER)
right_indenta_right_indent
ensure
right_indent_set: right_indent = a_right_indent
set_start_indent (a_start_indent: INTEGER)
start_indenta_start_indent
ensure
start_indent_set: start_indent = a_start_indent
set_tabulation (tab: INTEGER)
tab
set_tabulations (tabs: ARRAY [INTEGER])
tabs
require
tabs_not_void: tabs /= void
tabs_count: tabs.count <= max_tab_stops
ensure
tabulations_set: tabulations.is_equal (tabs)
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_PARAGRAPH_FORMAT