v1.1.4-patch2
This commit is contained in:
parent
47e9ff9a46
commit
919c80f1b0
|
|
@ -1,5 +1,3 @@
|
|||
// Version 1.1.4
|
||||
|
||||
Function TOfficeObj(n);
|
||||
Begin
|
||||
case lowercase(n) of
|
||||
|
|
@ -12359,8 +12357,10 @@ Type TDocumentBody = Class(DocObject)
|
|||
///[docx]: 可选参数,TSDocxFile对象,在TTextBox、TCell中调用需要传入文档对象
|
||||
Function AddPicture(picture, posOpt, docx);
|
||||
Begin
|
||||
if ifObj(docx) then
|
||||
if ifObj(docx) then Begin
|
||||
zipfile_ := docx.Zip();
|
||||
picture.Run.Drawing.WInline.ID := docx.GetDocPrId();
|
||||
End;
|
||||
if not ifBinary(picture.Image) or length(picture.Image)=0 then
|
||||
raise 'Invalid Image Data.';
|
||||
if not ifObj(zipfile_) then
|
||||
|
|
|
|||
Loading…
Reference in New Issue