3 * $XConsortium: attch_ed.h /main/3 1995/11/06 17:19:33 rswiston $
5 * @(#)attch_ed.h 1.4 08 Oct 1994
7 * RESTRICTED CONFIDENTIAL INFORMATION:
9 * The information in this document is subject to special
10 * restrictions in a confidential disclosure agreement between
11 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
12 * document outside HP, IBM, Sun, USL, SCO, or Univel without
13 * Sun's specific written approval. This document and all copies
14 * and derivative works thereof must be returned or destroyed at
17 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
24 * Functions for manipulating the Attachments Editor
33 ATTCH_ED_OPPOSITE_PARENT,
35 ATTCH_ED_OPPOSITE_SIBLING,
37 ATTCH_ED_CENTER_GRIDLINE,
39 } ATTCH_ED_ATTACH_TYPE;
43 ATTCH_ED_WRN_LOAD = 0,
44 ATTCH_ED_WRN_CHANGE_OBJTYPE,
48 #define attch_ed_need_obj_menu(attach_type) \
49 ((attach_type == ATTCH_ED_SIBLING) || (attach_type == ATTCH_ED_OPPOSITE_SIBLING))
52 * Attachment Editor Settings
54 typedef struct ATTACHMENT_EDITOR_SETTINGS
57 PropOptionsSettingRec top_attach_type;
58 PropFieldSettingRec top_attach_offset;
59 PropFieldSettingRec top_attach_position;
60 PropOptionsSettingRec top_attach_obj;
61 PropOptionsSettingRec bottom_attach_type;
62 PropFieldSettingRec bottom_attach_offset;
63 PropFieldSettingRec bottom_attach_position;
64 PropOptionsSettingRec bottom_attach_obj;
65 PropOptionsSettingRec left_attach_type;
66 PropFieldSettingRec left_attach_offset;
67 PropFieldSettingRec left_attach_position;
68 PropOptionsSettingRec left_attach_obj;
69 PropOptionsSettingRec right_attach_type;
70 PropFieldSettingRec right_attach_offset;
71 PropFieldSettingRec right_attach_position;
72 PropOptionsSettingRec right_attach_obj;
74 } AttchEditorSettingsRec, *AttchEditorSettings;
79 void attch_ed_show_dialog(
83 BOOL attch_ed_can_edit_attachments(
87 #endif /* _attch_ed_h */