Function

TTemplate.GetTemplateType

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Protected

Owner

TTemplate

Declaration

function GetTemplateType: TTemplateType;

Called-By Hierarchy


                                TTemplate.GetTemplateType
                                     TdmodShared.ImgIdx┤ 
                 TfrmDrawers.tvTemplatesGetImageIndex┤ │ 
              TfrmDrawers.tvTemplatesGetSelectedIndex┤ │ 
               TfrmTemplateEditor.tvTreeGetImageIndex┤ │ 
            TfrmTemplateEditor.tvTreeGetSelectedIndex┤ │ 
                    TfrmTemplateEditor.cbExcludeClick┤ │ 
                     TfrmTemplateEditor.cbxTypeChange┘ │ 
                              TTemplate.SetTemplateType┤ 
                              TTemplate.ItemBoilerplate┘ 
                            TTemplate.FullBoilerplate┘   
                                  TTemplate.GetText┤     
                     ExecuteTemplateOrBoilerPlate┤ │     
                           TfrmDrawers.InsertText┤ │     
                TfrmDrawers.tvTemplatesDblClick┤ │ │     
                 TfrmDrawers.tvTemplatesKeyDown┤ │ │     
                     TfrmDrawers.NewRECDragDrop┤ │ │     
               TfrmDrawers.SetRichEditControl┘ │ │ │     
                      TfrmDCSumm.FormCreate┤   │ │ │     
                    TfrmConsults.FormCreate┤   │ │ │     
                     TfrmSurgery.FormCreate┤   │ │ │     
                       TfrmNotes.FormCreate┘   │ │ │     
             TfrmDrawers.mnuInsertTemplateClick┘ │ │     
       TfrmDCSumm.popSummMemoInsTemplateClick┤   │ │     
     TfrmConsults.popNoteMemoInsTemplateClick┤   │ │     
      TfrmSurgery.popNoteMemoInsTemplateClick┤   │ │     
        TfrmNotes.popNoteMemoInsTemplateClick┘   │ │     
              TfrmDrawers.mnuPreviewTemplateClick┤ │     
             TfrmDCSumm.popSummMemoPreviewClick┤ │ │     
           TfrmConsults.popNoteMemoPreviewClick┤ │ │     
            TfrmSurgery.popNoteMemoPreviewClick┤ │ │     
              TfrmNotes.popNoteMemoPreviewClick┘ │ │     
                 TfrmDrawers.mnuCopyTemplateClick┤ │     
                 TfrmTemplateEditor.mnuBPTryClick┘ │     
               TfrmTemplateEditor.tvTreeKeyDown┘   │     
              TfrmTemplateEditor.DisplayBoilerplate┤     
                      TfrmTemplateEditor.ShowInfo┤ │     
                                  EditTemplates┤ │ │     
          TfrmDCSumm.popSummMemoTemplateClick┤ │ │ │     
               TfrmDCSumm.mnuNewTemplateClick┤ │ │ │     
             TfrmDCSumm.mnuEditTemplatesClick┤ │ │ │     
       TfrmDCSumm.mnuEditSharedTemplatesClick┤ │ │ │     
         TfrmDCSumm.mnuNewSharedTemplateClick┤ │ │ │     
        TfrmConsults.popNoteMemoTemplateClick┤ │ │ │     
           TfrmConsults.mnuEditTemplatesClick┤ │ │ │     
             TfrmConsults.mnuNewTemplateClick┤ │ │ │     
     TfrmConsults.mnuEditSharedTemplatesClick┤ │ │ │     
       TfrmConsults.mnuNewSharedTemplateClick┤ │ │ │     
            TfrmDrawers.mnuEditTemplatesClick┤ │ │ │     
              TfrmDrawers.mnuNewTemplateClick┤ │ │ │     
         TfrmSurgery.popNoteMemoTemplateClick┤ │ │ │     
            TfrmSurgery.mnuEditTemplatesClick┤ │ │ │     
              TfrmSurgery.mnuNewTemplateClick┤ │ │ │     
      TfrmSurgery.mnuEditSharedTemplatesClick┤ │ │ │     
        TfrmSurgery.mnuNewSharedTemplateClick┤ │ │ │     
           TfrmNotes.popNoteMemoTemplateClick┤ │ │ │     
              TfrmNotes.mnuEditTemplatesClick┤ │ │ │     
                TfrmNotes.mnuNewTemplateClick┤ │ │ │     
        TfrmNotes.mnuEditSharedTemplatesClick┤ │ │ │     
          TfrmNotes.mnuNewSharedTemplateClick┘ │ │ │     
                TfrmTemplateEditor.tvTreeChange┤ │ │     
             TfrmTemplateEditor.cbActiveClick┤ │ │ │     
               TfrmTemplateEditor.tvTreeEnter┤ │ │ │     
             TfrmTemplateEditor.cbShHideClick┤ │ │ │     
           TfrmTemplateEditor.cbActiveClick┘ │ │ │ │     
            TfrmTemplateEditor.cbPerHideClick┤ │ │ │     
           TfrmTemplateEditor.cbActiveClick┘ │ │ │ │     
             TfrmTemplateEditor.sbDeleteClick┤ │ │ │     
      TfrmTemplateEditor.mnuNodeDeleteClick┤ │ │ │ │     
           TfrmTemplateEditor.tvTreeKeyDown┘ │ │ │ │     
                    TfrmTemplateEditor.Resync┤ │ │ │     
             TfrmTemplateEditor.btnNewClick┤ │ │ │ │     
                         EditTemplates...┤ │ │ │ │ │     
       TfrmTemplateEditor.mnuAutoGenClick┤ │ │ │ │ │     
TfrmTemplateEditor.mnuImportTemplateClick┘ │ │ │ │ │     
           TfrmTemplateEditor.sbMoveUpClick┤ │ │ │ │     
         TfrmTemplateEditor.sbMoveDownClick┤ │ │ │ │     
        TfrmTemplateEditor.sbDeleteClick...┤ │ │ │ │     
          TfrmTemplateEditor.tvTreeDragDrop┤ │ │ │ │     
       TfrmTemplateEditor.sbCopyLeftClick┤ │ │ │ │ │     
      TfrmTemplateEditor.sbCopyRightClick┤ │ │ │ │ │     
     TfrmTemplateEditor.mnuNodePasteClick┘ │ │ │ │ │     
            TfrmTemplateEditor.mnuSortClick┤ │ │ │ │     
          TfrmTemplateEditor.TemplateLocked┘ │ │ │ │     
            TfrmTemplateEditor.FormCreate┘   │ │ │ │     
             TfrmTemplateEditor.SharedEditing┤ │ │ │     
              TfrmTemplateEditor.FormCreate┤ │ │ │ │     
       TfrmTemplateEditor.cbEditSharedClick┘ │ │ │ │     
             TfrmTemplateEditor.cbxTypeChange┘ │ │ │     
                TfrmTemplateEditor.reBoilChange┤ │ │     
             TfrmTemplateEditor.mnuAutoGenClick┤ │ │     
      TfrmTemplateEditor.mnuImportTemplateClick┘ │ │     
                  TfrmTemplateEditor.edtGapChange┘ │     
                    TfrmTemplateEditor.reBoilChange┘     

Called-By

Name Declaration Comments
TdmodShared.ImgIdx function ImgIdx(Node: TTreeNode): integer; -
TTemplate.ItemBoilerplate function ItemBoilerplate: string; -
TTemplate.SetTemplateType procedure SetTemplateType(const Value: TTemplateType); -


Source

1741  function TTemplate.GetTemplateType: TTemplateType;
1742  begin
1743    Result := FRealType;
1744    if(Result in [ttDoc, ttGroup]) and (FExclude) then
1745    begin
1746      case (Result) of
1747        ttDoc:   Result := ttDocEx;
1748        ttGroup: Result := ttGroupEx;
1749      end;
1750    end;
1751  end;