Lines Matching refs:OUString
44 #define CFG_FILENAME OUString( RTL_CONSTASCII_USTRINGPARAM( "Office.OptionsDialog" ) )
45 #define ROOT_NODE OUString( RTL_CONSTASCII_USTRINGPARAM( "OptionsDialogGroups" ) )
46 #define PAGES_NODE OUString( RTL_CONSTASCII_USTRINGPARAM( "Pages" ) )
47 #define OPTIONS_NODE OUString( RTL_CONSTASCII_USTRINGPARAM( "Options" ) )
48 #define PROPERTY_HIDE OUString( RTL_CONSTASCII_USTRINGPARAM( "Hide" ) )
58 size_t operator()( const ::rtl::OUString& sString ) const in operator ()()
64 …typedef std::hash_map< OUString, sal_Bool, OUStringHashCode, ::std::equal_to< OUString > > OptionN…
66 OUString m_sPathDelimiter;
70 void ReadNode( const OUString& _rNode, NodeType _eType );
71 sal_Bool IsHidden( const OUString& _rPath ) const;
76 virtual void Notify( const com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames );
81 sal_Bool IsGroupHidden ( const OUString& _rGroup ) const;
82 sal_Bool IsPageHidden ( const OUString& _rPage,
83 const OUString& _rGroup ) const;
84 sal_Bool IsOptionHidden ( const OUString& _rOption,
85 const OUString& _rPage,
86 const OUString& _rGroup ) const;
108 : ConfigItem( OUString( CFG_FILENAME ) ), in SvtOptionsDlgOptions_Impl()
114 OUString sRootNode( ROOT_NODE ); in SvtOptionsDlgOptions_Impl()
115 Sequence< OUString > aNodeSeq = GetNodeNames( sRootNode ); in SvtOptionsDlgOptions_Impl()
116 OUString sNode( sRootNode + m_sPathDelimiter ); in SvtOptionsDlgOptions_Impl()
120 OUString sSubNode( sNode + aNodeSeq[n] ); in SvtOptionsDlgOptions_Impl()
134 void SvtOptionsDlgOptions_Impl::Notify( const Sequence< rtl::OUString >& ) in Notify() argument
139 void SvtOptionsDlgOptions_Impl::ReadNode( const OUString& _rNode, NodeType _eType ) in ReadNode()
141 OUString sNode( _rNode + m_sPathDelimiter ); in ReadNode()
142 OUString sSet; in ReadNode()
167 Sequence< OUString > lResult( nLen ); in ReadNode()
168 lResult[0] = OUString( sNode + PROPERTY_HIDE ); in ReadNode()
170 lResult[1] = OUString( sNode + sSet ); in ReadNode()
180 OUString sNodes( sNode + sSet ); in ReadNode()
181 Sequence< OUString > aNodes = GetNodeNames( sNodes ); in ReadNode()
186 OUString sSubNodeName( sNodes + m_sPathDelimiter + aNodes[n] ); in ReadNode()
195 OUString getGroupPath( const OUString& _rGroup ) in getGroupPath()
197 return OUString( ROOT_NODE + OUString('/') + _rGroup + OUString('/') ); in getGroupPath()
199 OUString getPagePath( const OUString& _rPage ) in getPagePath()
201 return OUString( PAGES_NODE + OUString('/') + _rPage + OUString('/') ); in getPagePath()
203 OUString getOptionPath( const OUString& _rOption ) in getOptionPath()
205 return OUString( OPTIONS_NODE + OUString('/') + _rOption + OUString('/') ); in getOptionPath()
210 sal_Bool SvtOptionsDlgOptions_Impl::IsHidden( const OUString& _rPath ) const in IsHidden()
221 sal_Bool SvtOptionsDlgOptions_Impl::IsGroupHidden( const OUString& _rGroup ) const in IsGroupHidden()
228 sal_Bool SvtOptionsDlgOptions_Impl::IsPageHidden( const OUString& _rPage, const OUString& _rGroup )… in IsPageHidden()
236 const OUString& _rOption, const OUString& _rPage, const OUString& _rGroup ) const in IsOptionHidden()