Implement list styles in pdf (fixes #3338)
This commit is contained in:
parent
73407133bd
commit
78f5d1f516
@ -36,7 +36,7 @@
|
|||||||
"ngstorage": "~0.3.11",
|
"ngstorage": "~0.3.11",
|
||||||
"ngBootbox": "~0.1.3",
|
"ngBootbox": "~0.1.3",
|
||||||
"papaparse": "~4.1.2",
|
"papaparse": "~4.1.2",
|
||||||
"pdfmake": "0.1.30",
|
"pdfmake": "0.1.33",
|
||||||
"roboto-fontface": "~0.6.0"
|
"roboto-fontface": "~0.6.0"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
@ -819,6 +819,9 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
currentParagraph = create("text");
|
currentParagraph = create("text");
|
||||||
currentParagraph.lineHeight = 1.25;
|
currentParagraph.lineHeight = 1.25;
|
||||||
var stackDiv = create("stack");
|
var stackDiv = create("stack");
|
||||||
|
if (_.indexOf(classes, 'os-split-before') > -1) {
|
||||||
|
stackDiv.listType = 'none';
|
||||||
|
}
|
||||||
stackDiv.stack.push(currentParagraph);
|
stackDiv.stack.push(currentParagraph);
|
||||||
ComputeStyle(stackDiv, styles);
|
ComputeStyle(stackDiv, styles);
|
||||||
currentParagraph = parseChildren(stackDiv.stack, element, currentParagraph, [], diff_mode);
|
currentParagraph = parseChildren(stackDiv.stack, element, currentParagraph, [], diff_mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user