|
#define | WSR_NORMAL 0x00 |
| This value directs GetUCharsUntilParagraphBoundary collapses sequences of white space into a single character. Lines may wrap at allowed soft wrap opportunities. More...
|
|
#define | WSR_PRE 0x01 |
| This value prevents GetUCharsUntilParagraphBoundary from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the specified extent overflows it. More...
|
|
#define | WSR_NOWRAP 0x02 |
| Like WSR_NORMAL, this value collapses white spaces; but like WSR_PRE, it does not allow wrapping. More...
|
|
#define | WSR_PRE_WRAP 0x03 |
| Like WSR_PRE, this value preserves white space; but like WSR_NORMAL, it allows wrapping. More...
|
|
#define | WSR_BREAK_SPACES 0x04 |
| The behavior is identical to that of WSR_PRE_WRAP, except that: More...
|
|
#define | WSR_PRE_LINE 0x05 |
| Like WS_NORMAL, this value collapses consecutive spaces and allows wrapping, but preserves segment breaks in the source as forced line breaks. More...
|
|
The white space rule indicates GetUCharsUntilParagraphBoundary.
- whether and how white space inside the string is collapsed.
- whether lines may wrap at unforced soft wrap opportunities.
◆ WSR_BREAK_SPACES
#define WSR_BREAK_SPACES 0x04 |
The behavior is identical to that of WSR_PRE_WRAP, except that:
- Any sequence of preserved white space always takes up space, including at the end of the line.
- A line breaking opportunity exists after every preserved white space glyph, including between white space characters.
When white space rule is specified to be WSR_BREAK_SPACES, the manner of GetUCharsUntilParagraphBoundary will conform to CSS Text Module Level 3.
Definition at line 12373 of file gdi.h.
◆ WSR_NORMAL
This value directs GetUCharsUntilParagraphBoundary collapses sequences of white space into a single character. Lines may wrap at allowed soft wrap opportunities.
Definition at line 12331 of file gdi.h.
◆ WSR_NOWRAP
Like WSR_NORMAL, this value collapses white spaces; but like WSR_PRE, it does not allow wrapping.
Definition at line 12349 of file gdi.h.
◆ WSR_PRE
This value prevents GetUCharsUntilParagraphBoundary from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the specified extent overflows it.
Definition at line 12341 of file gdi.h.
◆ WSR_PRE_LINE
#define WSR_PRE_LINE 0x05 |
Like WS_NORMAL, this value collapses consecutive spaces and allows wrapping, but preserves segment breaks in the source as forced line breaks.
Definition at line 12382 of file gdi.h.
◆ WSR_PRE_WRAP
#define WSR_PRE_WRAP 0x03 |
Like WSR_PRE, this value preserves white space; but like WSR_NORMAL, it allows wrapping.
Definition at line 12357 of file gdi.h.