LibreOffice Module sw (master) 1
|
#include <com/sun/star/text/HoriOrientation.hpp>
#include <tools/gen.hxx>
#include "swrect.hxx"
#include <memory>
Go to the source code of this file.
Classes | |
struct | SwFillCursorPos |
struct | Sw2LinesPos |
struct | SwSpecialPos |
struct | SwCursorMoveState |
Enumerations | |
enum class | SwFillMode { Tab , TabSpace , Space , Margin , Indent } |
enum class | MultiPortionType : sal_uInt8 { TWOLINE = 0 , BIDI = 1 , ROT_270 = 3 , RUBY = 4 , ROT_90 = 7 } |
enum class | SwSPExtendRange : sal_uInt8 { NONE , BEFORE , BEHIND } |
SwSpecialPos. More... | |
enum class | CursorMoveState { NONE , UpDown , RightMargin , LeftMargin , SetOnlyText , TableSel } |
|
strong |
Enumerator | |
---|---|
NONE | default |
UpDown | Cursor Up/Down. |
RightMargin | at right margin |
LeftMargin | at left margin |
SetOnlyText | stay with the cursor inside text |
TableSel | not in repeated headlines |
Definition at line 121 of file crstate.hxx.
|
strong |
Enumerator | |
---|---|
TWOLINE | |
BIDI | |
ROT_270 | |
RUBY | |
ROT_90 |
Definition at line 55 of file crstate.hxx.
|
strong |
Enumerator | |
---|---|
Tab | default, fill with tabs |
TabSpace | fill with spaces and tabs |
Space | fill with spaces |
Margin | only align left, center, right |
Indent | by left paragraph indentation |
Definition at line 28 of file crstate.hxx.
|
strong |
This structure is used to pass some additional information during the call of SwTextFrame::GetCharRect(). An SwSpecialPos defines a position inside a portion which does not have a representation in the core string or which is only represented by one position, e.g., field portions, number portions, ergo sum and quo vadis portions.
nCharOfst - The offset inside the special portion. Fields and its follow fields are treated as one long special portion. nLineOfst - The number of lines between the beginning of the special portion and nCharOfst. A line offset required to be nCharOfst relative to the beginning of the line. nExtendRange - Setting this identifies portions which are in front or behind the core string (number portion, quo vadis)
Examples 1)
Get the position of the second character inside a number portion: nCharOfst = 2; nLineOfst = 0; nExtendRange = SP_EXTEND_RANGE_BEFORE; Call SwTextFrame:::GetCharRect with core string position 0.
Example 2)
Field A - Length = 5 Follow field B - Length = 9 Get the position of the third character in follow field B, core position of field A is 33. nCharOfst = 7; nLineOfst = 0; nExtendRange = SP_EXTEND_RANGE_NONE; Call SwTextFrame:::GetCharRect with core string position 33.
Enumerator | |
---|---|
NONE | |
BEFORE | |
BEHIND |
Definition at line 103 of file crstate.hxx.