Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC:

SetMeta on Document class 4 years 3 months ago #14856

  • devit9ar
  • devit9ar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
I'm trying to set some custom data into my pdf file. I'm using SetMeta to put a String containing that data.
My problem is the following: The custom string is always close to 3000 characters long.
When I use SetMeta with that string and use GetMeta to retrieve it, it's has only 499 characters.
So, SetMeta is always limiting my custom metadata to 499 characters. Is that a bug, a normal behavior for
SetaMeta or it's part of the Acrobat specification that puts a limit into custom metadata?

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

SetMeta on Document class 4 years 3 months ago #14857

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
yes, we limit buffer length, in native.
we shall fix it. and we think it as not urgent issue, because most meta data shall has no so big data.
so, we may update in few days.

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

SetMeta on Document class 4 years 3 months ago #14859

  • devit9ar
  • devit9ar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
Oh, thanks. Good to know that.
Do you guys have a due date for that update? We really need that fix in order to solve our issue.

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

SetMeta on Document class 4 years 3 months ago #14860

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
may this week.
to fix this issue, you shall setMeta again.
buffer limit is applied to Document.setMeta too.
The following user(s) said Thank You: devit9ar

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

SetMeta on Document class 4 years 3 months ago #14861

  • devit9ar
  • devit9ar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
I see. In that case, we'll wait for the update.
One more question...
How can I update my project with a new version? Do I have to download the package with the SDK again?

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

SetMeta on Document class 4 years 3 months ago #14862

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
yes, you shall download demo package again.
but you only need to unzip the package and replace native libraries.
The following user(s) said Thank You: devit9ar

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

Powered by Kunena Forum