Page 1 of 1

GDPicture 14 - Docx with content controls to pdf

Posted: Wed Apr 21, 2021 1:20 pm
by WKIAccount
Hi all,
We're having trouble converting docx files (containing content controls) to PDF using GDPicture sdk 14.

This is the code used for the conversion

if (gdpictureDocumentConverter.LoadFromStream(new MemoryStream(sourceContent), GdPicture14.DocumentFormat.DocumentFormatDOCX) ==
GdPictureStatus.OK)
{
var OpRet = gdpictureDocumentConverter.SaveAsPDF(outFile, PdfConformance.PDF1_5);
ret = OpRet == GdPictureStatus.OK;
if (!ret) OperationError = Enum.GetName(typeof(GdPictureStatus), OpRet);
}

If you try to convert the attached file, TestGDP.docx, with that code, you can see the result in GDP_Parc1.pdf: the content controls are not filled in with the respective values ​​present in the source docx file.

Can you help me to solve this issue?
Thanks in advance,
Nunzio.

Re: GDPicture 14 - Docx with content controls to pdf

Posted: Tue Apr 27, 2021 10:10 am
by Fabio
Hello there,

I reproduced the issue, I created a ticket for our developers.
I will keep you posted when it will be corrected!

Thanks for the feedback and have a nice day,
Fabio

Re: GDPicture 14 - Docx with content controls to pdf

Posted: Thu Jun 10, 2021 11:56 am
by Fabio
Hello Nunzio,

We just released our new GdPicture version here: https://www.gdpicture.com/download-gdpicture/

Everything should work fine now!

Thanks for your patience and have a great day!
Fabio