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