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.