Exemplo n.º 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Gets an array of property stores, one for each paragraph in the given selection.
 /// </summary>
 /// <param name="vwsel">The selection.</param>
 /// <param name="vqvps">The property stores.</param>
 /// ------------------------------------------------------------------------------------
 protected override void GetParaPropStores(IVwSelection vwsel,
                                           out IVwPropertyStore[] vqvps)
 {
     if (m_fOverrideGetParaPropStores)
     {
         vqvps = new IVwPropertyStore[1];
     }
     else
     {
         int cvps;
         SelectionHelper.GetParaProps(vwsel, out vqvps, out cvps);
     }
 }