TextCharacterSpacingControl.cxx (61a625e4) TextCharacterSpacingControl.cxx (45da7d5e)
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

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

27#include <svx/dialmgr.hxx>
28#include <unotools/viewoptions.hxx>
29#include <editeng/kernitem.hxx>
30#include <sfx2/bindings.hxx>
31#include <sfx2/dispatch.hxx>
32#include <sfx2/sidebar/Theme.hxx>
33
34namespace svx { namespace sidebar {
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

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

27#include <svx/dialmgr.hxx>
28#include <unotools/viewoptions.hxx>
29#include <editeng/kernitem.hxx>
30#include <sfx2/bindings.hxx>
31#include <sfx2/dispatch.hxx>
32#include <sfx2/sidebar/Theme.hxx>
33
34namespace svx { namespace sidebar {
35TextCharacterSpacingControl::TextCharacterSpacingControl(Window* pParent, svx::sidebar::TextPropertyPanel& rPanel)
35
36TextCharacterSpacingControl::TextCharacterSpacingControl (
37 Window* pParent,
38 svx::sidebar::TextPropertyPanel& rPanel,
39 SfxBindings* pBindings)
36: PopupControl( pParent,SVX_RES(RID_POPUPPANEL_TEXTPAGE_SPACING))
37, mrTextPropertyPanel(rPanel)
40: PopupControl( pParent,SVX_RES(RID_POPUPPANEL_TEXTPAGE_SPACING))
41, mrTextPropertyPanel(rPanel)
38, mpBindings(NULL)
42, mpBindings(pBindings)
39, maVSSpacing (ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(VS_SPACING))
40, maLastCus (this, SVX_RES(FT_LASTCUSTOM))
41//, maBorder (this, SVX_RES(CT_BORDER))
42, maFTSpacing (this, SVX_RES(FT_SPACING))
43, maLBKerning (this, SVX_RES(LB_KERNING))
44, maFTBy (this, SVX_RES(FT_BY))
45, maEditKerning (this, SVX_RES(ED_KERNING))
46

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

59
60, mnCustomKern(0)
61, mnLastCus ( SPACING_NOCUSTOM )
62, mbCusEnable(false)
63, mbVS(true)
64{
65 initial();
66 FreeResource();
43, maVSSpacing (ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(VS_SPACING))
44, maLastCus (this, SVX_RES(FT_LASTCUSTOM))
45//, maBorder (this, SVX_RES(CT_BORDER))
46, maFTSpacing (this, SVX_RES(FT_SPACING))
47, maLBKerning (this, SVX_RES(LB_KERNING))
48, maFTBy (this, SVX_RES(FT_BY))
49, maEditKerning (this, SVX_RES(ED_KERNING))
50

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

63
64, mnCustomKern(0)
65, mnLastCus ( SPACING_NOCUSTOM )
66, mbCusEnable(false)
67, mbVS(true)
68{
69 initial();
70 FreeResource();
67 mpBindings = mrTextPropertyPanel.GetBindings();
68 Link aLink = LINK(this, TextCharacterSpacingControl, KerningSelectHdl);
69 maLBKerning.SetSelectHdl(aLink);
70 aLink =LINK(this, TextCharacterSpacingControl, KerningModifyHdl);
71 maEditKerning.SetModifyHdl(aLink);
72
73}
74TextCharacterSpacingControl::~TextCharacterSpacingControl()
75{

--- 393 unchanged lines hidden ---
71 Link aLink = LINK(this, TextCharacterSpacingControl, KerningSelectHdl);
72 maLBKerning.SetSelectHdl(aLink);
73 aLink =LINK(this, TextCharacterSpacingControl, KerningModifyHdl);
74 maEditKerning.SetModifyHdl(aLink);
75
76}
77TextCharacterSpacingControl::~TextCharacterSpacingControl()
78{

--- 393 unchanged lines hidden ---