1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.rendering.macro.formula; |
21 |
|
|
22 |
|
import org.xwiki.formula.FormulaRenderer.FontSize; |
23 |
|
import org.xwiki.formula.FormulaRenderer.Type; |
24 |
|
import org.xwiki.properties.annotation.PropertyDescription; |
25 |
|
|
26 |
|
|
27 |
|
@link |
28 |
|
|
29 |
|
@version |
30 |
|
@since |
31 |
|
|
|
|
| 50% |
Uncovered Elements: 4 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
32 |
|
public class FormulaMacroParameters |
33 |
|
{ |
34 |
|
|
35 |
|
private FontSize size = FontSize.DEFAULT; |
36 |
|
|
37 |
|
|
38 |
|
private Type type = Type.DEFAULT; |
39 |
|
|
40 |
|
|
41 |
|
@param |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0 |
@PropertyDescription("adjust font size")... |
44 |
|
public void setFontSize(FontSize size) |
45 |
|
{ |
46 |
0 |
this.size = size; |
47 |
|
} |
48 |
|
|
49 |
|
|
50 |
|
@return |
51 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
4 |
public FontSize getFontSize()... |
53 |
|
{ |
54 |
4 |
return this.size; |
55 |
|
} |
56 |
|
|
57 |
|
|
58 |
|
@param |
59 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0 |
@PropertyDescription("resulting image type")... |
61 |
|
public void setImageType(Type type) |
62 |
|
{ |
63 |
0 |
this.type = type; |
64 |
|
} |
65 |
|
|
66 |
|
|
67 |
|
@return |
68 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
4 |
public Type getImageType()... |
70 |
|
{ |
71 |
4 |
return this.type; |
72 |
|
} |
73 |
|
} |