ParaLineSpacingControl.hxx (766ce4d0) ParaLineSpacingControl.hxx (3fca590b)
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

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

38#define LSP_POS_GLOBAL_VALUE String("Line_Spacing_Pos", 16, RTL_TEXTENCODING_ASCII_US)
39#define LSP_LV_GLOBAL_VALUE String("Line_Spacing_Lv", 15, RTL_TEXTENCODING_ASCII_US)
40#define BEGIN_VALUE 28
41class ParaLineSpacingControl:public svx::sidebar::PopupControl
42{
43public:
44 ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
45 ~ParaLineSpacingControl();
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

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

38#define LSP_POS_GLOBAL_VALUE String("Line_Spacing_Pos", 16, RTL_TEXTENCODING_ASCII_US)
39#define LSP_LV_GLOBAL_VALUE String("Line_Spacing_Lv", 15, RTL_TEXTENCODING_ASCII_US)
40#define BEGIN_VALUE 28
41class ParaLineSpacingControl:public svx::sidebar::PopupControl
42{
43public:
44 ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
45 ~ParaLineSpacingControl();
46 void ToGetFocus(bool bType);
47 void Rearrange(SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem,const ::sfx2::sidebar::EnumContext currentContext);
48 //virtual void Paint(const Rectangle& rect);
49
50 //add
51 short GetLastCustomState();
52 long GetLastCustomValue();
53 //add end
54

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

79 FixedText maOfFT;
80 MetricField aLineDistAtPercentBox;
81 MetricField aLineDistAtMetricBox;
82
83 Image maSpacing1;
84 Image maSpacing115;
85 Image maSpacing15;
86 Image maSpacing2;
46 void Rearrange(SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem,const ::sfx2::sidebar::EnumContext currentContext);
47 //virtual void Paint(const Rectangle& rect);
48
49 //add
50 short GetLastCustomState();
51 long GetLastCustomValue();
52 //add end
53

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

78 FixedText maOfFT;
79 MetricField aLineDistAtPercentBox;
80 MetricField aLineDistAtMetricBox;
81
82 Image maSpacing1;
83 Image maSpacing115;
84 Image maSpacing15;
85 Image maSpacing2;
87 Image maLPCustom;
88
89 Image maSelSpacing1;
90 Image maSelSpacing115;
91 Image maSelSpacing15;
92 Image maSelSpacing2;
93 Image maSelSelHanging;
94 Image maImgCus;
95 Image maImgCusGrey;

--- 21 unchanged lines hidden ---
86
87 Image maSelSpacing1;
88 Image maSelSpacing115;
89 Image maSelSpacing15;
90 Image maSelSpacing2;
91 Image maSelSelHanging;
92 Image maImgCus;
93 Image maImgCusGrey;

--- 21 unchanged lines hidden ---