10a1e2f0eSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 30a1e2f0eSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 40a1e2f0eSAndrew Rist * or more contributor license agreements. See the NOTICE file 50a1e2f0eSAndrew Rist * distributed with this work for additional information 60a1e2f0eSAndrew Rist * regarding copyright ownership. The ASF licenses this file 70a1e2f0eSAndrew Rist * to you under the Apache License, Version 2.0 (the 80a1e2f0eSAndrew Rist * "License"); you may not use this file except in compliance 90a1e2f0eSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 110a1e2f0eSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 130a1e2f0eSAndrew Rist * Unless required by applicable law or agreed to in writing, 140a1e2f0eSAndrew Rist * software distributed under the License is distributed on an 150a1e2f0eSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160a1e2f0eSAndrew Rist * KIND, either express or implied. See the License for the 170a1e2f0eSAndrew Rist * specific language governing permissions and limitations 180a1e2f0eSAndrew Rist * under the License. 19cdf0e10cSrcweir * 200a1e2f0eSAndrew Rist *************************************************************/ 210a1e2f0eSAndrew Rist 22cdf0e10cSrcweir #ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX 23cdf0e10cSrcweir #define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX 24cdf0e10cSrcweir 25cdf0e10cSrcweir #include "svtools/svmedit2.hxx" 26cdf0e10cSrcweir 27*0a1e220dSmseidel // @HTML 28cdf0e10cSrcweir 29cdf0e10cSrcweir namespace dp_gui 30cdf0e10cSrcweir { 31cdf0e10cSrcweir 32cdf0e10cSrcweir class DescriptionEdit : public ExtMultiLineEdit 33cdf0e10cSrcweir { 34cdf0e10cSrcweir private: 35cdf0e10cSrcweir bool m_bIsVerticalScrollBarHidden; 36cdf0e10cSrcweir 37cdf0e10cSrcweir void Init(); 38cdf0e10cSrcweir void UpdateScrollBar(); 39cdf0e10cSrcweir 40cdf0e10cSrcweir public: 41cdf0e10cSrcweir DescriptionEdit( Window* pParent, const ResId& rResId ); ~DescriptionEdit()42cdf0e10cSrcweir inline ~DescriptionEdit() {} 43cdf0e10cSrcweir 44cdf0e10cSrcweir void Clear(); 45cdf0e10cSrcweir void SetDescription( const String& rDescription ); 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir 48cdf0e10cSrcweir } // namespace dp_gui 49cdf0e10cSrcweir 50cdf0e10cSrcweir #endif // INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DESCEDIT_HXX 51*0a1e220dSmseidel 52*0a1e220dSmseidel /* vim: set noet sw=4 ts=4: */ 53