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

TOPIC:

Can I manage my custom data? 7 years 4 months ago #11456

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I use 3.9RC Lib...

I need to manage user information in annotation.

For example, constructor, modification date ...

Please let me know how I can manage the data.

help me!!

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

Can I manage my custom data? 7 years 4 months ago #11467

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Currently you can use Annotation.GetPopupLabel() to get the author.
If you have a premium license, you can use the advanced properties to get more data about the annotation, like the creation date, modification date...etc.

For more details please check: www.radaeepdf.com/support/knowledge-base...component&kbartid=63

Our developers now are evaluating the possibility to add direct API's to get these dates,

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

Can I manage my custom data? 7 years 4 months ago #11479

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I use version 3.9Rc.
Currently I can use Annotation.GetPopupLabel () to get the author.
However, it does not work with AnnotEditBox.
Returns null.

This is the code I use.
Boolean bResult = page.AddAnnotEditbox (rect, Global.textColor, 2f, 0x00FFFFFF, fsize, Global.textColor);
If (bResult) {
         Annotation annot = page.GetAnnot (page.GetAnnotCount () - 1);
         Annot.SetPopupLabel ( "Test Label");
         String strTmp1 = annot.GetPopupLabel ();
}

* StrTmp1 is null

Can you help me?

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

Can I manage my custom data? 7 years 4 months ago #11492

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
A new beta version 3.10beta2 has been published, with the below modifications.

So get/set popup label will work with AnnotEditBox, for the annotation that does not support popup label (as indicated below), and if you have a premium license, you can use the advanced properties to get more data about the annotation, www.radaeepdf.com/support/knowledge-base...component&kbartid=63 you can consult

3.10beta2
native library
- NEW interface: Annotation.GetModifyDate(); and Annotation.SetModifyDate();
-- get/set modify DateTime of Annotation.
--DateTime String object format as (D:YYYYMMDDHHmmSSOHH'mm') where:
-- YYYY is the year
--MM is the month
--DD is the day (01–31)
--HH is the hour (00–23)
-- mm is the minute (00–59)
--SS is the second (00–59)
-- O is the relationship of local time to Universal Time (UT), denoted by one of the characters +, -, or Z
--HH followed by ' is the absolute value of the offset from UT in hours (00–23)
--mm followed by ' is the absolute value of the offset from UT in minutes (00–59)
--more details see PDF-Reference-1.7 section 3.8.3
- ENHANCED Annotation.GetPopupLabel and Annotation.SetPopupLabel to meet with PDF-Reference-1.7 (Markup Annotations pages 615 to 619)
--these annotations can't add PopupWindow as child:
---Link, FreeText(Editbox added by us, not form field, popup value is in displayed edit text)
---Movie, Widget(Form Field), Sound, Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations can't get/set Popup Values:
---Link, Movie, Widget(Form Field), Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations set PopupText same as edit text:
---FreeText

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

Can I manage my custom data? 7 years 4 months ago #11499

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I can not find where the 3.10 version.

Linked links do not work.

Please confirm.

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

Can I manage my custom data? 7 years 4 months ago #11500

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You can find the mentioned version here:
www.radaeepdf.com/download/download-prev...le/66-radaeepdf-310b

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum