File: WdUnderline.rst

package info (click to toggle)
python-docx 0.8.11%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,640 kB
  • sloc: xml: 25,311; python: 21,911; makefile: 168
file content (69 lines) | stat: -rw-r--r-- 1,334 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.. _WdUnderline:

``WD_UNDERLINE``
================

Specifies the style of underline applied to a run of characters.

----

NONE
    No underline. This setting overrides any inherited underline value, so can
    be used to remove underline from a run that inherits underlining from its
    containing paragraph. Note this is not the same as assigning |None| to
    Run.underline. |None| is a valid assignment value, but causes the run to
    inherit its underline value. Assigning ``WD_UNDERLINE.NONE`` causes
    underlining to be unconditionally turned off.

SINGLE
    A single line. Note that this setting is write-only in the sense that
    |True| (rather than ``WD_UNDERLINE.SINGLE``) is returned for a run having
    this setting.

WORDS
    Underline individual words only.

DOUBLE
    A double line.

DOTTED
    Dots.

THICK
    A single thick line.

DASH
    Dashes.

DOT_DASH
    Alternating dots and dashes.

DOT_DOT_DASH
    An alternating dot-dot-dash pattern.

WAVY
    A single wavy line.

DOTTED_HEAVY
    Heavy dots.

DASH_HEAVY
    Heavy dashes.

DOT_DASH_HEAVY
    Alternating heavy dots and heavy dashes.

DOT_DOT_DASH_HEAVY
    An alternating heavy dot-dot-dash pattern.

WAVY_HEAVY
    A heavy wavy line.

DASH_LONG
    Long dashes.

WAVY_DOUBLE
    A double wavy line.

DASH_LONG_HEAVY
    Long heavy dashes.