Suggestion for flatannots - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1
  • 2

TOPIC: Suggestion for flatannots

Suggestion for flatannots 9 months 2 weeks ago #14233

  • Ferrarini
  • Ferrarini's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Good morning,
I tried to use flatAnnots method when I call didShowReader and it works fine. Is it possible to call this method in other callback? For example before closing reader?

Regards,
Maurizio

Please Log in or Create an account to join the conversation.

Suggestion for flatannots 9 months 2 weeks ago #14234

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 86
  • Thank you received: 10
Dear Maurizio,
You could use flat annot's methods in whatever callback you want but you must have PDF already open and make sure to save your document correctly.

Please Log in or Create an account to join the conversation.

Suggestion for flatannots 8 months 3 weeks ago #14245

  • Ferrarini
  • Ferrarini's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Can I use this method into withCloseReader callback?

Regards,
Maurizio

Please Log in or Create an account to join the conversation.

Suggestion for flatannots 8 months 2 weeks ago #14250

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 86
  • Thank you received: 10
Dear Maurizio,
flatAnnots method works fine while PDF is opened, also before closing reader (willCloseReader callback)

Please Log in or Create an account to join the conversation.

Suggestion for flatannots 8 months 2 weeks ago #14252

  • Ferrarini
  • Ferrarini's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi Federico,
I tried to call this method into willCloseReader callback, but logcat printed this error:
"Failure: Document flattering error".

Here my simple function:

function willCloseReader() {
RadaeePDFPlugin.flatAnnots(null,
function(message) {
console.log("Success: " + message);
},
function(err) {
console.log("Failure: " + err);
});
}

Can you help me?

Regards,
Fabio

Please Log in or Create an account to join the conversation.

Suggestion for flatannots 8 months 2 weeks ago #14253

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 86
  • Thank you received: 10
Dear Fabio,
We've just released a new version where we moved willCloseReaderCallback at now it allow you to use flatAnnot on your function willCloseReader.
Now this feature is available for Cordova on iOS and Android version too

Please Log in or Create an account to join the conversation.

Last edit: by federico.
  • Page:
  • 1
  • 2
Powered by Kunena Forum