ControlHelper.hxx (10ce8018) ControlHelper.hxx (d7e3d99b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

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

57
58 //------------------------------------------------------------------------------------
59 // XFilePickerControlAccess function delegates
60 //------------------------------------------------------------------------------------
61 void setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const uno::Any& rValue );
62 uno::Any getValue( sal_Int16 nControlId, sal_Int16 nControlAction ) const;
63 void enableControl( sal_Int16 nControlId, sal_Bool bEnable ) const;
64 OUString getLabel( sal_Int16 nControlId );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

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

57
58 //------------------------------------------------------------------------------------
59 // XFilePickerControlAccess function delegates
60 //------------------------------------------------------------------------------------
61 void setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const uno::Any& rValue );
62 uno::Any getValue( sal_Int16 nControlId, sal_Int16 nControlAction ) const;
63 void enableControl( sal_Int16 nControlId, sal_Bool bEnable ) const;
64 OUString getLabel( sal_Int16 nControlId );
65 void setLabel( sal_Int16 nControlId, const NSString* aLabel );
65 void setLabel( sal_Int16 nControlId, NSString* aLabel );
66
67 //------------------------------------------------------------------------------------
68 // other stuff
69 //------------------------------------------------------------------------------------
70 void updateFilterUI();
71
72 //------------------------------------------------------------------------------------
73 // Type definitions

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

174 // private methods
175 //------------------------------------------------------------------------------------
176 void HandleSetListValue(const NSControl* pControl, const sal_Int16 nControlAction, const uno::Any& rValue);
177 uno::Any HandleGetListValue(const NSControl* pControl, const sal_Int16 nControlAction) const;
178
179 void createControls();
180 void createFilterControl();
181 void createUserPane();
66
67 //------------------------------------------------------------------------------------
68 // other stuff
69 //------------------------------------------------------------------------------------
70 void updateFilterUI();
71
72 //------------------------------------------------------------------------------------
73 // Type definitions

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

174 // private methods
175 //------------------------------------------------------------------------------------
176 void HandleSetListValue(const NSControl* pControl, const sal_Int16 nControlAction, const uno::Any& rValue);
177 uno::Any HandleGetListValue(const NSControl* pControl, const sal_Int16 nControlAction) const;
178
179 void createControls();
180 void createFilterControl();
181 void createUserPane();
182 NSTextField* createLabelWithString(const NSString* label);
182 NSTextField* createLabelWithString( NSString* label);
183
184 int getControlElementName(const Class clazz, const int nControlId) const;
185 NSControl* getControl( const sal_Int16 nControlId ) const;
186 static int getVerticalDistance(const NSControl* first, const NSControl* second);
187
188 void layoutControls();
189};
190
191#endif //_CONTROLHELPER_HXX_
183
184 int getControlElementName(const Class clazz, const int nControlId) const;
185 NSControl* getControl( const sal_Int16 nControlId ) const;
186 static int getVerticalDistance(const NSControl* first, const NSControl* second);
187
188 void layoutControls();
189};
190
191#endif //_CONTROLHELPER_HXX_