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
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef LAYOUT_AWT_VCLXFIXEDLINE_HXX
25 #define LAYOUT_AWT_VCLXFIXEDLINE_HXX
26 
27 #include <comphelper/uno3.hxx>
28 #include <toolkit/awt/vclxwindow.hxx>
29 
30 /* We just provide our own FixedLine, because default has no width... */
31 
32 class FixedLine;
33 
34 namespace layoutimpl
35 {
36 
37 class VCLXFixedLine :public VCLXWindow
38 {
39 public:
40     VCLXFixedLine();
41 
42 protected:
43     ~VCLXFixedLine();
44 
45     // XInterface
46     // DECLARE_XINTERFACE()
47 
48     // XTypeProvider
49     DECLARE_XTYPEPROVIDER()
50 
51     // XComponent
52     void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
53 
54     virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize()
55         throw(::com::sun::star::uno::RuntimeException);
56 
57     // VclWindowPeer
58     virtual void SAL_CALL setProperty( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
59     virtual ::com::sun::star::uno::Any SAL_CALL getProperty( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
60 
61     // VCLXWindow
62     void ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent );
63 
64 private:
65     VCLXFixedLine( const VCLXFixedLine& );            // never implemented
66     VCLXFixedLine& operator=( const VCLXFixedLine& ); // never implemented
67 };
68 
69 } // namespace layoutimpl
70 
71 #endif /* LAYOUT_AWT_VCLXFIXEDLINE_HXX */
72