1 /************************************************************************/
2 /*									*/
3 /*  Properies of inserted objects.					*/
4 /*  Objects are independent entities that are embedded in the text.	*/
5 /*									*/
6 /************************************************************************/
7 
8 #   ifndef	DOC_OBJECT_PROPERTIES_H
9 #   define	DOC_OBJECT_PROPERTIES_H
10 
11 /************************************************************************/
12 /*									*/
13 /*  Kinds of object.							*/
14 /*									*/
15 /************************************************************************/
16 
17 typedef enum ObjectKind
18     {
19     DOCokUNKNOWN= 0,
20 
21     DOCokPICTWMETAFILE,
22     DOCokPICTPNGBLIP,
23     DOCokPICTJPEGBLIP,
24     DOCokPICTEMFBLIP,
25     DOCokMACPICT,
26     DOCokPMMETAFILE,
27     DOCokDIBITMAP,
28     DOCokWBITMAP,
29     DOCokOLEOBJECT,
30 
31     DOCokDRAWING_SHAPE,
32 
33     DOCokEPS_FILE,
34 	    /************************************************************/
35 	    /*  To include pictures. In Particular EPS pictures. As	*/
36 	    /*  this is different from what 'Word' does when you	*/
37 	    /*  include a picture: they are not	saved in the RTF file.	*/
38 	    /************************************************************/
39     DOCokGIF_FILE,
40 
41     DOCok__COUNT
42     } ObjectKind;
43 
44 typedef enum ResultKind
45     {
46     RESULTkindUNKNOWN= 0,
47 
48     RESULTkindRTF,
49     RESULTkindTXT,
50     RESULTkindPICT,
51     RESULTkindBMP,
52     RESULTkindHTML,
53 
54     RESULTkind_COUNT
55     } ResultKind;
56 
57 typedef enum EmbeddedKind
58     {
59     EMBEDkindOBJEMB= 0,
60     EMBEDkindOBJLINK,
61     EMBEDkindOBJAUTLINK,
62     EMBEDkindOBJSUB,
63     EMBEDkindOBJPUB,
64     EMBEDkindOBJICEMB,
65     EMBEDkindOBJHTML,
66     EMBEDkindOBJOCX,
67 
68     EMBEDkind_COUNT
69     } EmbeddedKind;
70 
71 typedef enum InsertedObjectProperty
72     {
73     IOpropRESULT_KIND,
74     IOpropEMBED_KIND,
75 
76     IOpropOBJTWIPS_WIDE,
77     IOpropOBJTWIPS_HIGH,
78 
79     IOpropOBJSCALE_X,
80     IOpropOBJSCALE_Y,
81 
82     IOpropOBJCROP_TOP,
83     IOpropOBJCROP_BOTTOM,
84     IOpropOBJCROP_LEFT,
85     IOpropOBJCROP_RIGHT,
86 
87     IOprop_UNSUPPORTED,
88 
89     IOprop_COUNT
90     } InsertedObjectProperty;
91 
92 /************************************************************************/
93 /*									*/
94 /*  Routine declarations.						*/
95 /*									*/
96 /************************************************************************/
97 
98 #   endif	/*  DOC_OBJECT_PROPERTIES_H	*/
99