summaryrefslogtreecommitdiff
path: root/cui/source/inc/textchaining.hxx
blob: 6f8f66ca52e151b5a9ba234a1cb4460840831167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef INCLUDED_CUI_SOURCE_INC_TEXTFLOW_HXX
#define INCLUDED_CUI_SOURCE_INC_TEXTFLOW_HXX

#include <sfx2/tabdlg.hxx>
#include <svx/svdattr.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/layout.hxx>

class SdrView;

class SvxTextChainingPage : public SfxTabPage
{
private:
    static const sal_uInt16     pRanges[];

    VclPtr<VclGrid> mpBoxLinks;
    VclPtr<ListBox> mpLBPrevLink;
    VclPtr<ListBox> mpLBNextLink;

public:
    SvxTextChainingPage( vcl::Window* pWindow, const SfxItemSet& rInAttrs );
    virtual ~SvxTextChainingPage();
    virtual void dispose() override;

    static VclPtr<SfxTabPage>  Create( vcl::Window*, const SfxItemSet* );
    static const sal_uInt16* GetRanges() { return pRanges; }

    virtual bool        FillItemSet( SfxItemSet* ) override;
    virtual void        Reset( const SfxItemSet * ) override;
};

#endif