fontmenucontroller.hxx (f8e07b45) fontmenucontroller.hxx (d026be40)
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

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

66
67 // XPopupMenuController
68 virtual void SAL_CALL updatePopupMenu() throw (::com::sun::star::uno::RuntimeException);
69
70 // XStatusListener
71 virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException );
72
73 // XMenuListener
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

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

66
67 // XPopupMenuController
68 virtual void SAL_CALL updatePopupMenu() throw (::com::sun::star::uno::RuntimeException);
69
70 // XStatusListener
71 virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException );
72
73 // XMenuListener
74 virtual void SAL_CALL activate( const ::com::sun::star::awt::MenuEvent& rEvent ) throw (::com::sun::star::uno::RuntimeException);
74 virtual void SAL_CALL itemActivated( const ::com::sun::star::awt::MenuEvent& rEvent ) throw (::com::sun::star::uno::RuntimeException);
75
76 // XEventListener
77 virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException );
78
79 private:
80 virtual void impl_setPopupMenu();
81 virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL);
82 void fillPopupMenu( const com::sun::star::uno::Sequence< ::rtl::OUString >& rFontNameSeq, com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
83
84 rtl::OUString m_aFontFamilyName;
85 com::sun::star::uno::Reference< com::sun::star::frame::XDispatch > m_xFontListDispatch;
86 };
87}
88
89#endif // __FRAMEWORK_UIELEMENT_FONTMENUCONTROLLER_HXX_
75
76 // XEventListener
77 virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException );
78
79 private:
80 virtual void impl_setPopupMenu();
81 virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL);
82 void fillPopupMenu( const com::sun::star::uno::Sequence< ::rtl::OUString >& rFontNameSeq, com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
83
84 rtl::OUString m_aFontFamilyName;
85 com::sun::star::uno::Reference< com::sun::star::frame::XDispatch > m_xFontListDispatch;
86 };
87}
88
89#endif // __FRAMEWORK_UIELEMENT_FONTMENUCONTROLLER_HXX_