TextCharacterSpacingControl.hxx (d4aefcae) TextCharacterSpacingControl.hxx (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

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

35#define SPACING_CLOSE_BY_CLICK_ICON -1
36#define SPACING_CLOSE_BY_CUS_EDIT 1
37
38#define SIDEBAR_SPACING_GLOBAL_VALUE String("PopupPanal_Spacing", 18, RTL_TEXTENCODING_ASCII_US)
39
40#define SIDEBAR_SPACE_NORMAL 0
41#define SIDEBAR_SPACE_EXPAND 1
42#define SIDEBAR_SPACE_CONDENSED 2
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

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

35#define SPACING_CLOSE_BY_CLICK_ICON -1
36#define SPACING_CLOSE_BY_CUS_EDIT 1
37
38#define SIDEBAR_SPACING_GLOBAL_VALUE String("PopupPanal_Spacing", 18, RTL_TEXTENCODING_ASCII_US)
39
40#define SIDEBAR_SPACE_NORMAL 0
41#define SIDEBAR_SPACE_EXPAND 1
42#define SIDEBAR_SPACE_CONDENSED 2
43
43class TextCharacterSpacingControl:public svx::sidebar::PopupControl
44{
45public:
44class TextCharacterSpacingControl:public svx::sidebar::PopupControl
45{
46public:
46 TextCharacterSpacingControl(Window* pParent, svx::sidebar::TextPropertyPanel& rPanel);
47 ~TextCharacterSpacingControl();
47 TextCharacterSpacingControl (
48 Window* pParent,
49 svx::sidebar::TextPropertyPanel& rPanel,
50 SfxBindings* pBindings);
51 virtual ~TextCharacterSpacingControl();
48 void ToGetFocus();
49 void Rearrange(bool bLBAvailable,bool bAvailable, long nKerning);
50 //virtual void Paint(const Rectangle& rect);
51
52 //add
53 short GetLastCustomState();
54 long GetLastCustomValue();
55 //add end

--- 41 unchanged lines hidden ---
52 void ToGetFocus();
53 void Rearrange(bool bLBAvailable,bool bAvailable, long nKerning);
54 //virtual void Paint(const Rectangle& rect);
55
56 //add
57 short GetLastCustomState();
58 long GetLastCustomValue();
59 //add end

--- 41 unchanged lines hidden ---