v1.7.4-patch1
This commit is contained in:
parent
fdd2bd0fef
commit
3243db0e2d
|
|
@ -14403,7 +14403,10 @@ Type TDocSection = Class(DocObject, TDocSectionImpl)
|
||||||
Begin
|
Begin
|
||||||
if ifNil(type) or type = '' then
|
if ifNil(type) or type = '' then
|
||||||
type := 'default';
|
type := 'default';
|
||||||
node := node_.FirstChildElement(key);
|
sect_node := node_;
|
||||||
|
if sect_node.GetName() = "w:p" then
|
||||||
|
sect_node := class(TSxml).GetNode(sect_node, "w:pPr/w:sectPr");
|
||||||
|
node := sect_node.FirstChildElement(key);
|
||||||
while ifObj(node) do Begin
|
while ifObj(node) do Begin
|
||||||
name := node.GetName();
|
name := node.GetName();
|
||||||
if name = key then Begin
|
if name = key then Begin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue