File: list_alignment_mode.txt

package info (click to toggle)
krita 1%3A3.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 430,944 kB
  • ctags: 68,203
  • sloc: cpp: 798,916; xml: 7,448; ansic: 3,844; perl: 434; sh: 140; makefile: 20
file content (98 lines) | stat: -rw-r--r-- 2,543 bytes parent folder | download | duplicates (6)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
label-width-and-position mode
=============================

                      min-    min-
                     label-  label-
                     width  distance
                    |------|--------|
                    LABELBOX        TEXT STARTS HERE AND GOES ON
                    |          TO THE NEXT LINE
|>------------------|          |----|
     space-before            text-indent
    + margin-left

Inside LABELBOX the label can be aligned and prepended by spacing:

left:
           LABELBOX
           11.2

center:
           LABELBOX
             11.2

right:
           LABELBOX
               11.2


label-alignment mode
====================

How list tab is defined if fixed tabs:

            text-indent
           |---------<|
         LABEL              TEXT STARTS HERE AND GOES ON
                      TO THE|NEXT LINE
|>--------------------|     |
        margin              |
                            |
|>--------------------------|
            tab-position



How list tab is defined if relative tabs:

            text-indent
           |---------<|
         LABEL              TEXT STARTS HERE AND GOES ON
                      TO THE|NEXT LINE
|>--------------------|     |
        margin        |     |
                      |     |
       |>-------------|     |
       |list:margin-left    |
       |                    |
       |>-------------------|
            tab-position

text-indent is equal to list:text-indent unless paragraph:text-indent is defined and not zero
margin is equal to list:margin-left unless paragraph:margin-left is defined and not zero


LABEL was shown above center aligned. to illustrate the alignment the LABEL box and a sample label is shown below in all of the three alignments and how it relates to the position defined by text-indent:

left:
            text-indent
           |---------<|
           LABEL
           1.2
center:
            text-indent
           |---------<|
         LABEL
          1.2
right:
            text-indent
           |---------<|
       LABEL
         1.2


Font determination in calligra
==============================

In presentations the order of text properties is:
-------------------------------------------------
paragraph textproperties
first fragment of the text's textproperties
liststyle referenced named characterstyle (but LO/OO doesn't)
liststyle text-properties

In odt the order is:
--------------------
paragraph textproperties
liststyle referenced named characterstyle
liststyle text-properties (but LO/OO doesn't)