mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
Qtf: {{* now equivalent to {{~0/0
git-svn-id: svn://ultimatepp.org/upp/trunk@8948 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
97fc2a95ff
commit
9e569a7aae
2 changed files with 11 additions and 1 deletions
|
|
@ -435,6 +435,11 @@ void RichQtfParser::TableFormat(bool bw)
|
|||
if(b >= 0)
|
||||
t.format.margin.left = t.format.margin.right = t.format.margin.top = t.format.margin.bottom = b;
|
||||
break; //!!cell all lines
|
||||
case '*':
|
||||
tab.format.frame = tab.format.grid =
|
||||
t.format.border.left = t.format.border.right = t.format.border.top = t.format.border.bottom =
|
||||
t.format.margin.left = t.format.margin.right = t.format.margin.top = t.format.margin.bottom = 0;
|
||||
break;
|
||||
case '-': t.hspan = GetNumber(); break;
|
||||
case '+':
|
||||
case '|': t.vspan = GetNumber(); break;
|
||||
|
|
|
|||
|
|
@ -326,7 +326,9 @@ optimization, [*@(128.0.255) %`-] is equivalent to [@(128.0.255) %][@(0.0.255) 0
|
|||
::^ [s0;%- [C@(128.0.255) k]]
|
||||
::= [s0; Keep paragraph on single page.]
|
||||
::^ [s0;%- [C@(128.0.255) K]]
|
||||
::= [s0; Keep paragraph on same page as next one.]
|
||||
::= [s0; Keep paragraph on same page as next one. Only works well for
|
||||
binding two paragraphs (does not propagate further). If you need
|
||||
to bind more, use organizing table [@(128.0.255) `{`{`*K ][/ text][@(128.0.255) `}`}]]
|
||||
::^ [s0;%- [C@(128.0.255) Q]]
|
||||
::= [s0; Orphan control.]
|
||||
::^ [s0;%- [C@(128.0.255) n][/C@(0.0.255) text][C@(128.0.255) ;]]
|
||||
|
|
@ -600,6 +602,9 @@ Default is border: 0, margin: 15.]
|
|||
[s0; [C@(128.0.255) a][/C@(0.0.255) /number]]
|
||||
:: [s0; Sets all cell borders (first [/@(0.0.255) number]) and margins
|
||||
in dots. If any of numbers is missing, sets only the one present.]
|
||||
:: [s0; [C@(128.0.255) `*]]
|
||||
:: [s0; Same as f0g0a0/0 `- sets everything to zero to use table as
|
||||
organizing element.]
|
||||
:: [s0; [C@(128.0.255) o]]
|
||||
:: [s0; Sets round border.]
|
||||
:: [s0; [C@(128.0.255) `@][/C@(0.0.255) color]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue