Пример #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Check for presence of proper paragraph properties.
        /// </summary>
        /// <param name="vwsel">[out] The selection</param>
        /// <param name="hvoText">[out] The HVO</param>
        /// <param name="tagText">[out] The tag</param>
        /// <param name="vqvps">[out] The paragraph properties</param>
        /// <param name="ihvoAnchor">[out] Start index of selection</param>
        /// <param name="ihvoEnd">[out] End index of selection</param>
        /// <returns>Return <c>false</c> if neither selection nor paragraph property. Otherwise
        /// return <c>true</c>.</returns>
        /// ------------------------------------------------------------------------------------
        public bool IsParagraphProps(out IVwSelection vwsel, out int hvoText,
                                     out int tagText, out IVwPropertyStore[] vqvps, out int ihvoAnchor, out int ihvoEnd)
        {
            CheckDisposed();

            return(EditingHelper.IsParagraphProps(out vwsel, out hvoText, out tagText, out vqvps,
                                                  out ihvoAnchor, out ihvoEnd));
        }