mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 01:09:12 +02:00
fpvectorial: added cell spacing to docxvectorialwriter
This commit is contained in:
parent
8d65086d85
commit
9613dea1c4
@ -991,6 +991,14 @@ Var
|
||||
|
||||
oDocXML.Add('<w:vAlign w:val="' + LU_V_ALIGN[oCell.VerticalAlignment] + '" />');
|
||||
|
||||
// cell padding
|
||||
oDocXML.Add('<w:tcMar>', indInc);
|
||||
oDocXML.Add(Format('<w:top w:w="%s" w:type="dxa"/>', [mmToTwipsS(oCell.SpacingTop)]));
|
||||
oDocXML.Add(Format('<w:start w:w="%s" w:type="dxa"/>', [mmToTwipsS(oCell.SpacingLeft)]));
|
||||
oDocXML.Add(Format('<w:bottom w:w="%s" w:type="dxa"/>', [mmToTwipsS(oCell.SpacingBottom)]));
|
||||
oDocXML.Add(Format('<w:end w:w="%s" w:type="dxa"/>', [mmToTwipsS(oCell.SpacingRight)]));
|
||||
oDocXML.Add('</w:tcMar>', indDec);
|
||||
|
||||
oDocXML.Add(indDec, '</w:tcPr>', indDec);
|
||||
|
||||
ProcessRichText(oCell);
|
||||
|
Loading…
Reference in New Issue
Block a user