display PDF on iOS

Hello,
i try UI Pack PDF lib with Demo project, it works fine on Windows but i have a EconvertError : "Impossible to assign TTMSFMXPDFGraphcsLibFont to TTMSFMXGraphicsFont"
With iPad iOS 9.3 32 bits

Hi, 


In which specific circumstances is this problem reproducible?

Hi Pieter,

There is no particular circumstance. It happens every time i launch it from Delphi 10.2.1.

Hi, 


We have investigated this here and have applied a fix for this issue. The next version will address this.

Ok and when the next version will come out ?

We'll release an update this week.

Hello,


the is ready to download ?

i've downloaded the last version but it doesn't work, it's the same error...

Hi, 


The issue should be fixed in the latest available version 3.6.5.0, did you install this version and clean/rebuild your application?

Pieter Scheldeman2017-10-16 08:38:25

Ok, my version was 3.6.4. i've downloaded 3.6.5 and there is no error.


But the pdf is not shown, there is just a white line on the top of the screen, what happens ?

Hi, 


Can you check the deployment window for Sample.pdf, and make sure it is added and deployed to the root folder?

Yes i've added sample.pdf, sample2.pdf and test2.txt in deployment window with remote path Startup\Documents

i change code to set   pth := TPath.GetDocumentsPath + TPath.DirectorySeparatorChar;

Program load files without problem, it seems that adobe reader do not launch...

i don't find where is the problem

Which exact demo are you running?

this one :


C:\Users\Public\Documents\tmssoftware\TMS FMX UI Pack Demos\PDF\PDFLib

Thanks, we'll investigate this here as soon as possible.

You should get a popup control at the button, showing a dialog that allows you to choose how to open the PDF. It does not automatically open in Adobe PDF Reader.

Ok, may be it's this popup control which doesn't work 


i do not see any dialog, only a white line at the top...

Hi, 


We've modified the demo, and uploaded it at the following location:
http://www.tmssoftware.net/public/PDFLib_Demo.zip

Hi,


Sorry for the delay, today i try this new one demo but it does't work too.
First, i had a compile error ( lib unknown ) for this :
FMX.TMSFNCCustomComponent,  FMX.TMSFNCBitmapContainer;

May be it's not important for my problem soi put it in comment.

It is the same result, here is a screen copy :



The dialog that is shown is a native dialog, so the size of the dialog is something that we cannot control here. It could be possible that this is an iOS version specific issue so we recommend to try it on another device or another iOS operating system.

Ok, it works fine with iOS 11 but not with 9.3


another question :
How can we set header and footer in a pdf page ?
There is nothing in documentation...

Have you an example for header and footer with and without html format ( size, margin, alignment and font ) ?

Thanks

Hi, 


The documentation specifies Header/Footer properties as well as margin, alignment and font handling
http://www.tmssoftware.biz/download/manuals/TMSFMXPDFLibraryDevGuide.pdf