PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 11:57 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Feb 05, 2024 8:23 am 
Offline

Joined: Fri Feb 02, 2024 2:55 pm
Posts: 1
Hi,
I'm struggeling with a problem on Apple devices.
I used PdfSharp to update PDF forms (textfields). But when we send this files via email to an Apple device then the preview in Mail app is showing "old" content.
I analysed the problem and it seems that Apple will not look into the current content they look into to stream which is referted to the textfield.
But the content in the stream is not updated. I can search the associated stream and can manipulate the string but I guess this this not the right way.
The associated stream can only be found in the Internals.GetAllObjects() (dictionary(id=(11 0),[6])=key=6:(/BBox /Filter /Length /Resources /Subtype /Type))
/BBox is the array with coordinates of the textfield
/Filter is /FlatDecode
/Length is 125 (length of stream)
/Resource is "dictionary(id=(0 0),[1])=key=1:(/Font)"
/Subtype is /Form
/Type is /XObject

Content of stream:
Code:
{0 0 0 RG 1 w
.5 .5 149 21 re S
/Tx BMC
q
1 1 148 20 re W n
BT
0 g 0 Tc 0 Tw 100 Tz 0 Tr/Helv 17.9 Tf 2 4.7976 Td
(\(TEST123\))Tj
ET
Q
EMC
}


"(TEST123)" is the value of the textfield.
Hope someone can give me a hint.
Kind regards
Dirk


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2024 9:43 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 916
Location: CCAA
PDFsharp does not fully support AcroForms and it is up to you to update the representation of the form fields.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 385 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group