Save PDF as Docx with mode Textbox creates Frames

Save PDF as Docx with mode Textbox creates Frames, the old style for text boxes, that has poor support in MSWord format section.
Please create TextBox shapes.

Here my code :
using (Document pdfFile = new Document(Path.Combine(SampleFiles, “OrgSampleFontSize.pdf”)))
{
pdfFile.Save(Path.Combine(SampleFiles, “Sample.Textbox.docx”), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.DocX,
Mode = DocSaveOptions.RecognitionMode.Textbox
});
}

FrameOptions.png (5.8 KB)
TextBoxFormat.png (58.9 KB)

@arn951

Thanks for contacting support.

Would you please share a sample PDF document with us. We will test the scenario in our environment and address it accordingly.

As you can see that mode=TextBox has higher quality, but Frame less comfortable.

My updated code :

using (Document pdfFile = new Document(Path.Combine(SampleFiles, “OrgSampleTextBox.pdf”)))
{
pdfFile.Save(Path.Combine(SampleFiles, “Sample.Flow.docx”), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.DocX,
Mode = DocSaveOptions.RecognitionMode.Flow
});
pdfFile.Save(Path.Combine(SampleFiles, “Sample.Textbox.docx”), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.DocX,
Mode = DocSaveOptions.RecognitionMode.Textbox
});
}

OrgSampleTextBox.zip (208.3 KB)

@arn951

Thanks for sharing the sample documents.

We have tested the scenario in our environment and were able to observe the issue. We have logged it as PDFNET-45691 in our issue tracking system for the sake of correction. We will further look into details of it and keep you posted with its resolution status. Please be patient and spare us little time.

We are sorry for the inconvenience.

Hi,
what’s status for this ticket? It has been fixed? We are using 23.8 version, Its seems that still fames

@softboy

We are afraid that the ticket could not get resolved yet due to other issues in the queue. Nevertheless, we have recorded your concerns and will surely inform you once we have some updates in this regard. Please spare us some time. We apologize for the inconvenience.