dp_gui_extlistbox.hxx (cdf0e10c) dp_gui_extlistbox.hxx (8402cd44)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 151 unchanged lines hidden (view full) ---

160 //while new entries are added / removed in a separate thread.
161 mutable ::osl::Mutex m_entriesMutex;
162 std::vector< TEntry_Impl > m_vEntries;
163 std::vector< TEntry_Impl > m_vRemovedEntries;
164
165 ::com::sun::star::lang::Locale *m_pLocale;
166 CollatorWrapper *m_pCollator;
167
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 151 unchanged lines hidden (view full) ---

160 //while new entries are added / removed in a separate thread.
161 mutable ::osl::Mutex m_entriesMutex;
162 std::vector< TEntry_Impl > m_vEntries;
163 std::vector< TEntry_Impl > m_vRemovedEntries;
164
165 ::com::sun::star::lang::Locale *m_pLocale;
166 CollatorWrapper *m_pCollator;
167
168 //Holds weak references to extensions to which is we have added an XEventListener
169 std::vector< ::com::sun::star::uno::WeakReference<
170 ::com::sun::star::deployment::XPackage> > m_vListenerAdded;
171 //Removes the dead weak references from m_vListenerAdded
172 void cleanVecListenerAdded();
173 void addEventListenerOnce( ::com::sun::star::uno::Reference<
174 ::com::sun::star::deployment::XPackage> const & extension);
175
168 void CalcActiveHeight( const long nPos );
169 long GetTotalHeight() const;
170 void SetupScrollBar();
171 void DrawRow( const Rectangle& rRect, const TEntry_Impl pEntry );
172 bool HandleTabKey( bool bReverse );
173 bool HandleCursorKey( sal_uInt16 nKeyCode );
174 bool FindEntryPos( const TEntry_Impl pEntry, long nStart, long nEnd, long &nFound );
175 bool isHCMode();

--- 96 unchanged lines hidden ---
176 void CalcActiveHeight( const long nPos );
177 long GetTotalHeight() const;
178 void SetupScrollBar();
179 void DrawRow( const Rectangle& rRect, const TEntry_Impl pEntry );
180 bool HandleTabKey( bool bReverse );
181 bool HandleCursorKey( sal_uInt16 nKeyCode );
182 bool FindEntryPos( const TEntry_Impl pEntry, long nStart, long nEnd, long &nFound );
183 bool isHCMode();

--- 96 unchanged lines hidden ---