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

TOPIC:

Page_getAnnotPopupText - limits 6 years 8 months ago #12747

  • razvar
  • razvar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
Hi,
Looks like Page_getAnnotPopupText is limited to 1024 chars? I've tried increasing the buffer in PDFObjc.m but had no luck, the sticky note text annotation is trimmed to 1024.
-(NSString *)getPopupText
{
	char buf[2048];
	if( !Page_getAnnotPopupText( m_page, m_handle, buf, 2048 ) ) //still trimmed to 1024
		return NULL;
	return [NSString stringWithUTF8String:buf];
}

Also, on a sticky note annotation only the "reply" text is returned, not the entire text as expected... Basically what I'm trying to do is show the pdf sticky note when user taps on it, but the actual sticky note text is truncated to 1024 chars and only the reply of the note will be returned by Page_getAnnotPopupText.

Any tips/workarounds for these? (registered user with pro version)

Thank you for your time.

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

  • Page:
  • 1
Powered by Kunena Forum