TableDesignPane.hxx (67e470da) TableDesignPane.hxx (f6859a6b)
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

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

21
22
23
24#ifndef _SD_TABLEDESIGNPANE_HXX
25#define _SD_TABLEDESIGNPANE_HXX
26
27#include <com/sun/star/beans/XPropertySet.hpp>
28#include <com/sun/star/ui/XUIElement.hpp>
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

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

21
22
23
24#ifndef _SD_TABLEDESIGNPANE_HXX
25#define _SD_TABLEDESIGNPANE_HXX
26
27#include <com/sun/star/beans/XPropertySet.hpp>
28#include <com/sun/star/ui/XUIElement.hpp>
29#include <com/sun/star/ui/LayoutSize.hpp>
29#include <com/sun/star/drawing/XDrawView.hpp>
30#include <com/sun/star/container/XIndexAccess.hpp>
31
32#include <vcl/dialog.hxx>
33#include <vcl/fixed.hxx>
34#include <vcl/button.hxx>
35#include <svtools/valueset.hxx>
30#include <com/sun/star/drawing/XDrawView.hpp>
31#include <com/sun/star/container/XIndexAccess.hpp>
32
33#include <vcl/dialog.hxx>
34#include <vcl/fixed.hxx>
35#include <vcl/button.hxx>
36#include <svtools/valueset.hxx>
37#include <sfx2/sidebar/ILayoutableWindow.hxx>
36
37#include <boost/scoped_ptr.hpp>
38
39#include "TableDesignPane.hrc"
40
41namespace sd
42{
43
44namespace tools {
45class EventMultiplexerEvent;
46}
47
48class ViewShellBase;
49
50// --------------------------------------------------------------------
51
38
39#include <boost/scoped_ptr.hpp>
40
41#include "TableDesignPane.hrc"
42
43namespace sd
44{
45
46namespace tools {
47class EventMultiplexerEvent;
48}
49
50class ViewShellBase;
51
52// --------------------------------------------------------------------
53
52class TableDesignPane : public Control
54class TableDesignPane : public Control, public sfx2::sidebar::ILayoutableWindow
53{
54public:
55 TableDesignPane( ::Window* pParent, ViewShellBase& rBase, bool bModal );
56 virtual ~TableDesignPane();
57
58 // callbacks
59 void onSelectionChanged();
60
61 // Control
62 virtual void Resize();
63
55{
56public:
57 TableDesignPane( ::Window* pParent, ViewShellBase& rBase, bool bModal );
58 virtual ~TableDesignPane();
59
60 // callbacks
61 void onSelectionChanged();
62
63 // Control
64 virtual void Resize();
65
66 // ILayoutableWindow
67 virtual ::com::sun::star::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth);
68
64 virtual void DataChanged( const DataChangedEvent& rDCEvt );
65
66 void ApplyOptions();
67 void ApplyStyle();
68
69 bool isStyleChanged() const { return mbStyleSelected; }
70 bool isOptionsChanged() const { return mbOptionsChanged; }
71

--- 51 unchanged lines hidden ---
69 virtual void DataChanged( const DataChangedEvent& rDCEvt );
70
71 void ApplyOptions();
72 void ApplyStyle();
73
74 bool isStyleChanged() const { return mbStyleSelected; }
75 bool isOptionsChanged() const { return mbOptionsChanged; }
76

--- 51 unchanged lines hidden ---