GDPicture 14 - Docx with content controls to pdf

Discussions about Office OpenXML & Open Document formats support.
Post Reply
WKIAccount
Posts: 1
Joined: Wed Apr 21, 2021 10:36 am

GDPicture 14 - Docx with content controls to pdf

Post by WKIAccount » Wed Apr 21, 2021 1:20 pm

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.
Attachments
GDP_Parc1.pdf
(171.58 KiB) Downloaded 29 times
TestGDP.docx
(1.13 MiB) Downloaded 29 times

User avatar
Fabio
Posts: 84
Joined: Thu Aug 27, 2020 9:57 am

Re: GDPicture 14 - Docx with content controls to pdf

Post by Fabio » Tue Apr 27, 2021 10:10 am

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

User avatar
Fabio
Posts: 84
Joined: Thu Aug 27, 2020 9:57 am

Re: GDPicture 14 - Docx with content controls to pdf

Post by Fabio » Thu Jun 10, 2021 11:56 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest