parent
ed0b1cef54
commit
eee0e0fc06
@ -766,7 +766,9 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
currentParagraph = create("text");
|
currentParagraph = create("text");
|
||||||
if (lineNumberMode == "outside" && brParentNodeName == ("INS" || "DEL")) {
|
if (lineNumberMode == "outside" &&
|
||||||
|
brParentNodeName != "LI"&&
|
||||||
|
element.parentNode.parentNode.nodeName != "LI") {
|
||||||
currentParagraph.margin = [20, 0, 0, 0];
|
currentParagraph.margin = [20, 0, 0, 0];
|
||||||
}
|
}
|
||||||
currentParagraph.lineHeight = 1.25;
|
currentParagraph.lineHeight = 1.25;
|
||||||
@ -860,6 +862,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
case "ul":
|
case "ul":
|
||||||
case "ol":
|
case "ol":
|
||||||
var list = create(nodeName);
|
var list = create(nodeName);
|
||||||
|
ComputeStyle(list, styles);
|
||||||
if (lineNumberMode == "outside") {
|
if (lineNumberMode == "outside") {
|
||||||
var lines = extractLineNumbers(element);
|
var lines = extractLineNumbers(element);
|
||||||
currentParagraph = parseChildren(list[nodeName], element, currentParagraph, styles, diff_mode);
|
currentParagraph = parseChildren(list[nodeName], element, currentParagraph, styles, diff_mode);
|
||||||
@ -884,6 +887,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
listCol.margin = [0,10,0,0];
|
listCol.margin = [0,10,0,0];
|
||||||
alreadyConverted.push(listCol);
|
alreadyConverted.push(listCol);
|
||||||
} else {
|
} else {
|
||||||
|
list.margin = [20, 0, 0, 0];
|
||||||
alreadyConverted.push(list);
|
alreadyConverted.push(list);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user