home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / ODFRKREF.INF (.txt) < prev    next >
OS/2 Help File  |  1995-06-15  |  65KB  |  2,576 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Classes(ODFModel ODFFormView* I*Connection) ΓòÉΓòÉΓòÉ
  3.  
  4.  
  5. ΓòÉΓòÉΓòÉ 1.1. Class Hierarchy ΓòÉΓòÉΓòÉ
  6.  
  7. IBase
  8.    IBitFlag
  9.       ODFFormView::Style
  10.    IVBase
  11.       INotifier
  12.          IWindow
  13.             IControl
  14.                ICanvas
  15.                   ODFFormView
  16.       IObserver
  17.          IConnection
  18.             IModelViewSynchConnection
  19. SimplePart
  20.    ODFModel
  21.  
  22.  
  23. ΓòÉΓòÉΓòÉ 1.2. IConnection ΓòÉΓòÉΓòÉ
  24.  
  25. Description 
  26.  
  27. Derivation 
  28.  
  29. Constructors 
  30.  
  31. Public Functions 
  32.  
  33. Protected Functions 
  34.  
  35. Member Data 
  36.  
  37. To close all the panels in a chapter, double click on this panel's system menu. 
  38.  
  39.  
  40. ΓòÉΓòÉΓòÉ <hidden> Derivation - IConnection ΓòÉΓòÉΓòÉ
  41.  
  42. IBase
  43.   Γöé
  44. IVBase
  45.   Γöé
  46. IObserver
  47.   Γöé
  48. IConnection
  49.  
  50. Inherited by: 
  51.  
  52.       IModelViewSynchConnection 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ <hidden> Class Description - IConnection ΓòÉΓòÉΓòÉ
  56.  
  57. Header File: iconnect.hpp 
  58.  
  59. The IConnection class embodies a connection between two INotifier objects. Each 
  60. side of the connection consists of 
  61.  
  62.      an INotifier object 
  63.  
  64.      a notification ID which that object can send to observers 
  65.  
  66.      a member function pointer. 
  67.  
  68.  The INotifier object on each side is observed. When one of the INotifier 
  69.  objects fires the specified notification ID, the specified function is called. 
  70.  This class is also the base class for other more specific types of 
  71.  connections, such as model/view and model/model data synchronization 
  72.  connections. 
  73.  
  74.  An instance of this class can replace one or two IObserver-derived classes. 
  75.  Use of an IConnection object saves you from writing your own derived class as 
  76.  well as being required to put your notification-response logic in the derived 
  77.  class. For those users who prefer deriving and keeping their logic in the 
  78.  derived classes, you still may do so. 
  79.  
  80.  There are connections where the functions are passed in as parms (and can thus 
  81.  be in any class), and connections where the functions are by definition 
  82.  overrides of methods in this class. There are also two-way connections and 
  83.  one-way connections. This yields 4 constructors. The first is two-way with 
  84.  passed in functions, the second is one-way with passed-in functions, the third 
  85.  is two-way with overrides, and the fourth is one-way with overrides (actually, 
  86.  just one override would be used). 
  87.  
  88.  Parameters are: 
  89.  
  90.      firstNotifier - one end of the connection 
  91.  
  92.      firstNotificationId - the ID (fired by "firstNotifier") which this 
  93.       connection will watch for 
  94.  
  95.      firstFunction - the member function (of whatever class you like) to be 
  96.       called when "firstNotifier" fires "firstNotificationId" 
  97.  
  98.      secondNotifier - the other end of the connection 
  99.  
  100.      secondNotificationId - the ID (fired by "secondNotifier") which this 
  101.       connection will watch for 
  102.  
  103.      secondFunction - the member function (of whatever class you like) to be 
  104.       called when "secondNotifier" fires "secondNotificationId" 
  105.  
  106.  NOTE: An alternative design would be to have two separate classes, a one-way 
  107.  and a two-way. Trouble is, many types of connections will derive from 
  108.  IConnection, and most of those could be one- or two-way as well. Hence our 
  109.  choice of design. 
  110.  
  111.  
  112. ΓòÉΓòÉΓòÉ <hidden> Public Functions - IConnection ΓòÉΓòÉΓòÉ
  113.  
  114. Constructors
  115. IConnection
  116. ~IConnection
  117.  
  118. Optional Overrides
  119. dispatchFirstFunction
  120. dispatchSecondFunction
  121.  
  122. Public Accessors
  123. firstId
  124. firstNotifier
  125. isOneWay
  126. secondId
  127. secondNotifier
  128.  
  129. Inherited Members
  130.  
  131. IObserver
  132. handleNotificationsFor
  133. stopHandlingNotificationsFor
  134.  
  135. IVBase
  136. asDebugInfo
  137. asString
  138.  
  139. IBase
  140. asDebugInfo
  141. asString
  142. messageFile
  143. messageText
  144. setMessageFile
  145. version
  146.  
  147. Static members are shown in bold. 
  148.  
  149.  
  150. ΓòÉΓòÉΓòÉ <hidden> IConnection - Constructors ΓòÉΓòÉΓòÉ
  151.  
  152.  
  153. ΓòÉΓòÉΓòÉ <hidden> IConnection - Implementation ΓòÉΓòÉΓòÉ
  154.  
  155.  
  156. ΓòÉΓòÉΓòÉ <hidden> IConnection - Member data ΓòÉΓòÉΓòÉ
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ <hidden> IConnection - Optional Overrides ΓòÉΓòÉΓòÉ
  160.  
  161.  
  162. ΓòÉΓòÉΓòÉ <hidden> IConnection - Public Accessors ΓòÉΓòÉΓòÉ
  163.  
  164.  
  165. ΓòÉΓòÉΓòÉ <hidden> Protected Functions - IConnection ΓòÉΓòÉΓòÉ
  166.  
  167. Implementation
  168. dispatchNotificationEvent
  169.  
  170. Inherited Members
  171.  
  172. IObserver
  173. dispatchNotificationEvent
  174.  
  175.  
  176. ΓòÉΓòÉΓòÉ <hidden> Member Data - IConnection ΓòÉΓòÉΓòÉ
  177.  
  178.  
  179. ΓòÉΓòÉΓòÉ <hidden> Public Data - IConnection ΓòÉΓòÉΓòÉ
  180.  
  181. None. 
  182.  
  183. Inherited Members
  184.  
  185. None.
  186.  
  187.  
  188. ΓòÉΓòÉΓòÉ <hidden> Protected Data - IConnection ΓòÉΓòÉΓòÉ
  189.  
  190. None. 
  191.  
  192. Inherited Members
  193.  
  194. IBase
  195. recoverable
  196. unrecoverable
  197.  
  198. Static members are shown in bold. 
  199.  
  200.  
  201. ΓòÉΓòÉΓòÉ 1.2.1. IConnection::dispatchFirstFunction ΓòÉΓòÉΓòÉ
  202.  
  203. If you did not specify a firstFunction parm on the constructor, you are 
  204. expected to override this method. This method is called when "firstNotifier" 
  205. fires "firstId". 
  206.  
  207. Default implementation (used when you did specify a firstFunction parm on the 
  208. constructor) is to call "firstFunction". 
  209.  
  210. public:
  211. inline virtual IConnection& dispatchFirstFunction();
  212.  
  213. Platform Support 
  214.  
  215. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  216. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  217. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  218. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  219. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  220.  
  221.  
  222. ΓòÉΓòÉΓòÉ 1.2.2. IConnection::dispatchNotificationEvent ΓòÉΓòÉΓòÉ
  223.  
  224. Implementation 
  225.  
  226. protected:
  227. virtual IConnection&
  228.   dispatchNotificationEvent( const INotificationEvent& event);
  229.  
  230. Platform Support 
  231.  
  232. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  233. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  234. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  235. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  236. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  237.  
  238.  
  239. ΓòÉΓòÉΓòÉ 1.2.3. IConnection::dispatchSecondFunction ΓòÉΓòÉΓòÉ
  240.  
  241. If you did not specify a secondFunction parm on the constructor, you are 
  242. expected to override this method. This method is called when "secondNotifier" 
  243. fires "secondId". 
  244.  
  245. Default implementation (used when you did specify a secondFunction parm on the 
  246. constructor) is to call "secondFunction". 
  247.  
  248. public:
  249. inline virtual IConnection& dispatchSecondFunction();
  250.  
  251. Platform Support 
  252.  
  253. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  254. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  255. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  256. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  257. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  258.  
  259.  
  260. ΓòÉΓòÉΓòÉ 1.2.4. IConnection::firstId ΓòÉΓòÉΓòÉ
  261.  
  262. Returns the first notification id. 
  263.  
  264. public:
  265. inline INotificationId firstId();
  266.  
  267. Platform Support 
  268.  
  269. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  270. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  271. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  272. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  273. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  274.  
  275.  
  276. ΓòÉΓòÉΓòÉ 1.2.5. IConnection::firstNotifier ΓòÉΓòÉΓòÉ
  277.  
  278. Returns the INotifier-derived object on the one end of the connection. 
  279.  
  280. public:
  281. inline INotifier& firstNotifier();
  282.  
  283. Platform Support 
  284.  
  285. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  286. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  287. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  288. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  289. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  290.  
  291.  
  292. ΓòÉΓòÉΓòÉ 1.2.6. IConnection::IConnection ΓòÉΓòÉΓòÉ
  293.  
  294. Overload 1 
  295.  
  296. public:
  297. IConnection( INotifier& firstNotifier,
  298.              const INotificationId firstNotificationId,
  299.              const IReference < IThreadFn >& firstFunction);
  300.  
  301. Platform Support 
  302.  
  303. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  304. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  305. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  306. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  307. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  308.  
  309. Overload 2 
  310.  
  311. public:
  312. IConnection( INotifier& firstNotifier,
  313.              const INotificationId firstNotificationId,
  314.              const IReference < IThreadFn >& firstFunction,
  315.              INotifier& secondNotifier,
  316.              const INotificationId secondNotificationId,
  317.              const IReference < IThreadFn >& secondFunction);
  318.  
  319. Platform Support 
  320.  
  321. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  322. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  323. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  324. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  325. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  326.  
  327. Overload 3 
  328.  
  329. public:
  330. IConnection( INotifier& firstNotifier,
  331.              const INotificationId firstNotificationId,
  332.              INotifier& secondNotifier,
  333.              const INotificationId secondNotificationId);
  334.  
  335. Platform Support 
  336.  
  337. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  338. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  339. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  340. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  341. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  342.  
  343. Overload 4 
  344.  
  345. public:
  346. IConnection( INotifier& firstNotifier,
  347.              const INotificationId firstNotificationId);
  348.  
  349. Platform Support 
  350.  
  351. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  352. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  353. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  354. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  355. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  356.  
  357.  
  358. ΓòÉΓòÉΓòÉ 1.2.7. IConnection::isOneWay ΓòÉΓòÉΓòÉ
  359.  
  360. Returns true if this connection is one-way; that is, if only firstNotifier, 
  361. firstNotificationId and firstFunction were specified on the constructor. 
  362.  
  363. public:
  364. inline Boolean isOneWay();
  365.  
  366. Platform Support 
  367.  
  368. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  369. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  370. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  371. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  372. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ 1.2.8. IConnection::secondId ΓòÉΓòÉΓòÉ
  376.  
  377. Returns the second notification id. 
  378.  
  379. public:
  380. inline INotificationId secondId();
  381.  
  382. Platform Support 
  383.  
  384. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  385. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  386. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  387. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  388. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  389.  
  390.  
  391. ΓòÉΓòÉΓòÉ 1.2.9. IConnection::secondNotifier ΓòÉΓòÉΓòÉ
  392.  
  393. Returns the INotifier-derived object on the other end of the connection. 
  394.  
  395. public:
  396. inline INotifier& secondNotifier();
  397.  
  398. Platform Support 
  399.  
  400. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  401. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  402. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  403. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  404. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  405.  
  406.  
  407. ΓòÉΓòÉΓòÉ 1.2.10. IConnection::~IConnection ΓòÉΓòÉΓòÉ
  408.  
  409. public:
  410. virtual ~IConnection();
  411.  
  412. Platform Support 
  413.  
  414. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  415. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  416. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  417. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  418. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  419.  
  420.  
  421. ΓòÉΓòÉΓòÉ 1.3. IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  422.  
  423. Description 
  424.  
  425. Derivation 
  426.  
  427. Constructors 
  428.  
  429. Public Functions 
  430.  
  431. Protected Functions 
  432.  
  433. Member Data 
  434.  
  435. To close all the panels in a chapter, double click on this panel's system menu. 
  436.  
  437.  
  438. ΓòÉΓòÉΓòÉ <hidden> Derivation - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  439.  
  440. IBase
  441.   Γöé
  442. IVBase
  443.   Γöé
  444. IObserver
  445.   Γöé
  446. IConnection
  447.   Γöé
  448. IModelViewSynchConnection
  449.  
  450. Inherited by none. 
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ <hidden> Class Description - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  454.  
  455. Header File: iconnect.hpp 
  456.  
  457. This class embodies a connection between the specified view-side object and the 
  458. specified model-side object. If desired, your entire view object (i.e., your 
  459. ODFFormView) can be the view-side object, since it (ultimately) derives from 
  460. INotifier. The model-side object is typically an attribute of a model content 
  461. object (i.e., derived from IStandardNotifier/IPart), while the view-side object 
  462. is typically a control (e.g., IEntryField). In support of persistance and other 
  463. functions, you must tell us the view (typically, an ODFFormView) which contains 
  464. the view-side object. 
  465.  
  466. The model side of the connection consists of: 
  467.  
  468.      a model content object, typically one of the IStandardNotifier/IPart 
  469.       objects from your ODFModel (in odd cases, some other INotifier object) 
  470.  
  471.      an attribute in that model content object; in this driver, you tell us 
  472.       what attribute by passing the notification ID which the model content 
  473.       object sends to observers when that attribute is changed 
  474.  
  475.      a member function pointer (this can be a member function of any class you 
  476.       like) which you want us to call when the attribute of the model changes 
  477.       value 
  478.  The view side of the connection consists of: 
  479.  
  480.      a view content object, typically one of the controls in your view 
  481.  
  482.      a member function pointer (this can be a member function of any class you 
  483.       like) which you want us to call when the view content object changes 
  484.       value 
  485.  
  486.  An object of this class can replace one or two IObserver-derived classes. Use 
  487.  of such an object saves you from writing your own derived class as well as 
  488.  being required to put your notification-response logic in the derived class. 
  489.  For those users who prefer deriving and keeping their logic in the derived 
  490.  classes, you still may do so. 
  491.  
  492.  There are connections where the functions are passed in as parms (and can thus 
  493.  be in any class), and connections where the functions are by definition 
  494.  overrides of methods in this class. There are also two-way connections and 
  495.  one-way connections (e.g., where the view-side is an IStaticText control and 
  496.  thus never changed). This yields 4 constructors. The first is two-way with 
  497.  passed in functions, the second is one-way with passed-in functions, the third 
  498.  is two-way with overrides, and the fourth is one-way with overrides (actually, 
  499.  probably just one override would be used). 
  500.  
  501.  Parameters are: 
  502.  
  503.      modelObject - the model-side object at one end of the connection 
  504.  
  505.      modelChangedId - the ID (fired by "modelObject") which this connection 
  506.       will watch for (i.e., corresponds to the attribute of modelObject that 
  507.       you wish to connect to) 
  508.  
  509.      modelChangedFunction - the member function (of whatever class you like) 
  510.       to be called when the model attribute changes 
  511.  
  512.      viewObject - the view-side object at the other end of the connection 
  513.  
  514.      view - the view (typically, an ODFFormView) which contains viewObject 
  515.  
  516.      secondFunction - the member function (of whatever class you like) to be 
  517.       called when "viewObject" is changed. 
  518.  
  519.  
  520. ΓòÉΓòÉΓòÉ <hidden> Public Functions - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  521.  
  522. Implementation
  523. isViewObjectOutOfSynch
  524. viewObjectOutOfSynch
  525.  
  526. Optional Overrides
  527. dispatchModelChangedFunction
  528. dispatchViewChangedFunction
  529.  
  530. Public accessors
  531. modelChangedId
  532. modelObject
  533. view
  534. viewObject
  535.  
  536. Public Constructors
  537. IModelViewSynchConnection
  538. ~IModelViewSynchConnection
  539.  
  540. Inherited Members
  541.  
  542. IConnection
  543. dispatchFirstFunction
  544. dispatchSecondFunction
  545. firstId
  546. firstNotifier
  547. isOneWay
  548. secondId
  549. secondNotifier
  550.  
  551. IObserver
  552. handleNotificationsFor
  553. stopHandlingNotificationsFor
  554.  
  555. IVBase
  556. asDebugInfo
  557. asString
  558.  
  559. IBase
  560. asDebugInfo
  561. asString
  562. messageFile
  563. messageText
  564. setMessageFile
  565. version
  566.  
  567. Static members are shown in bold. 
  568.  
  569.  
  570. ΓòÉΓòÉΓòÉ <hidden> IModelViewSynchConnection - Implementation ΓòÉΓòÉΓòÉ
  571.  
  572.  
  573. ΓòÉΓòÉΓòÉ <hidden> IModelViewSynchConnection - Member data ΓòÉΓòÉΓòÉ
  574.  
  575.  
  576. ΓòÉΓòÉΓòÉ <hidden> IModelViewSynchConnection - Optional Overrides ΓòÉΓòÉΓòÉ
  577.  
  578.  
  579. ΓòÉΓòÉΓòÉ <hidden> IModelViewSynchConnection - Public accessors ΓòÉΓòÉΓòÉ
  580.  
  581.  
  582. ΓòÉΓòÉΓòÉ <hidden> IModelViewSynchConnection - Public Constructors ΓòÉΓòÉΓòÉ
  583.  
  584.  
  585. ΓòÉΓòÉΓòÉ <hidden> Protected Functions - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  586.  
  587. Implementation
  588. dispatchNotificationEvent
  589. isValueChangedNotification
  590.  
  591. Inherited Members
  592.  
  593. IConnection
  594. dispatchNotificationEvent
  595.  
  596. IObserver
  597. dispatchNotificationEvent
  598.  
  599.  
  600. ΓòÉΓòÉΓòÉ <hidden> Member Data - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  601.  
  602.  
  603. ΓòÉΓòÉΓòÉ <hidden> Public Data - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  604.  
  605. None. 
  606.  
  607. Inherited Members
  608.  
  609. None.
  610.  
  611.  
  612. ΓòÉΓòÉΓòÉ <hidden> Protected Data - IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  613.  
  614. None. 
  615.  
  616. Inherited Members
  617.  
  618. IBase
  619. recoverable
  620. unrecoverable
  621.  
  622. Static members are shown in bold. 
  623.  
  624.  
  625. ΓòÉΓòÉΓòÉ 1.3.1. IModelViewSynchConnection::dispatchModelChangedFunction ΓòÉΓòÉΓòÉ
  626.  
  627. If you did not specify a modelChangedFunction parm on the constructor, you are 
  628. expected to override this method. This method is called when the model 
  629. attribute changes. 
  630.  
  631. Default implementation (used when you did specify a modelChangedFunction parm 
  632. on the constructor) is to call "modelChangedFunction". 
  633.  
  634. In either your override, or in the body of modelChangedFunction, you typically: 
  635.  
  636.      obtain the changed data from the model object; e.g., 
  637.       "newdata=model()->customer()->name();" 
  638.  
  639.      perform any validation or pre-processing of this data you may wish 
  640.  
  641.      update the view content object (the control) with the changed data; e.g., 
  642.       "myNameEntryField->setText(newdata)". 
  643.  
  644.       Note that, since the view content object is part of the view, it is still 
  645.       the view which ultimately controls how the data is portrayed. 
  646.  
  647.   public:
  648.   IModelViewSynchConnection&
  649.     dispatchModelChangedFunction();
  650.  
  651.  Platform Support 
  652.  
  653.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  654.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  655.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  656.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  657.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  658.  
  659.  
  660. ΓòÉΓòÉΓòÉ 1.3.2. IModelViewSynchConnection::dispatchNotificationEvent ΓòÉΓòÉΓòÉ
  661.  
  662. Implementation. 
  663.  
  664. protected:
  665. virtual IModelViewSynchConnection&
  666.   dispatchNotificationEvent( const INotificationEvent& event);
  667.  
  668. Platform Support 
  669.  
  670. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  671. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  672. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  673. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  674. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  675.  
  676.  
  677. ΓòÉΓòÉΓòÉ 1.3.3. IModelViewSynchConnection::dispatchViewChangedFunction ΓòÉΓòÉΓòÉ
  678.  
  679. If you did not specify a viewChangedFunction parm on the constructor, you are 
  680. expected to override this method. This method is called when the viewObject 
  681. changes. 
  682.  
  683. Default implementation (used when you did specify a viewChangedFunction parm on 
  684. the constructor) is to call "viewChangedFunction". 
  685.  
  686. In either your override, or in the body of viewChangedFunction, you typically: 
  687.  
  688.      obtain the changed data from the view object; e.g., 
  689.       "newdata=myNameEntryField->text();" 
  690.  
  691.      perform any validation or pre-processing of this data you may wish 
  692.  
  693.      update the model content object with the changed data; e.g., 
  694.       "model()->customer()->setName(newdata)". 
  695.  
  696.       Note that, since the model content object is part of the model, it is 
  697.       still the model which ultimately controls how the data is stored. 
  698.  
  699.   public:
  700.   IModelViewSynchConnection&
  701.     dispatchViewChangedFunction();
  702.  
  703.  Platform Support 
  704.  
  705.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  706.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  707.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  708.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  709.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  710.  
  711.  
  712. ΓòÉΓòÉΓòÉ 1.3.4. IModelViewSynchConnection::IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  713.  
  714. Overload 1 
  715.  
  716. public:
  717. IModelViewSynchConnection( INotifier& modelObject,
  718.                            const INotificationId modelChangedId,
  719.                            const IReference < IThreadFn >& modelChangedFunction,
  720.                            ODFFormView& view);
  721.  
  722. Platform Support 
  723.  
  724. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  725. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  726. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  727. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  728. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  729.  
  730. Overload 2 
  731.  
  732. public:
  733. IModelViewSynchConnection( INotifier& modelObject,
  734.                            const INotificationId modelChangedId,
  735.                            const IReference < IThreadFn >& modelChangedFunction,
  736.                            ODFFormView& view,
  737.                            INotifier& viewObject,
  738.                            const IReference < IThreadFn >& viewChangedFunction);
  739.  
  740. Platform Support 
  741.  
  742. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  743. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  744. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  745. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  746. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  747.  
  748. Overload 3 
  749.  
  750. public:
  751. IModelViewSynchConnection( INotifier& modelObject,
  752.                            const INotificationId modelChangedId,
  753.                            ODFFormView& view,
  754.                            INotifier& viewObject);
  755.  
  756. Platform Support 
  757.  
  758. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  759. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  760. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  761. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  762. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  763.  
  764. Overload 4 
  765.  
  766. public:
  767. IModelViewSynchConnection( INotifier& modelObject,
  768.                            const INotificationId modelChangedId,
  769.                            ODFFormView& view);
  770.  
  771. Platform Support 
  772.  
  773. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  774. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  775. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  776. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  777. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ 1.3.5. IModelViewSynchConnection::isValueChangedNotification ΓòÉΓòÉΓòÉ
  781.  
  782. Implementation. Returns whether the specified notification event indicates the 
  783. notifying control experienced a value change (as opposed to some other 
  784. non-value-altering event, e.g., a change in color). 
  785.  
  786. protected:
  787. virtual Boolean
  788.   isValueChangedNotification( const INotificationEvent& event);
  789.  
  790. Platform Support 
  791.  
  792. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  793. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  794. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  795. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  796. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  797.  
  798.  
  799. ΓòÉΓòÉΓòÉ 1.3.6. IModelViewSynchConnection::isViewObjectOutOfSynch ΓòÉΓòÉΓòÉ
  800.  
  801. Implementation. 
  802.  
  803. public:
  804. inline virtual Boolean isViewObjectOutOfSynch();
  805.  
  806. Platform Support 
  807.  
  808. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  809. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  810. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  811. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  812. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 1.3.7. IModelViewSynchConnection::modelChangedId ΓòÉΓòÉΓòÉ
  816.  
  817. Returns the model-side notification we watch for. This corresponds to the model 
  818. attribute we are connected to. 
  819.  
  820. public:
  821. inline INotificationId modelChangedId();
  822.  
  823. Platform Support 
  824.  
  825. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  826. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  827. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  828. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  829. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  830.  
  831.  
  832. ΓòÉΓòÉΓòÉ 1.3.8. IModelViewSynchConnection::modelObject ΓòÉΓòÉΓòÉ
  833.  
  834. Returns the model content object we are connected to. 
  835.  
  836. public:
  837. inline INotifier& modelObject();
  838.  
  839. Platform Support 
  840.  
  841. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  842. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  843. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  844. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  845. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  846.  
  847.  
  848. ΓòÉΓòÉΓòÉ 1.3.9. IModelViewSynchConnection::view ΓòÉΓòÉΓòÉ
  849.  
  850. Returns the view (typically, an ODFFormView-derived class) which viewObject is 
  851. a child of or is contained in. 
  852.  
  853. public:
  854. inline ODFFormView& view();
  855.  
  856. Platform Support 
  857.  
  858. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  859. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  860. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  861. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  862. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  863.  
  864.  
  865. ΓòÉΓòÉΓòÉ 1.3.10. IModelViewSynchConnection::viewObject ΓòÉΓòÉΓòÉ
  866.  
  867. Returns the view-side object we are connected to. 
  868.  
  869. public:
  870. inline INotifier& viewObject();
  871.  
  872. Platform Support 
  873.  
  874. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  875. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  876. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  877. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  878. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  879.  
  880.  
  881. ΓòÉΓòÉΓòÉ 1.3.11. IModelViewSynchConnection::viewObjectOutOfSynch ΓòÉΓòÉΓòÉ
  882.  
  883. Implementation. 
  884.  
  885. public:
  886. virtual IModelViewSynchConnection&
  887.   viewObjectOutOfSynch( Boolean outOfSynch = true);
  888.  
  889. Platform Support 
  890.  
  891. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  892. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  893. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  894. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  895. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  896.  
  897.  
  898. ΓòÉΓòÉΓòÉ 1.3.12. IModelViewSynchConnection::~IModelViewSynchConnection ΓòÉΓòÉΓòÉ
  899.  
  900. public:
  901. ~IModelViewSynchConnection();
  902.  
  903. Platform Support 
  904.  
  905. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  906. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  907. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  908. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  909. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  910.  
  911.  
  912. ΓòÉΓòÉΓòÉ 1.4. ODFFormView ΓòÉΓòÉΓòÉ
  913.  
  914. Description 
  915.  
  916. Derivation 
  917.  
  918. Constructors 
  919.  
  920. Public Functions 
  921.  
  922. Protected Functions 
  923.  
  924. Member Data 
  925.  
  926. Nested Types 
  927.  
  928. To close all the panels in a chapter, double click on this panel's system menu. 
  929.  
  930.  
  931. ΓòÉΓòÉΓòÉ <hidden> Derivation - ODFFormView ΓòÉΓòÉΓòÉ
  932.  
  933. IBase
  934.   Γöé
  935. IVBase
  936.   Γöé
  937. INotifier
  938.   Γöé
  939. IWindow
  940.   Γöé
  941. IControl
  942.   Γöé
  943. ICanvas
  944.   Γöé
  945. ODFFormView
  946.  
  947. Inherited by none. 
  948.  
  949.  
  950. ΓòÉΓòÉΓòÉ <hidden> Class Description - ODFFormView ΓòÉΓòÉΓòÉ
  951.  
  952. Header File: oformv.hpp 
  953.  
  954. Class representing an OpenDoc view (frame + facet) which takes the form of a 
  955. panel or dialog full of controls. This class behaves in most case like the UICL 
  956. ICanvas class. The ODFFormView class is used to create OpenDoc form views. 
  957. Such views are windows within an OD document and can be parent/owner windows of 
  958. User Interface Class Library dialogs and controls. The corresponding part (or 
  959. model) object for a form view would typically be a ODFModel object. 
  960.  
  961. The primary distinction between an ODFFormView and an ICanvas is that, since it 
  962. is part of an OpenDoc document, an ODFFormView must do more than what an 
  963. ICanvas class does. Some of this additional behavior is built into this class. 
  964. Some, such as making connections to your model data, are view-specific and thus 
  965. you must help. (NOTE: insure this remains true as development progresses...) 
  966.  
  967. ODFFormView also supports some functions an ICanvas does not, since it includes 
  968. OpenDoc objects such as ODFrame and ODFacet and surfaces some of their 
  969. function. These functions are available to you, but you need not use them. 
  970. (NOTE: insure this remains true as development progresses....) 
  971.  
  972. The ODFFormView class can be used as if it were a client area object.  A client 
  973. area object is an intermediate window between an IFrameWindow and its controls 
  974. and other child windows.  However, do not attempt to actually set an 
  975. ODFFormView as the actual client area object for any IFrameWindow. An 
  976. ODFFormView is the top-most window created by you; in the same way that an 
  977. IFrameWindow is typically a child of the system-created desktop window, an 
  978. ODFFormView is typically a child of an OpenDoc-system-created window belonging 
  979. to some other OpenDoc part. 
  980.  
  981. Unlike other canvas classes, ODFFormView does not alter the size or position of 
  982. its child windows.  However, its use as the parent window of controls that can 
  983. accept the input focus will provide the following support that would otherwise 
  984. be missing: 
  985.  
  986.      Handling of the tab and cursor movement keys. 
  987.  
  988.      Handling of focus change events. 
  989.  
  990.      Allows the form view object to be the control point to perform command 
  991.       processing (normally not done; command processing should be done by 
  992.       ODFModel). 
  993.  
  994.      Allows the document frame window to change the appearance of the mouse 
  995.       pointer.????? 
  996.  
  997.      Prevents the border of the document frame window from being 
  998.       overwritten.????? 
  999.  If you wish dynamic layout behavior of one kind or another, you can create an 
  1000.  ISetCanvas object (or another canvas type) as the only child of your 
  1001.  ODFFormView, set it as the client of the view, and then create controls as 
  1002.  children of the ISetCanvas. DESIGN NOTE: watch for adverse size/performance 
  1003.  impacts, 
  1004.  
  1005.  ODFFormView, in addition to functioning as a canvas window or client area 
  1006.  object, fulfills the "view" role in a model/view protocol. This means that it 
  1007.  acts as the visible representation of another object (the "model" object) 
  1008.  which itself has no visible portion (i.e., it has data and logic but no 
  1009.  windows, controls or UI code of any kind). Specifically, a view object in the 
  1010.  OD Framework knows what data is available in the model object and what model 
  1011.  methods can be used to access it. It knows its data type (e.g., IString vs. 
  1012.  int). It also can (for efficiency) and typically does know if the value is 
  1013.  limited in some way; e.g., the text must fit a length or a picture string, the 
  1014.  numeric value is within a range, the value is one of a known list). The view 
  1015.  DOES NOT know its actual location; all access is thru model methods. The view 
  1016.  can typically ask the model for the value of the data, or give the model a new 
  1017.  value for it, in a variety of formats. The model (actually, model content 
  1018.  objects within the model) does the necessary data validation and conversion. 
  1019.  The view object, of course, knows its model object. 
  1020.  
  1021.  What the model object knows about the view object is described in detail 
  1022.  elsewhere, see ODFModel. In short, the model knows the (base) class of its 
  1023.  view(s) and has references to them. It knows nothing of how any of its data is 
  1024.  portrayed in the views (e.g., what controls are used, what data format is 
  1025.  chosen). 
  1026.  
  1027.  USAGE 
  1028.  
  1029.  This class is designed to be derived from by developers. To create your own 
  1030.  application-specific view class, you must override or implement the following 
  1031.  functions, implementing behavior as described in the section on that function: 
  1032.  
  1033.      at least one constructor (and the destructor, of course) 
  1034.  
  1035.       the constructor is where you typically: 
  1036.  
  1037.         -  create all your controls (just as for a normal ICanvas or client 
  1038.            area) 
  1039.  
  1040.         -  initialize any controls not associated with model data (ditto) 
  1041.  
  1042.      makeConnections (not an override, just a method we suggest you write) 
  1043.  
  1044.       makeConnections is where you typically create an 
  1045.       IModelViewSynchConnection (or other IConnection) object for each control 
  1046.       which is associated with model data. It does not matter that it is not a 
  1047.       direct child of you (e.g., grandchild, etc. is OK). 
  1048.  
  1049.      various functions to respond to model and view changes. These are the 
  1050.       member functions you pass when you create connection objects. Note that 
  1051.       these don't have to be in your view, it's just a convenient place 
  1052.       typically. 
  1053.  
  1054.  CONSTRUCTOR NOTES 
  1055.  
  1056.  The parameters are: 
  1057.  
  1058.      viewId - a resource ID for this view (just as you would give an 
  1059.       IFrameWindow an ID) 
  1060.  
  1061.      model - the model object associated with this view 
  1062.  
  1063.      initialSize - the size you would like to be initially. Per OpenDoc 
  1064.       protocols, you may not get this size. If it is critical, you should 
  1065.       verify your actual size after construction. 
  1066.  
  1067.      style - the style you wish for this view. See ODFFormView::Style. 
  1068.  
  1069.  
  1070. ΓòÉΓòÉΓòÉ <hidden> Public Functions - ODFFormView ΓòÉΓòÉΓòÉ
  1071.  
  1072. Constructors
  1073. ~ODFFormView
  1074.  
  1075. Drawing-related Overrides
  1076. drawView
  1077.  
  1078. Public Accessors
  1079. facet
  1080. frame
  1081. isViewEnabled
  1082. model
  1083.  
  1084. Style
  1085. defaultStyle
  1086. setDefaultStyle
  1087.  
  1088. View Connection to Model Object
  1089. addConnection
  1090. flushDirtyConnections
  1091. initializeView
  1092. modelUpdateMode
  1093. removeConnection
  1094. setModelUpdateMode
  1095.  
  1096. View-related OpenDoc Functions
  1097. beginRelinquishFocus
  1098.  
  1099. Inherited Members
  1100.  
  1101. ICanvas
  1102. backgroundColor
  1103. color
  1104. convertToGUIStyle
  1105. defaultPushButton
  1106. defaultStyle
  1107. isTabStop
  1108. matchForMnemonic
  1109. origDefaultButtonHandle
  1110. setColor
  1111. setDefaultStyle
  1112. setLayoutDistorted
  1113.  
  1114. IControl
  1115. disableGroup
  1116. disableTabStop
  1117. enableGroup
  1118. enableTabStop
  1119. isGroup
  1120. isTabStop
  1121.  
  1122. IWindow
  1123. activeColor
  1124. applyBidiSettings
  1125. asDebugInfo
  1126. asString
  1127. backgroundColor
  1128. borderColor
  1129. capturePointer
  1130. characterSize
  1131. childAt
  1132. convertToGUIStyle
  1133. defaultOrdering
  1134. defaultPushButton
  1135. desktopWindow
  1136. disable
  1137. disabledBackgroundColor
  1138. disabledForegroundColor
  1139. disableNotification
  1140. disableUpdate
  1141. dispatchRemainingHandlers
  1142. enable
  1143. enableNotification
  1144. enableUpdate
  1145. exceptionFunction
  1146. font
  1147. foregroundColor
  1148. handle
  1149. handleException
  1150. handleWithId
  1151. handleWithParent
  1152. handleWithPointerCaptured
  1153. hasFocus
  1154. hasPointerCaptured
  1155. hide
  1156. hideSourceEmphasis
  1157. hiliteBackgroundColor
  1158. hiliteForegroundColor
  1159. id
  1160. inactiveColor
  1161. isAutoDeleteObject
  1162. isAutoDestroyWindow
  1163. isBidiSupported
  1164. isDisabled
  1165. isEnabled
  1166. isEnabledForNotification
  1167. isFrameWindow
  1168. isGroup
  1169. isLayoutDistorted
  1170. isShowing
  1171. isTabStop
  1172. isValid
  1173. isVisible
  1174. isWindowValid
  1175. itemProvider
  1176. layoutAdjustment
  1177. mapPoint
  1178. matchForMnemonic
  1179. messageQueue
  1180. minimumSize
  1181. movePointerTo
  1182. moveSizeTo
  1183. moveTo
  1184. nativeRect
  1185. notifyObservers
  1186. objectWindow
  1187. owner
  1188. parent
  1189. parentSize
  1190. pointerPosition
  1191. position
  1192. positionBehindSibling
  1193. positionBehindSiblings
  1194. positionOnSiblings
  1195. postEvent
  1196. presSpace
  1197. rect
  1198. refresh
  1199. releasePointer
  1200. releasePresSpace
  1201. resetActiveColor
  1202. resetBackgroundColor
  1203. resetBorderColor
  1204. resetDisabledBackgroundColor
  1205. resetDisabledForegroundColor
  1206. resetFont
  1207. resetForegroundColor
  1208. resetHiliteBackgroundColor
  1209. resetHiliteForegroundColor
  1210. resetInactiveColor
  1211. resetMinimumSize
  1212. resetShadowColor
  1213. sendEvent
  1214. setActiveColor
  1215. setAutoDeleteObject
  1216. setAutoDestroyWindow
  1217. setBackgroundColor
  1218. setBorderColor
  1219. setDefaultOrdering
  1220. setDisabledBackgroundColor
  1221. setDisabledForegroundColor
  1222. setExceptionFunction
  1223. setFocus
  1224. setFont
  1225. setForegroundColor
  1226. setHiliteBackgroundColor
  1227. setHiliteForegroundColor
  1228. setId
  1229. setInactiveColor
  1230. setItemProvider
  1231. setLayoutDistorted
  1232. setMinimumSize
  1233. setOwner
  1234. setParent
  1235. setShadowColor
  1236. shadowColor
  1237. show
  1238. showSourceEmphasis
  1239. size
  1240. sizeTo
  1241. topHandle
  1242. visibleRectangle
  1243. windowWithHandle
  1244. windowWithId
  1245. windowWithOwner
  1246. windowWithParent
  1247.  
  1248. INotifier
  1249. disableNotification
  1250. enableNotification
  1251. isEnabledForNotification
  1252. notifyObservers
  1253.  
  1254. IVBase
  1255. asDebugInfo
  1256. asString
  1257.  
  1258. IBase
  1259. asDebugInfo
  1260. asString
  1261. messageFile
  1262. messageText
  1263. setMessageFile
  1264. version
  1265.  
  1266. Static members are shown in bold. 
  1267.  
  1268.  
  1269. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Constructors ΓòÉΓòÉΓòÉ
  1270.  
  1271.  
  1272. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Drawing-related Overrides ΓòÉΓòÉΓòÉ
  1273.  
  1274.  
  1275. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Layout ΓòÉΓòÉΓòÉ
  1276.  
  1277. DESIGN NOTE: for now, just call Inherited:: for all these. 
  1278.  
  1279.  
  1280. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Member data ΓòÉΓòÉΓòÉ
  1281.  
  1282.  
  1283. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Nested Types ΓòÉΓòÉΓòÉ
  1284.  
  1285.  
  1286. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Private Functions ΓòÉΓòÉΓòÉ
  1287.  
  1288.  
  1289. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Protected Constructors ΓòÉΓòÉΓòÉ
  1290.  
  1291. This constructor is for use only by UICL derived classes which create their own 
  1292. windows and thus cannot use the standard ODFFormView constructor. 
  1293.  
  1294.  
  1295. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Protected Overrides ΓòÉΓòÉΓòÉ
  1296.  
  1297.  
  1298. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Public Accessors ΓòÉΓòÉΓòÉ
  1299.  
  1300.  
  1301. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - Style ΓòÉΓòÉΓòÉ
  1302.  
  1303. The following functions provide a means of getting and setting the default 
  1304. style for new objects of this class: 
  1305.  
  1306.  
  1307. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - View Connection to Model Object ΓòÉΓòÉΓòÉ
  1308.  
  1309. The following functions implement the built-in data synchronization between a 
  1310. view object of this class and it's model object: 
  1311.  
  1312.  
  1313. ΓòÉΓòÉΓòÉ <hidden> ODFFormView - View-related OpenDoc Functions ΓòÉΓòÉΓòÉ
  1314.  
  1315. This class overrides the following inherited protected function: 
  1316.  
  1317.  
  1318. ΓòÉΓòÉΓòÉ <hidden> Protected Functions - ODFFormView ΓòÉΓòÉΓòÉ
  1319.  
  1320. None. 
  1321.  
  1322. Inherited Members
  1323.  
  1324. ICanvas
  1325. areChildrenReversed
  1326. calcMinimumSize
  1327. fixupChildren
  1328. layout
  1329. layoutSize
  1330. passEventToOwner
  1331. registerCallbacks
  1332. setLayoutSize
  1333. unregisterCallbacks
  1334.  
  1335. IWindow
  1336. addHandler
  1337. addObserver
  1338. addRelatedHandleToWindowSet
  1339. addToWindowSet
  1340. calcMinimumSize
  1341. color
  1342. create
  1343. defaultProcedure
  1344. deleteIsInProcess
  1345. dispatch
  1346. extendedStyle
  1347. isPrimaryWindow
  1348. isRelatedHandle
  1349. notificationHandler
  1350. notifyObservers
  1351. observerList
  1352. passEventToOwner
  1353. prepareForUse
  1354. registerCallbacks
  1355. removeAllObservers
  1356. removeFromWindowSet
  1357. removeHandler
  1358. removeObserver
  1359. removeRelatedHandleFromWindowSet
  1360. resetColor
  1361. setColor
  1362. setExtendedStyle
  1363. setNotificationHandler
  1364. setStyle
  1365. setWindowData
  1366. startHandlingEventsFor
  1367. style
  1368. unregisterCallbacks
  1369. windowULong
  1370. windowUShort
  1371.  
  1372. INotifier
  1373. addObserver
  1374. notifyObservers
  1375. observerList
  1376. removeAllObservers
  1377. removeObserver
  1378.  
  1379. Static members are shown in bold. 
  1380.  
  1381.  
  1382. ΓòÉΓòÉΓòÉ <hidden> Member Data - ODFFormView ΓòÉΓòÉΓòÉ
  1383.  
  1384.  
  1385. ΓòÉΓòÉΓòÉ <hidden> Public Data - ODFFormView ΓòÉΓòÉΓòÉ
  1386.  
  1387. Nested Types
  1388. classDefaultStyle
  1389.  
  1390. Inherited Members
  1391.  
  1392. ICanvas
  1393. classDefaultStyle
  1394.  
  1395. IWindow
  1396. activeColorId
  1397. backgroundColorId
  1398. borderColorId
  1399. clipChildren
  1400. clipSiblings
  1401. clipToParent
  1402. commandId
  1403. deleteId
  1404. disabled
  1405. disabledBackgroundColorId
  1406. disabledForegroundColorId
  1407. enableId
  1408. focusId
  1409. fontId
  1410. foregroundColorId
  1411. hiliteBackgroundColorId
  1412. hiliteForegroundColorId
  1413. inactiveColorId
  1414. noStyle
  1415. positionId
  1416. saveBits
  1417. shadowColorId
  1418. sizeId
  1419. synchPaint
  1420. systemCommandId
  1421. visible
  1422. visibleId
  1423.  
  1424. Static members are shown in bold. 
  1425.  
  1426.  
  1427. ΓòÉΓòÉΓòÉ <hidden> Protected Data - ODFFormView ΓòÉΓòÉΓòÉ
  1428.  
  1429. None. 
  1430.  
  1431. Inherited Members
  1432.  
  1433. IBase
  1434. recoverable
  1435. unrecoverable
  1436.  
  1437. Static members are shown in bold. 
  1438.  
  1439.  
  1440. ΓòÉΓòÉΓòÉ 1.4.1. ODFFormView::addConnection ΓòÉΓòÉΓòÉ
  1441.  
  1442. Implementation. You do not need to call this yourself. 
  1443.  
  1444. Adds the specified connection to the set of connections this view has with its 
  1445. model. 
  1446.  
  1447. public:
  1448. ODFFormView&
  1449.   addConnection( IModelViewSynchConnection* connection);
  1450.  
  1451. Platform Support 
  1452.  
  1453. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1454. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1455. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1456. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1457. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1458.  
  1459.  
  1460. ΓòÉΓòÉΓòÉ 1.4.2. ODFFormView::beginRelinquishFocus ΓòÉΓòÉΓòÉ
  1461.  
  1462. Implementation. This function detects when this part is about to give up 
  1463. keyboard focus, and flushes any view data to the model. This flushing is only 
  1464. significant when the view's modelUpdateMode is onFocusChange. 
  1465.  
  1466. public:
  1467. virtual Boolean
  1468.   beginRelinquishFocus( ODTypeToken focus,
  1469.                         ODFFormView* proposedView);
  1470.  
  1471. Platform Support 
  1472.  
  1473. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1474. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1475. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1476. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1477. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1478.  
  1479.  
  1480. ΓòÉΓòÉΓòÉ 1.4.3. ODFFormView::classDefaultStyle ΓòÉΓòÉΓòÉ
  1481.  
  1482. public:
  1483. static const Style classDefaultStyle;
  1484.  
  1485. Platform Support 
  1486.  
  1487. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1488. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1489. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1490. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1491. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1492.  
  1493.  
  1494. ΓòÉΓòÉΓòÉ 1.4.4. ODFFormView::defaultStyle ΓòÉΓòÉΓòÉ
  1495.  
  1496. Returns the default style. The default style is classDefaultStyle unless you 
  1497. have changed the style using setDefaultStyle. 
  1498.  
  1499. public:
  1500. static Style defaultStyle();
  1501.  
  1502. Platform Support 
  1503.  
  1504. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1505. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1506. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1507. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1508. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1509.  
  1510.  
  1511. ΓòÉΓòÉΓòÉ 1.4.5. ODFFormView::drawView ΓòÉΓòÉΓòÉ
  1512.  
  1513. Optionally overridden by derived classes. Gives derived classes an opportunity 
  1514. to draw (GPI type stuff) in the view. At this time, the view is already 
  1515. populated with controls. Default behavior is nothing. 
  1516.  
  1517. public:
  1518. virtual ODFFormView& drawView();
  1519.  
  1520. Platform Support 
  1521.  
  1522. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1523. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1524. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1525. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1526. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1527.  
  1528.  
  1529. ΓòÉΓòÉΓòÉ 1.4.6. ODFFormView::facet ΓòÉΓòÉΓòÉ
  1530.  
  1531. Returns the facet (for now, only one) used by this view. 
  1532.  
  1533. public:
  1534. ODFacet* facet() const;
  1535.  
  1536. Platform Support 
  1537.  
  1538. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1539. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1540. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1541. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1542. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1543.  
  1544.  
  1545. ΓòÉΓòÉΓòÉ 1.4.7. ODFFormView::flushDirtyConnections ΓòÉΓòÉΓòÉ
  1546.  
  1547. This function causes any changes to the view which have not yet been reflected 
  1548. in the model to do so. This function is called as appropriate by the framework, 
  1549. so typically you do not have to call it. It does no harm to call it when there 
  1550. are no changes to be flushed. 
  1551.  
  1552. public:
  1553. ODFFormView& flushDirtyConnections();
  1554.  
  1555. Platform Support 
  1556.  
  1557. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1558. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1559. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1560. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1561. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1562.  
  1563.  
  1564. ΓòÉΓòÉΓòÉ 1.4.8. ODFFormView::frame ΓòÉΓòÉΓòÉ
  1565.  
  1566. Returns the frame used by this view. 
  1567.  
  1568. public:
  1569. ODFrame* frame() const;
  1570.  
  1571. Platform Support 
  1572.  
  1573. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1574. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1575. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1576. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1577. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1578.  
  1579.  
  1580. ΓòÉΓòÉΓòÉ 1.4.9. ODFFormView::initializeView ΓòÉΓòÉΓòÉ
  1581.  
  1582. This function causes this view to be initialized with model data via its 
  1583. current set of connections. That is, each connection has it's model-changed 
  1584. function called. This is not typically overridden, as the framework and the 
  1585. connections can handle this automatically. You may override this function to do 
  1586. other view initialization processing you desire. If you override, you must call 
  1587. Inherited::initializeView() in your override. 
  1588.  
  1589. public:
  1590. virtual ODFFormView& initializeView();
  1591.  
  1592. Platform Support 
  1593.  
  1594. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1595. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1596. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1597. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1598. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1599.  
  1600.  
  1601. ΓòÉΓòÉΓòÉ 1.4.10. ODFFormView::isViewEnabled ΓòÉΓòÉΓòÉ
  1602.  
  1603. Returns whether we are currently enabled for model/view interactions; that is, 
  1604. startBeingViewFor was called and stopBeingViewFor has not yet been called. You 
  1605. may choose to ignore modelChanged and viewChanged calls if your view is not yet 
  1606. enabled, since at this time you may not yet have a valid model associated with 
  1607. this view. 
  1608.  
  1609. public:
  1610. IBase::Boolean isViewEnabled() const;
  1611.  
  1612. Platform Support 
  1613.  
  1614. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1615. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1616. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1617. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1618. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1619.  
  1620.  
  1621. ΓòÉΓòÉΓòÉ 1.4.11. ODFFormView::model ΓòÉΓòÉΓòÉ
  1622.  
  1623. Returns the current model object for this view (the part whose data this view 
  1624. is portraying on the screen). 
  1625.  
  1626. public:
  1627. virtual ODFModel* model() const;
  1628.  
  1629. Platform Support 
  1630.  
  1631. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1632. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1633. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1634. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1635. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1636.  
  1637.  
  1638. ΓòÉΓòÉΓòÉ 1.4.12. ODFFormView::modelUpdateMode ΓòÉΓòÉΓòÉ
  1639.  
  1640. Returns the model update mode. The model update mode defines how often this 
  1641. view synchronizes its data with it's model's data (via it's connections). The 
  1642. possible update modes are: 
  1643.  
  1644.      immediate - every keystroke causes the connection's viewChangedFunction 
  1645.       to be called 
  1646.  
  1647.      onFocusChange - only loss of keyboard focus (to another control in your 
  1648.       view, to another view, or to another OpenDoc part) causes the 
  1649.       connection's viewChangedFunction to be called 
  1650.  
  1651.      noAutoUpdate - the framework never automatically calls the connection's 
  1652.       viewChangedFunction, other code you write must call it as appropriate. 
  1653.  The mode applies to this view only. There is no corresponding mode for a 
  1654.  model, since models always update all views every time the model data changes. 
  1655.  
  1656.   public:
  1657.   virtual UpdateMode modelUpdateMode() const;
  1658.  
  1659.  Platform Support 
  1660.  
  1661.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1662.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1663.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1664.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1665.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1666.  
  1667.  
  1668. ΓòÉΓòÉΓòÉ 1.4.13. ODFFormView::ODFFormView ΓòÉΓòÉΓòÉ
  1669.  
  1670. public:
  1671. ODFFormView( IResourceId viewId,
  1672.              ODFModel* part,
  1673.              const ISize& initialSize = ISize ( ),
  1674.              const Style& style = defaultStyle ( ));
  1675.  
  1676. Platform Support 
  1677.  
  1678. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1679. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1680. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1681. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1682. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1683.  
  1684.  
  1685. ΓòÉΓòÉΓòÉ 1.4.14. ODFFormView::removeConnection ΓòÉΓòÉΓòÉ
  1686.  
  1687. Implementation. You do not need to call this yourself. 
  1688.  
  1689. Remove the specified connection to the set of connections this view has with 
  1690. its model. 
  1691.  
  1692. public:
  1693. ODFFormView&
  1694.   removeConnection( IModelViewSynchConnection* connection);
  1695.  
  1696. Platform Support 
  1697.  
  1698. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1699. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1700. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1701. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1702. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1703.  
  1704.  
  1705. ΓòÉΓòÉΓòÉ 1.4.15. ODFFormView::setDefaultStyle ΓòÉΓòÉΓòÉ
  1706.  
  1707. Sets the default style for all subsequent views. 
  1708.  
  1709.  style     Use the styles provided by ODFFormView::Styles, ICanvas::Styles, 
  1710.            IControl::Styles or IWindow::Styles to specify the default style. 
  1711.  
  1712.   public:
  1713.   static void setDefaultStyle(const Style& style);
  1714.  
  1715.  Platform Support 
  1716.  
  1717.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1718.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1719.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1720.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1721.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1722.  
  1723.  
  1724. ΓòÉΓòÉΓòÉ 1.4.16. ODFFormView::setModelUpdateMode ΓòÉΓòÉΓòÉ
  1725.  
  1726. Sets the model update mode to the specified mode. The model update mode 
  1727. determines how often this view synchronizes its data with it's model's data 
  1728. (via it's connections). The possible update modes are: 
  1729.  
  1730.      immediate - every keystroke causes the connection's viewChangedFunction 
  1731.       to be called 
  1732.  
  1733.      onFocusChange - only loss of keyboard focus (to another control in your 
  1734.       view, to another view, or to another OpenDoc part) causes the 
  1735.       connection's viewChangedFunction to be called 
  1736.  
  1737.      noAutoUpdate - the framework never automatically calls the connection's 
  1738.       viewChangedFunction, other code you write must call it as appropriate. 
  1739.  The mode applies to this view only. There is no corresponding mode for a 
  1740.  model, since models always update all views every time the model data changes. 
  1741.  
  1742.   public:
  1743.   virtual ODFFormView&
  1744.     setModelUpdateMode( UpdateMode updateMode = onFocusChg);
  1745.  
  1746.  Platform Support 
  1747.  
  1748.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1749.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1750.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1751.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1752.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1753.  
  1754.  
  1755. ΓòÉΓòÉΓòÉ 1.4.17. ODFFormView::setViewClient ΓòÉΓòÉΓòÉ
  1756.  
  1757. Set the control that is to be automatically kept the same size as the view. 
  1758. This is similar to what a PM frame window does for its client. 
  1759.  
  1760. public:
  1761. virtual ODFFormView& setViewClient(IControl* clientControl);
  1762.  
  1763. Platform Support 
  1764.  
  1765. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1766. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1767. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1768. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1769. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1770.  
  1771.  
  1772. ΓòÉΓòÉΓòÉ 1.4.18. ODFFormView::sizeTo ΓòÉΓòÉΓòÉ
  1773.  
  1774. Attempts to resize this view. Since OpenDoc requires that a part and it's 
  1775. containing part negotiate for a part's size and shape, it is possible (unlike 
  1776. in other window systems) that the request will be denied. If you require a 
  1777. specific size, you should query your size after this call to see if you 
  1778. actually got the size you asked for. 
  1779.  
  1780. public:
  1781. virtual ODFFormView& sizeTo(const ISize& newSize);
  1782.  
  1783. Platform Support 
  1784.  
  1785. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1786. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1787. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1788. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1789. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1790.  
  1791.  
  1792. ΓòÉΓòÉΓòÉ 1.4.19. ODFFormView::startBeingViewFor ΓòÉΓòÉΓòÉ
  1793.  
  1794. Set which model part we are the view for, and begin the interaction between the 
  1795. model and this view. This is the way a view is associated with a model. 
  1796.  
  1797. public:
  1798. virtual ODFFormView& startBeingViewFor(ODFModel* model);
  1799.  
  1800. Platform Support 
  1801.  
  1802. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1803. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1804. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1805. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1806. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1807.  
  1808.  
  1809. ΓòÉΓòÉΓòÉ 1.4.20. ODFFormView::stopBeingViewFor ΓòÉΓòÉΓòÉ
  1810.  
  1811. End the interaction between the model and this view. This is the way a view is 
  1812. disassociated from a model. 
  1813.  
  1814. public:
  1815. virtual ODFFormView& stopBeingViewFor(ODFModel* model);
  1816.  
  1817. Platform Support 
  1818.  
  1819. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1820. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1821. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1822. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1823. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1824.  
  1825.  
  1826. ΓòÉΓòÉΓòÉ 1.4.21. ODFFormView::viewClient ΓòÉΓòÉΓòÉ
  1827.  
  1828. Returns the client of this view, previously set by calling setClient(...). 
  1829.  
  1830. public:
  1831. virtual IControl* viewClient();
  1832.  
  1833. Platform Support 
  1834.  
  1835. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1836. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1837. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1838. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1839. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1840.  
  1841.  
  1842. ΓòÉΓòÉΓòÉ 1.4.22. ODFFormView::~ODFFormView ΓòÉΓòÉΓòÉ
  1843.  
  1844. public:
  1845. virtual ~ODFFormView();
  1846.  
  1847. Platform Support 
  1848.  
  1849. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1850. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  1851. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1852. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  1853. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1854.  
  1855.  
  1856. ΓòÉΓòÉΓòÉ <hidden> Nested Types - ODFFormView ΓòÉΓòÉΓòÉ
  1857.  
  1858. Classes 
  1859.  
  1860.        ODFFormView::Style 
  1861.  
  1862.  Enumerations 
  1863.  
  1864.        UpdateMode 
  1865.  
  1866.  
  1867. ΓòÉΓòÉΓòÉ <hidden> Enums - UpdateMode ΓòÉΓòÉΓòÉ
  1868.  
  1869. enum UpdateMode { immediate, onFocusChg, noAutoUpdate };
  1870.  
  1871. The model update mode defines how often this view synchronizes its data with 
  1872. it's model's data (via it's connections). The possible update modes are: 
  1873.  
  1874.      immediate - every keystroke causes the connection's viewChangedFunction 
  1875.       to be called 
  1876.  
  1877.      onFocusChange - only loss of keyboard focus (to another control in your 
  1878.       view, to another view, or to another OpenDoc part) causes the 
  1879.       connection's viewChangedFunction to be called 
  1880.  
  1881.      noAutoUpdate - the framework never automatically calls the connection's 
  1882.       viewChangedFunction, other code you write must call it as appropriate. 
  1883.  The mode applies to this view only. There is no corresponding mode for a 
  1884.  model, since models always update all views every time the model data changes. 
  1885.  
  1886.  
  1887. ΓòÉΓòÉΓòÉ 1.5. ODFFormView::Style ΓòÉΓòÉΓòÉ
  1888.  
  1889. Description 
  1890.  
  1891. Derivation 
  1892.  
  1893. Public Functions 
  1894.  
  1895. Protected Functions 
  1896.  
  1897. Member Data 
  1898.  
  1899. To close all the panels in a chapter, double click on this panel's system menu. 
  1900.  
  1901.  
  1902. ΓòÉΓòÉΓòÉ <hidden> Derivation - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1903.  
  1904. IBase
  1905.   Γöé
  1906. IBitFlag
  1907.   Γöé
  1908. ODFFormView::Style
  1909.  
  1910. Inherited by none. 
  1911.  
  1912.  
  1913. ΓòÉΓòÉΓòÉ <hidden> Class Description - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1914.  
  1915. Header File: oformv.hpp 
  1916.  
  1917. Nested class that provides static members that define the set of valid view 
  1918. styles.  These styles can be used in conjunction with the styles defined by the 
  1919. IWindow::Style nested class. For example, you could define an instance of the 
  1920. ODFFormView::Style class and initialize it like: 
  1921.  
  1922.    ODFFormView::Style
  1923.       style = ODFFormView::classDefaultStyle |
  1924.                  IWindow::saveBits;
  1925.  
  1926. An object of this type is provided when the view is created.  A customizable 
  1927. default is used if no styles are specified.  Once  the object is constructed, 
  1928. ODFFormView and IWindow member functions can be used to set or query the 
  1929. object's style. 
  1930.  
  1931.  The declaration of the ODFFormView::Style nested class is generated by the 
  1932. INESTEDBITFLAGCLASSDEF2 macro. 
  1933.  
  1934. The valid view style is classDefaultStyle; this is the original default view 
  1935. style, which is IWindow::visible. 
  1936.  
  1937.  
  1938. ΓòÉΓòÉΓòÉ <hidden> Public Functions - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1939.  
  1940. None. 
  1941.  
  1942. Inherited Members
  1943.  
  1944. IBitFlag
  1945. asExtendedUnsignedLong
  1946. asUnsignedLong
  1947. operator !=
  1948. operator ==
  1949.  
  1950. IBase
  1951. asDebugInfo
  1952. asString
  1953. messageFile
  1954. messageText
  1955. setMessageFile
  1956. version
  1957.  
  1958. Static members are shown in bold. 
  1959.  
  1960.  
  1961. ΓòÉΓòÉΓòÉ <hidden> Protected Functions - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1962.  
  1963. None. 
  1964.  
  1965. Inherited Members
  1966.  
  1967. IBitFlag
  1968. setValue
  1969.  
  1970.  
  1971. ΓòÉΓòÉΓòÉ <hidden> Member Data - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1972.  
  1973.  
  1974. ΓòÉΓòÉΓòÉ <hidden> Public Data - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1975.  
  1976. None. 
  1977.  
  1978. Inherited Members
  1979.  
  1980. None.
  1981.  
  1982.  
  1983. ΓòÉΓòÉΓòÉ <hidden> Protected Data - ODFFormView::Style ΓòÉΓòÉΓòÉ
  1984.  
  1985. None. 
  1986.  
  1987. Inherited Members
  1988.  
  1989. IBase
  1990. recoverable
  1991. unrecoverable
  1992.  
  1993. Static members are shown in bold. 
  1994.  
  1995.  
  1996. ΓòÉΓòÉΓòÉ 1.6. ODFModel ΓòÉΓòÉΓòÉ
  1997.  
  1998. Description 
  1999.  
  2000. Derivation 
  2001.  
  2002. Public Functions 
  2003.  
  2004. Protected Functions 
  2005.  
  2006. To close all the panels in a chapter, double click on this panel's system menu. 
  2007.  
  2008.  
  2009. ΓòÉΓòÉΓòÉ <hidden> Derivation - ODFModel ΓòÉΓòÉΓòÉ
  2010.  
  2011. SimplePart
  2012.   Γöé
  2013. ODFModel
  2014.  
  2015. Inherited by none. 
  2016.  
  2017.  
  2018. ΓòÉΓòÉΓòÉ <hidden> Class Description - ODFModel ΓòÉΓòÉΓòÉ
  2019.  
  2020. Header File: oformp.hpp 
  2021.  
  2022. This class is an abstract base class for the model portion of an OpenDoc part. 
  2023. This class is derived from by part developers to create a particular part 
  2024. handler, such as a bank account. This class can act as the model object for 
  2025. various view objects, including ODFFormView, in the classic model/view 
  2026. paradigm. An object of this class typically keeps its data in separate objects 
  2027. called model content objects; these are classes you write or reuse, which are 
  2028. derived from IStandardNotifier (called IPart in VA C++ BETA2). This class 
  2029. should have accessors which return pointers or references to its model content 
  2030. objects; it is the central access point for its model content objects. This 
  2031. class also takes care of interfacing with OpenDoc on behalf of itself and any 
  2032. views on this model. 
  2033.  
  2034. It is usually good design, but is not required, that the model content objects 
  2035. are allocated within the scope of this model object. This can be done by 
  2036. declaring the model content objects as data members in the model class you 
  2037. derived from ODFModel. Another way is to declare pointers to your model content 
  2038. objects in your derived class, new-ing the objects in your constructor and 
  2039. deleting them in your destructor. Not all content in a model need to be 
  2040. portrayed in a view, and different views may portray different model content, 
  2041. or the same content in different ways. 
  2042.  
  2043. USAGE 
  2044.  
  2045. This class is designed to be derived from by developers. To create your own 
  2046. application-specific model class, you must override the following functions, 
  2047. implementing behavior as described in the section on that function: 
  2048.  
  2049.      at least one constructor (and the destructor, of course) 
  2050.  
  2051.       the constructor is where you typically: 
  2052.  
  2053.         -  obtain or create all your model content objects. In the destructor, 
  2054.            delete any new'd model content objects. 
  2055.  
  2056.         -  call addContent for each model content object you created. ::eul. 
  2057.  
  2058.         -  openViews() and openView(id), to create your first or default view 
  2059.            (if you have one) 
  2060.  
  2061.         -  InitPart(), InitPartFromStorage(), and Externalize(), if you wish to 
  2062.            make any part data persistant. See these individual methods for more 
  2063.            details. In a later driver, we will enhance and simplify this task. 
  2064.  
  2065.       CONSTRUCTOR NOTES 
  2066.  
  2067.       Instances of this class cannot be constructed. You must derive your own 
  2068.       class from this one. Also, you cannot construct instances of your derived 
  2069.       class either. OpenDoc (actually, the document in which you reside) acts 
  2070.       as a "factory" and calls your constructor as appropriate. 
  2071.  
  2072.  
  2073. ΓòÉΓòÉΓòÉ <hidden> Public Functions - ODFModel ΓòÉΓòÉΓòÉ
  2074.  
  2075. Constructors
  2076. ~ODFModel
  2077.  
  2078. Implementation
  2079. BeginRelinquishFocus
  2080. CloseDisplayFrame
  2081. GeometryChanged
  2082. ReadPartInfo
  2083. Release
  2084. RemoveDisplayFrame
  2085. WritePartInfo
  2086.  
  2087. OpenDoc Functions Delegated to View
  2088. AddDisplayFrame
  2089. Draw
  2090. FacetAdded
  2091. FrameShapeChanged
  2092.  
  2093. Persistance Functions
  2094. Externalize
  2095. InitPart
  2096. InitPartFromStorage
  2097.  
  2098. Inherited Members
  2099.  
  2100. None.
  2101.  
  2102.  
  2103. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Constructors ΓòÉΓòÉΓòÉ
  2104.  
  2105. Only the destructor is public. You must derive from this class, and write your 
  2106. own constructor. OpenDoc will call your constructor when someone wants an 
  2107. instance of your part. 
  2108.  
  2109.  
  2110. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Implementation ΓòÉΓòÉΓòÉ
  2111.  
  2112.  
  2113. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Member data ΓòÉΓòÉΓòÉ
  2114.  
  2115.  
  2116. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Model Connection to View Object ΓòÉΓòÉΓòÉ
  2117.  
  2118. The following functions implement the built-in data synchronization between a 
  2119. model object of this class and it's view object(s): 
  2120.  
  2121.  
  2122. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Model content ΓòÉΓòÉΓòÉ
  2123.  
  2124.  
  2125. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Nested Types ΓòÉΓòÉΓòÉ
  2126.  
  2127.  
  2128. ΓòÉΓòÉΓòÉ <hidden> ODFModel - OpenDoc Functions Delegated to View ΓòÉΓòÉΓòÉ
  2129.  
  2130.  
  2131. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Persistance Functions ΓòÉΓòÉΓòÉ
  2132.  
  2133.  
  2134. ΓòÉΓòÉΓòÉ <hidden> ODFModel - Protected Constructors ΓòÉΓòÉΓòÉ
  2135.  
  2136. The only protected constructor is the default one. 
  2137.  
  2138.  
  2139. ΓòÉΓòÉΓòÉ <hidden> Protected Functions - ODFModel ΓòÉΓòÉΓòÉ
  2140.  
  2141. Model Connection to View Object
  2142. addView
  2143. openView
  2144. openViews
  2145. removeView
  2146.  
  2147. Protected Constructors
  2148. ODFModel
  2149.  
  2150. Inherited Members
  2151.  
  2152. None.
  2153.  
  2154.  
  2155. ΓòÉΓòÉΓòÉ <hidden> Public Data - ODFModel ΓòÉΓòÉΓòÉ
  2156.  
  2157. None. 
  2158.  
  2159. Inherited Members
  2160.  
  2161. None.
  2162.  
  2163.  
  2164. ΓòÉΓòÉΓòÉ <hidden> Protected Data - ODFModel ΓòÉΓòÉΓòÉ
  2165.  
  2166. None. 
  2167.  
  2168. Inherited Members
  2169.  
  2170. None.
  2171.  
  2172.  
  2173. ΓòÉΓòÉΓòÉ 1.6.1. ODFModel::AddDisplayFrame ΓòÉΓòÉΓòÉ
  2174.  
  2175. Override of ODPart method. Mainly for our implementation, but you may override 
  2176. if you need to (call Inherited:: at the beginning of your override). 
  2177.  
  2178. public:
  2179. virtual void AddDisplayFrame(ODFrame* frame);
  2180.  
  2181. Platform Support 
  2182.  
  2183. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2184. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2185. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2186. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2187. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2188.  
  2189.  
  2190. ΓòÉΓòÉΓòÉ 1.6.2. ODFModel::addView ΓòÉΓòÉΓòÉ
  2191.  
  2192. Add the specified view to our collection of views. 
  2193.  
  2194. Design note: requires us to do runtime type checking (until RTTS) View 
  2195. registration redesign will affect this. 
  2196.  
  2197. protected:
  2198. ODFModel& addView(ODFFormView* view);
  2199.  
  2200. Platform Support 
  2201.  
  2202. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2203. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2204. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2205. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2206. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2207.  
  2208.  
  2209. ΓòÉΓòÉΓòÉ 1.6.3. ODFModel::BeginRelinquishFocus ΓòÉΓòÉΓòÉ
  2210.  
  2211. Implementation. See ODFFormView functions if you wish to override when a focus 
  2212. changes. ??????may change when part delegation design revisited???? 
  2213.  
  2214. public:
  2215. virtual ODBoolean
  2216.   BeginRelinquishFocus( ODTypeToken focus,
  2217.                         ODFrame* ownerFrame,
  2218.                         ODFrame* proposedFrame);
  2219.  
  2220. Platform Support 
  2221.  
  2222. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2223. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2224. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2225. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2226. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2227.  
  2228.  
  2229. ΓòÉΓòÉΓòÉ 1.6.4. ODFModel::CloseDisplayFrame ΓòÉΓòÉΓòÉ
  2230.  
  2231. Implementation. 
  2232.  
  2233. Override of ODPart method. Mainly for our implementation, but you may override 
  2234. if you need to (call Inherited:: at the beginning of your override). 
  2235.  
  2236. public:
  2237. virtual void CloseDisplayFrame(ODFrame* frame);
  2238.  
  2239. Platform Support 
  2240.  
  2241. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2242. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2243. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2244. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2245. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2246.  
  2247.  
  2248. ΓòÉΓòÉΓòÉ 1.6.5. ODFModel::Draw ΓòÉΓòÉΓòÉ
  2249.  
  2250. Implementation. 
  2251.  
  2252. Override of ODPart method. Mainly for our implementation, but you may override 
  2253. if you need to (call Inherited:: at the beginning of your override). 
  2254.  
  2255. public:
  2256. virtual void Draw(ODFacet* facet, ODShape* invalidShape);
  2257.  
  2258. Platform Support 
  2259.  
  2260. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2261. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2262. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2263. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2264. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2265.  
  2266.  
  2267. ΓòÉΓòÉΓòÉ 1.6.6. ODFModel::Externalize ΓòÉΓòÉΓòÉ
  2268.  
  2269. Override of an OpenDoc function. See OpenDoc documentation for details. See 
  2270. sample framework part code for an example of what you should do in your 
  2271. override of this function. For this driver, you can follow that example; be 
  2272. sure to call Inherited::.... as the example does. 
  2273.  
  2274. public:
  2275. virtual void Externalize();
  2276.  
  2277. Platform Support 
  2278.  
  2279. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2280. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2281. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2282. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2283. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2284.  
  2285.  
  2286. ΓòÉΓòÉΓòÉ 1.6.7. ODFModel::FacetAdded ΓòÉΓòÉΓòÉ
  2287.  
  2288. Implementation. 
  2289.  
  2290. Override of ODPart method. Mainly for our implementation, but you may override 
  2291. if you need to (call Inherited:: at the beginning of your override). 
  2292.  
  2293. public:
  2294. virtual void FacetAdded(ODFacet* facet);
  2295.  
  2296. Platform Support 
  2297.  
  2298. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2299. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2300. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2301. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2302. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2303.  
  2304.  
  2305. ΓòÉΓòÉΓòÉ 1.6.8. ODFModel::FrameShapeChanged ΓòÉΓòÉΓòÉ
  2306.  
  2307. Implementation. 
  2308.  
  2309. Override of ODPart method. Mainly for our implementation, but you may override 
  2310. if you need to (call Inherited:: at the beginning of your override). 
  2311.  
  2312. public:
  2313. virtual void FrameShapeChanged(ODFrame* frame);
  2314.  
  2315. Platform Support 
  2316.  
  2317. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2318. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2319. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2320. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2321. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2322.  
  2323.  
  2324. ΓòÉΓòÉΓòÉ 1.6.9. ODFModel::GeometryChanged ΓòÉΓòÉΓòÉ
  2325.  
  2326. Implemenation. 
  2327.  
  2328. Override of an OpenDoc function. See OpenDoc documentation for details. Be sure 
  2329. to call Inherited::.... if you choose to override this function. 
  2330.  
  2331. public:
  2332. virtual void GeometryChanged(ODFacet* facet);
  2333.  
  2334. Platform Support 
  2335.  
  2336. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2337. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2338. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2339. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2340. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2341.  
  2342.  
  2343. ΓòÉΓòÉΓòÉ 1.6.10. ODFModel::InitPart ΓòÉΓòÉΓòÉ
  2344.  
  2345. Override of an OpenDoc function. See OpenDoc documentation for details. See 
  2346. sample framework part code for an example of what you should do in your 
  2347. override of this function. For this driver, you can follow that example; be 
  2348. sure to call Inherited::.... as the example does. 
  2349.  
  2350. public:
  2351. virtual void InitPart(ODStorageUnit* su);
  2352.  
  2353. Platform Support 
  2354.  
  2355. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2356. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2357. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2358. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2359. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2360.  
  2361.  
  2362. ΓòÉΓòÉΓòÉ 1.6.11. ODFModel::InitPartFromStorage ΓòÉΓòÉΓòÉ
  2363.  
  2364. Override of an OpenDoc function. See OpenDoc documentation for details. See 
  2365. sample framework part code for an example of what you should do in your 
  2366. override of this function. For this driver, you can follow that example; be 
  2367. sure to call Inherited::.... as the example does. 
  2368.  
  2369. public:
  2370. virtual void InitPartFromStorage(ODStorageUnit* su);
  2371.  
  2372. Platform Support 
  2373.  
  2374. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2375. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2376. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2377. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2378. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2379.  
  2380.  
  2381. ΓòÉΓòÉΓòÉ 1.6.12. ODFModel::ODFModel ΓòÉΓòÉΓòÉ
  2382.  
  2383. Only the destructor is public. You must derive from this class, and write your 
  2384. own constructor. OpenDoc will call your constructor when someone wants an 
  2385. instance of your part. 
  2386.  
  2387. protected:
  2388. ODFModel();
  2389.  
  2390. Platform Support 
  2391.  
  2392. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2393. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2394. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2395. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2396. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2397.  
  2398.  
  2399. ΓòÉΓòÉΓòÉ 1.6.13. ODFModel::openView ΓòÉΓòÉΓòÉ
  2400.  
  2401. Always overridden by derived classes which have views, this function should: 
  2402.  
  2403.      create the class of view indicated by viewId. This should be one of the 
  2404.       ID values you defined for the valid views for this class of part. NOTE: 
  2405.       later, we intend to have a view-registration scheme whereby a model does 
  2406.       not have to recognize an ID value in order to create the proper class of 
  2407.       view. 
  2408.  
  2409.      add the view to this model's list of views, by calling addView 
  2410.  
  2411.       making this a separate function from the view constructor allows you to 
  2412.       add the view at some later time after construction if this better suits 
  2413.       your design. It also allows you to dynamically remove and add views to a 
  2414.       part without deleting them in the process. 
  2415.  
  2416.      do any other preparatory or cleanup necessary to the first two tasks 
  2417.  Keep in mind that any work which is related to the view (i.e., UI-related 
  2418.  work, user-interaction details, etc.) should be done in the view class if at 
  2419.  all possible, and not in this method. This method is naturally kind of a grey 
  2420.  area anyhow (the juncture between model and views), but the goals of 
  2421.  model/view separation should be considered as you implement this method. 
  2422.  
  2423.   protected:
  2424.   virtual ODFModel& openView(IResourceId viewId);
  2425.  
  2426.  Platform Support 
  2427.  
  2428.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2429.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2430.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2431.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2432.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2433.  
  2434.  
  2435. ΓòÉΓòÉΓòÉ 1.6.14. ODFModel::openViews ΓòÉΓòÉΓòÉ
  2436.  
  2437. Overriding this method allows your part an opportunity to create any default 
  2438. views, that is, views which should be automatically opened when an object of 
  2439. this part class is constructed. You do not have to call this method, the 
  2440. framework calls it at the appropriate time. 
  2441.  
  2442. In your override of this method, you should: 
  2443.  
  2444.      call openView(...) for each default view. Of course, you could instead 
  2445.       duplicate the code which must be in openView(...), but there is typically 
  2446.       no advantage to doing this. 
  2447.  
  2448.      do any other preparatory or cleanup necessary to the first task 
  2449.  Keep in mind that any work which is related to the view (i.e., UI-related 
  2450.  work, user-interaction details, etc.) should be done in the view class if at 
  2451.  all possible, and not in this method. This method is naturally kind of a grey 
  2452.  area anyhow (the juncture between model and views), but the goals of 
  2453.  model/view separation should be considered as you implement this method. 
  2454.  
  2455.   protected:
  2456.   virtual ODFModel& openViews();
  2457.  
  2458.  Platform Support 
  2459.  
  2460.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2461.   ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2462.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2463.   ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2464.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2465.  
  2466.  
  2467. ΓòÉΓòÉΓòÉ 1.6.15. ODFModel::ReadPartInfo ΓòÉΓòÉΓòÉ
  2468.  
  2469. Implemenation. 
  2470.  
  2471. Override of an OpenDoc function. See OpenDoc documentation for details. Be sure 
  2472. to call Inherited::.... if you choose to override this function. 
  2473.  
  2474. public:
  2475. virtual ODPtr
  2476.   ReadPartInfo( ODFrame* frame,
  2477.                 ODStorageUnitView* storageUnitView);
  2478.  
  2479. Platform Support 
  2480.  
  2481. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2482. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2483. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2484. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2485. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2486.  
  2487.  
  2488. ΓòÉΓòÉΓòÉ 1.6.16. ODFModel::Release ΓòÉΓòÉΓòÉ
  2489.  
  2490. Implemenation. 
  2491.  
  2492. Override of an OpenDoc function. See OpenDoc documentation for details. Be sure 
  2493. to call Inherited::.... if you choose to override this function. 
  2494.  
  2495. public:
  2496. virtual void Release();
  2497.  
  2498. Platform Support 
  2499.  
  2500. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2501. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2502. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2503. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2504. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2505.  
  2506.  
  2507. ΓòÉΓòÉΓòÉ 1.6.17. ODFModel::RemoveDisplayFrame ΓòÉΓòÉΓòÉ
  2508.  
  2509. Implementation. 
  2510.  
  2511. Override of ODPart method. Mainly for our implementation, but you may override 
  2512. if you need to (call Inherited:: at the beginning of your override). 
  2513.  
  2514. public:
  2515. virtual void RemoveDisplayFrame(ODFrame* frame);
  2516.  
  2517. Platform Support 
  2518.  
  2519. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2520. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2521. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2522. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2523. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2524.  
  2525.  
  2526. ΓòÉΓòÉΓòÉ 1.6.18. ODFModel::removeView ΓòÉΓòÉΓòÉ
  2527.  
  2528. Remove the specified view from our collection of views. 
  2529.  
  2530. protected:
  2531. ODFModel& removeView(ODFFormView* view);
  2532.  
  2533. Platform Support 
  2534.  
  2535. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2536. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2537. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2538. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2539. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2540.  
  2541.  
  2542. ΓòÉΓòÉΓòÉ 1.6.19. ODFModel::WritePartInfo ΓòÉΓòÉΓòÉ
  2543.  
  2544. Implemenation. 
  2545.  
  2546. Override of an OpenDoc function. See OpenDoc documentation for details. Be sure 
  2547. to call Inherited::.... if you choose to override this function. 
  2548.  
  2549. public:
  2550. virtual void
  2551.   WritePartInfo( ODPtr partInfo,
  2552.                  ODStorageUnitView* storageUnitView);
  2553.  
  2554. Platform Support 
  2555.  
  2556. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2557. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2558. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2559. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2560. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2561.  
  2562.  
  2563. ΓòÉΓòÉΓòÉ 1.6.20. ODFModel::~ODFModel ΓòÉΓòÉΓòÉ
  2564.  
  2565. public:
  2566. virtual ~ODFModel();
  2567.  
  2568. Platform Support 
  2569.  
  2570. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2571. ΓöéPM          ΓöéWINDOWS     ΓöéMOTIF       Γöé
  2572. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2573. ΓöéYes         ΓöéYes         ΓöéYes         Γöé
  2574. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2575. (IHandler-derived classes can be thought of as "controllers" if you prefer the 
  2576. full model/view/controller version of this paradigm.)