indexing
description: "EiffelVision print dialog, mswindows implementation."
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $"
revision: "$Revision: 57641 $"
class interface
EV_PRINT_DIALOG_IMP
create
make (an_interface: like interface)
`Current'`an_interface'
require EV_ANY_I
an_interface_not_void: an_interface /= Void
ensure EV_ANY_I
interface_assigned: interface = an_interface
base_make_called: base_make_called
feature
blocking_window: EV_WINDOW
EV_STANDARD_DIALOG_IMP
copies: INTEGER_32
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
positive_result: Result >= 0
dc: WEL_PRINTER_DC
WEL_PRINT_DIALOG
require WEL_PRINT_DIALOG
selected: selected
ensure WEL_PRINT_DIALOG
result_not_void: Result /= Void
flags: INTEGER_32
WEL_PRINT_DIALOG
from_page: INTEGER_32
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
positive_result: Result >= 0
ensure WEL_PRINT_DIALOG
positive_result: Result >= 0
generating_type: STRING_8
ANY
generator: STRING_8
ANY
item: POINTER
WEL_ANY
maximum_range: INTEGER_32
WEL_PRINT_DIALOG
maximum_to_page: INTEGER_32
to_page
EV_PRINT_DIALOG_I
minimum_from_page: INTEGER_32
from_page
EV_PRINT_DIALOG_I
minimum_page: INTEGER_32
WEL_PRINT_DIALOG
output_file_name: STRING_32
ensure EV_PRINT_DIALOG_I
result_not_void: Result /= Void
print_context: EV_PRINT_CONTEXT
printer_name: STRING_32
ensure EV_PRINT_DIALOG_I
result_not_void: Result /= Void
title: STRING_32
`Current'
to_page: INTEGER_32
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
positive_result: Result >= 0
ensure WEL_PRINT_DIALOG
positive_result: Result >= 0
feature
structure_size: INTEGER_32
WEL_PRINT_DIALOG
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies some.same_type (other)
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
all_pages_selected: BOOLEAN
WEL_PRINT_DIALOG
collate_checked: BOOLEAN
WEL_PRINT_DIALOG
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
has_flag (a_flags: INTEGER_32): BOOLEAN
`a_flags'flags
`a_flags'
WEL_PRINT_DIALOG
page_numbers_enabled: BOOLEAN
WEL_PRINT_DIALOG
page_numbers_selected: BOOLEAN
WEL_PRINT_DIALOG
print_setup_enabled: BOOLEAN
WEL_PRINT_DIALOG
print_to_file_checked: BOOLEAN
WEL_PRINT_DIALOG
print_to_file_enabled: BOOLEAN
WEL_PRINT_DIALOG
print_to_file_shown: BOOLEAN
WEL_PRINT_DIALOG
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
selected: BOOLEAN
WEL_STANDARD_DIALOG
selected_button: STRING_32
EV_STANDARD_DIALOG_IMP
selection_enabled: BOOLEAN
WEL_PRINT_DIALOG
selection_selected: BOOLEAN
WEL_PRINT_DIALOG
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
warning_enabled: BOOLEAN
WEL_PRINT_DIALOG
feature
check_collate
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
collate_checked: collate_checked
ensure WEL_PRINT_DIALOG
collate_checked: collate_checked
check_print_to_file
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
print_to_file_checked: print_to_file_checked
ensure WEL_PRINT_DIALOG
print_to_file_checked: print_to_file_checked
disable_page_numbers
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
page_numbers_disabled: not page_numbers_enabled
disable_print_setup
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_setup_disabled: not print_setup_enabled
disable_print_to_file
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_to_file_disabled: not print_to_file_enabled
disable_selection
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
selection_disabled: not selection_enabled
disable_warning
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
warning_disabled: not warning_enabled
enable_page_numbers
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
page_numbers_enabled: page_numbers_enabled
enable_print_setup
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_setup_enabled: print_setup_enabled
enable_print_to_file
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_to_file_enabled: print_to_file_enabled
enable_selection
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
selection_enabled: selection_enabled
enable_warning
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
warning_enabled: warning_enabled
hide_print_to_file
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_to_file_hidden: not print_to_file_shown
select_all_pages
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
all_pages_selected: all_pages_selected
select_page_numbers
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
page_numbers_selected: page_numbers_selected
select_selection
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
selection_selected: selection_selected
set_blocking_window (a_window: EV_WINDOW)
`a_window'
EV_STANDARD_DIALOG_IMP
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
show_modal_to_window (a_window: EV_WINDOW)
EV_STANDARD_DIALOG_IMP
require EV_STANDARD_DIALOG_I
True
show_print_to_file
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
print_to_file_shown: print_to_file_shown
uncheck_collate
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
colate_not_checked: not collate_checked
ensure WEL_PRINT_DIALOG
collate_unchecked: not collate_checked
uncheck_print_to_file
WEL_PRINT_DIALOG
ensure EV_PRINT_DIALOG_I
print_to_file_not_checked: not print_to_file_checked
ensure WEL_PRINT_DIALOG
print_to_file_unchecked: not print_to_file_checked
feature
add_flag (a_flags: INTEGER_32)
`a_flags'flags
`a_flags'
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
has_flag: has_flag (a_flags)
destroy
`Current'
ensure EV_ANY_I
is_in_destroy_set: is_in_destroy
is_destroyed_set: is_destroyed
remove_flag (a_flags: INTEGER_32)
`a_flags'flags
`a_flags'
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
has_not_flag: not has_flag (a_flags)
set_copies (number: INTEGER_32)
copies`number'
WEL_PRINT_DIALOG
require EV_PRINT_DIALOG_I
positive_value: number >= 0
ensure EV_PRINT_DIALOG_I
copies_set: copies = number
ensure WEL_PRINT_DIALOG
copies_set: copies = number
set_flags (a_flags: INTEGER_32)
flags`a_flags'
`a_flags'
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
flags_set: flags = a_flags
set_from_page (page: INTEGER_32)
from_page`page'
WEL_PRINT_DIALOG
require EV_PRINT_DIALOG_I
positive_value: page >= 0
ensure EV_PRINT_DIALOG_I
from_page_set: from_page = page
ensure WEL_PRINT_DIALOG
from_page_set: from_page = page
set_item (an_item: POINTER)
item`an_item'
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_maximum_range (page: INTEGER_32)
`maximum_page'`page'
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
maximum_page_set: maximum_range = page
set_maximum_to_page (value: INTEGER_32)
require EV_PRINT_DIALOG_I
positive_value: value > 0
not_less_than_minimum: value >= minimum_from_page
ensure EV_PRINT_DIALOG_I
maximum_to_page_set: maximum_to_page = value
set_minimum_from_page (value: INTEGER_32)
require EV_PRINT_DIALOG_I
positive_value: value > 0
not_greater_than_maximum_value: value <= maximum_to_page
ensure EV_PRINT_DIALOG_I
minimum_from_page_set: minimum_from_page = value
set_minimum_page (page: INTEGER_32)
minimum_page`page'
WEL_PRINT_DIALOG
ensure WEL_PRINT_DIALOG
minimum_page_set: minimum_page = page
set_title (new_title: STRING_GENERAL)
`new_title'title
set_to_page (page: INTEGER_32)
to_page`page'
WEL_PRINT_DIALOG
require EV_PRINT_DIALOG_I
positive_value: page >= 0
ensure EV_PRINT_DIALOG_I
to_page_set: to_page = page
ensure WEL_PRINT_DIALOG
to_page_set: to_page = page
feature
dispose
`Current'
`Current'
WEL_ANY
feature
frozen deep_copy (other: like Current)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ANY
ensure ANY
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
activate (a_parent: WEL_COMPOSITE_WINDOW)
`a_parent'
WEL_PRINT_DIALOG
require WEL_STANDARD_DIALOG
a_parent_not_void: a_parent /= Void
a_parent_exists: a_parent.exists
require EV_STANDARD_DIALOG_IMP
True
copy (other: like Current)
`other'
WEL_STRUCTURE
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
structure_initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER_8)
`a_character'
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
is_equal (other: like Current): BOOLEAN
`other'
WEL_STRUCTURE
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
memory_copy (source_pointer: POINTER; length: INTEGER_32)
`length'`source_pointer'item
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
feature
cancel_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
ensure EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
not_void: Result /= Void
create_cancel_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_STANDARD_DIALOG_ACTION_SEQUENCES_IMP
require EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
True
create_ok_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_STANDARD_DIALOG_ACTION_SEQUENCES_IMP
require EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
True
ok_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
ensure EV_STANDARD_DIALOG_ACTION_SEQUENCES_I
not_void: Result /= Void
feature
io: STD_FILES
ANY
out: STRING_8
ANYtagged_out
ANY
print (some: ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANYout
ANY
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
feature
landscape_checked: BOOLEAN
invariant
EV_ANY_I
interface_coupled: is_usable implies interface /= Void and then interface.implementation = Current
base_make_called: base_make_called
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
EV_POSITIONED_I
minimum_width_positive_or_zero: is_usable implies minimum_width >= 0
minimum_height_positive_or_zero: is_usable implies minimum_height >= 0
indexing
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 EV_PRINT_DIALOG_IMP