Lines Matching refs:EnumContext

34 typedef ::std::map<rtl::OUString,EnumContext::Application> ApplicationMap;
39 typedef ::std::map<rtl::OUString,EnumContext::Context> ContextMap;
46 const sal_Int32 EnumContext::NoMatch = 4;
47 const sal_Int32 EnumContext::OptimalMatch = 0; // Neither application nor context name is "any".
50 EnumContext::EnumContext (void) in EnumContext() function in sfx2::sidebar::EnumContext
59 EnumContext::EnumContext ( in EnumContext() function in sfx2::sidebar::EnumContext
70 EnumContext::EnumContext ( in EnumContext() function in sfx2::sidebar::EnumContext
81 sal_Int32 EnumContext::GetCombinedContext (void) const in GetCombinedContext()
89 sal_Int32 EnumContext::GetCombinedContext_DI (void) const in GetCombinedContext_DI()
97 EnumContext::Application EnumContext::GetApplication_DI (void) const in GetApplication_DI()
121 EnumContext::Application EnumContext::GetApplication (void) const in GetApplication()
129 const ::rtl::OUString& EnumContext::GetApplicationName (void) const in GetApplicationName()
131 return EnumContext::GetApplicationName(meApplication); in GetApplicationName()
137 const ::rtl::OUString& EnumContext::GetContextName (void) const in GetContextName()
139 return EnumContext::GetContextName(meContext); in GetContextName()
145 EnumContext::Context EnumContext::GetContext (void) const in GetContext()
153 bool EnumContext::operator== (const EnumContext aOther) in operator ==()
162 bool EnumContext::operator!= (const EnumContext aOther) in operator !=()
171 void EnumContext::AddEntry (const ::rtl::OUString& rsName, const Application eApplication) in AddEntry()
183 void EnumContext::ProvideApplicationContainers (void) in ProvideApplicationContainers()
187 maApplicationVector.resize(static_cast<size_t>(EnumContext::__LastApplicationEnum)+1); in ProvideApplicationContainers()
188 AddEntry(A2S("com.sun.star.text.TextDocument"), EnumContext::Application_Writer); in ProvideApplicationContainers()
189 AddEntry(A2S("com.sun.star.text.GlobalDocument"), EnumContext::Application_WriterGlobal); in ProvideApplicationContainers()
190 AddEntry(A2S("com.sun.star.text.WebDocument"), EnumContext::Application_WriterWeb); in ProvideApplicationContainers()
191 AddEntry(A2S("com.sun.star.xforms.XMLFormDocument"), EnumContext::Application_WriterXML); in ProvideApplicationContainers()
192 AddEntry(A2S("com.sun.star.sdb.FormDesign"), EnumContext::Application_WriterForm); in ProvideApplicationContainers()
193 AddEntry(A2S("com.sun.star.sdb.TextReportDesign"), EnumContext::Application_WriterReport); in ProvideApplicationContainers()
194 AddEntry(A2S("com.sun.star.sheet.SpreadsheetDocument"), EnumContext::Application_Calc); in ProvideApplicationContainers()
195 AddEntry(A2S("com.sun.star.drawing.DrawingDocument"), EnumContext::Application_Draw); in ProvideApplicationContainers()
196 … AddEntry(A2S("com.sun.star.presentation.PresentationDocument"), EnumContext::Application_Impress); in ProvideApplicationContainers()
198 AddEntry(A2S("any"), EnumContext::Application_Any); in ProvideApplicationContainers()
199 AddEntry(A2S("none"), EnumContext::Application_None); in ProvideApplicationContainers()
206 EnumContext::Application EnumContext::GetApplicationEnum (const ::rtl::OUString& rsApplicationName) in GetApplicationEnum()
215 return EnumContext::Application_None; in GetApplicationEnum()
221 const ::rtl::OUString& EnumContext::GetApplicationName (const Application eApplication) in GetApplicationName()
235 void EnumContext::AddEntry (const ::rtl::OUString& rsName, const Context eApplication) in AddEntry()
247 void EnumContext::ProvideContextContainers (void) in ProvideContextContainers()
288 EnumContext::Context EnumContext::GetContextEnum (const ::rtl::OUString& rsContextName) in GetContextEnum()
297 return EnumContext::Context_Unknown; in GetContextEnum()
303 const ::rtl::OUString& EnumContext::GetContextName (const Context eContext) in GetContextName()
317 sal_Int32 EnumContext::EvaluateMatch ( in EvaluateMatch()
318 const EnumContext& rOther) const in EvaluateMatch()
338 sal_Int32 EnumContext::EvaluateMatch (const ::std::vector<EnumContext>& rOthers) const in EvaluateMatch()
342 for (::std::vector<EnumContext>::const_iterator in EvaluateMatch()