Inheritance diagram for AvailablePropertiesList:
Public Member Functions | |
BOOL | AddFromTemplateHandler (const WizOp &Handler) |
Adds a template handler to the list (which is shown in the dialog as "Available Properties". | |
BOOL | AddStyle (const WizOpStyle &NewStyle) |
Adds a WizOpStyle to this list (which is shown in the dialog as "Available Properties". | |
BOOL | AddTemplateHandlers (const WizOps &Handlers) |
Adds a template handler to the list (which is shown in the dialog as "Available Properties". | |
BOOL | AddStyles (const WizOpStyles &Styles) |
Adds the given WizOpStyles to this list. Hence, we can build our list of "Available Properties" to include the WizOpStyle's in the selected document. | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (AvailablePropertiesList) |
Definition at line 330 of file tmpltdlg.cpp.
|
Adds a template handler to the list (which is shown in the dialog as "Available Properties".
Definition at line 1166 of file tmpltdlg.cpp. 01167 { 01168 BOOL Success = TRUE; 01169 01170 VisibleTemplateHandler* pNewEntry = new VisibleTemplateHandler(Handler); 01171 Success = (pNewEntry != NULL); 01172 01173 if (Success) 01174 { 01175 Success = InsertEntry(*pNewEntry); 01176 } 01177 01178 if (!Success) 01179 { 01180 delete pNewEntry; 01181 pNewEntry = NULL; 01182 } 01183 01184 return Success; 01185 }
|
|
Adds a WizOpStyle to this list (which is shown in the dialog as "Available Properties".
Definition at line 1226 of file tmpltdlg.cpp. 01227 { 01228 BOOL Ok = TRUE; 01229 01230 VisibleWizOpStyle* pNewEntry = new VisibleWizOpStyle(NewStyle); 01231 Ok = (pNewEntry != NULL); 01232 01233 if (Ok) 01234 { 01235 Ok = InsertEntry(*pNewEntry); 01236 } 01237 01238 if (!Ok) 01239 { 01240 delete pNewEntry; 01241 pNewEntry = NULL; 01242 } 01243 01244 return Ok; 01245 }
|
|
Adds the given WizOpStyles to this list. Hence, we can build our list of "Available Properties" to include the WizOpStyle's in the selected document.
Definition at line 1260 of file tmpltdlg.cpp. 01261 { 01262 BOOL Ok = TRUE; 01263 01264 StyleIterator Iterator = Styles.Begin(); 01265 while (Iterator != Styles.End() && Ok) 01266 { 01267 Ok = AddStyle((WizOpStyle&)*Iterator); 01268 01269 ++Iterator; 01270 } 01271 01272 return Ok; 01273 }
|
|
Adds a template handler to the list (which is shown in the dialog as "Available Properties".
Definition at line 1199 of file tmpltdlg.cpp. 01200 { 01201 BOOL Success = TRUE; 01202 01203 WizOp* pHandler = Handlers.GetFirstWizOp(); 01204 while (pHandler != NULL && Success) 01205 { 01206 Success = AddFromTemplateHandler(*pHandler); 01207 01208 pHandler = Handlers.GetNextWizOp(pHandler); 01209 } 01210 01211 return Success; 01212 }
|
|
|