@@ -150,29 +150,10 @@ internal set
150150 }
151151 }
152152
153- // /// ------------------------------------------------------------------------------------
154- // /// <summary>
155- // /// Given a spec that might be some sort of element, or might be something wrapping a flow object
156- // /// around that element, return the element. Or, it might be a "frag" element wrapping all of that.
157- // /// </summary>
158- // /// <param name="viewSpec">The view spec.</param>
159- // /// <returns></returns>
160- // /// ------------------------------------------------------------------------------------
161- // XmlNode ExtractFromFlow(XmlNode viewSpec)
162- // {
163- // if (viewSpec == null)
164- // return null;
165- // if (viewSpec.Name == "frag")
166- // viewSpec = viewSpec.FirstChild;
167- // if (viewSpec.Name == "para" || viewSpec.Name == "div")
168- // {
169- // if (viewSpec.ChildNodes.Count == 2 && viewSpec.FirstChild.Name == "properties")
170- // return viewSpec.ChildNodes[1];
171- // else if (viewSpec.ChildNodes.Count == 1)
172- // return viewSpec.FirstChild;
173- // }
174- // return viewSpec; // None of the special flow object cases, use the node itself.
175- // }
153+ /// <summary>
154+ /// Stores the reversal ws that should be used for filtering.
155+ /// </summary>
156+ public int ReversalWs { set ; get ; }
176157
177158 #region StringFinder Members
178159
@@ -278,6 +259,7 @@ public ITsString Key(IManyOnePathSortItem item, bool fForSorting)
278259 m_vc = new XmlBrowseViewBaseVc ( m_cache ) ;
279260 m_vc . SuppressPictures = true ; // we won't dispose of it, so it mustn't make pictures (which we don't need)
280261 m_vc . DataAccess = m_sda ;
262+ m_vc . ReversalWs = ReversalWs ;
281263 }
282264 else
283265 {
0 commit comments