public override void Initialised(Document document)
 {
     if (document != null)
     {
         vstoDocument= ((ApplicationFactory)VstoFactory).GetVstoObject(document);
         vstoDocument.SelectionChange += VstoDocumentOnSelectionChange;
         RibbonVisible = true;
     }
 }
Ejemplo n.º 2
0
 public override void Initialised(Document document)
 {
     if (document != null)
     {
         vstoDocument = ((ApplicationFactory)VstoFactory).GetVstoObject(document);
         vstoDocument.SelectionChange += VstoDocumentOnSelectionChange;
         RibbonVisible = true;
     }
 }
Ejemplo n.º 3
0
        public void Initialised(object context)
        {
            document = context as Document;

            if (document != null)
            {
                vstoDocument = ((ApplicationFactory)VstoFactory).GetVstoObject(document);
                vstoDocument.SelectionChange += VstoDocumentOnSelectionChange;
            }
        }
Ejemplo n.º 4
0
        public void Initialised(object context)
        {
            document = context as Document;

            if (document != null)
            {
                vstoDocument = ((ApplicationFactory)VstoFactory).GetVstoObject(document);
                vstoDocument.SelectionChange += VstoDocumentOnSelectionChange;
            }
        }