Text properties in a popup note cannot be saved.  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Text properties in a popup note cannot be saved.

Post by stephen.starr » Wed Jan 11, 2017 1:49 am

If I add a popup note annotation, I can save the note color as the default color, but the text properties cannot be saved.

If I change the color, size, and/or other properties of the text in the note popup, and hit the "Make Current Properties Default" option, they are not saved. The next note I add has the correct note color, but not the saved text settings.

Thank you,
Stephen

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Text properties in a popup note cannot be saved.

Post by Will - Tracker Supp » Wed Jan 11, 2017 8:18 am

Hi Stephen,

Thanks for the post - You have posted in the Editor SDK forum; was this on purpose? Please clarify whether you are using the end user Editor, or the SDK.

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Re: Text properties in a popup note cannot be saved.

Post by stephen.starr » Wed Jan 11, 2017 5:01 pm

Yes, we are using the editor SDK to write our own viewer. I am seeing this in our viewer and I can reproduce it in the full demo app that comes with the SDK.

Thank you,
Stephen

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Text properties in a popup note cannot be saved.

Post by John - Tracker Supp » Thu Jan 12, 2017 8:39 am

Hi Stephen,

Before you proceed too far - please be aware of the license limitations in regards using the Editor SDK ...

Have you read the license agreement in full and ensured you are in compliance ?

Specifically(but not limited to);
2. END USER APPLICATION
The Application Software developed by Licensee must be an "End User Application." An "end user application" is a specific application program that is licensed to a person or firm for business or personal use and not with a view toward redistributing the application or any part of the application, and may be either an application that is used by Licensee internally, or an application that is commercially distributed to end users for their use. A user of an end user application may not modify or redistribute the application and may not copy it (other than for archival purposes). Licensee’s license agreement covering the Application Software must contain restrictions prohibiting redistribution, modification and copying of the Application Software.

This product is intended to allow the developing licensee to incorporate the ability to Create, View, Print or Modify PDF files within the Licensee’s own end user software applications where the PDF functionality incorporated is just one of many features offered – rather than the primary or a significant proportion of the applications overall functionality in the overall set of features of the software application offered.

The license rights hereunder do not apply to development and deployment of software products such as specialist PDF Viewers or Editors, Printer Drivers, ActiveX controls, plug-ins, authoring tools, development toolkits, compilers, operating systems and also software products where a primary or significant proportion of the applications overall functionality is to generate, view or modify ‘PDF’ format files (as defined by ISO Standards body) and other file formats from 3rd party software applications not developed by the licensee, indirectly or otherwise, - such as Microsoft’s ‘Office’ suite and component applications other than for the purpose of creating and/or then storing such files within a structured application for the archival and management of documents, that is developed by the licensee and any other software not falling within the definition of an end user application.

Further, Licensee may not, under any circumstances, create a competing software application to Trackers own “PDFX Viewer”, PDF-XChange “Editor” or any of Tracker’s PDF-XChange and PDF-Tools range of applications for End users without first requesting Tracker to specifically agreeing to the creation and distribution of such a product.

If Licensee wishes to develop a product outside the scope of this license or is in any doubt as to the desired use, Licensee should contact TRACKER’S Sales department to see if a special license is available.
If you are in any doubt - please contact sales@tracker-software.com and discuss your desired use and we will be pleased to assist you in ensuring you are not likely to breach the T&C's and therefore waste your time, effort and money and risk possible legal consequences - which is not in anybody's interests.

Many thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Re: Text properties in a popup note cannot be saved.

Post by stephen.starr » Thu Jan 12, 2017 4:33 pm

John,

As far as I know, we are in compliance. We were using your version 2 viewer ActiveX control which is no longer supported, so we had to update to using the new editor SDK. We are not selling a viewer. It is a PDF editor embedded in our own application catered to the way our customers use our product.

We have been a customer of yours for over 10 years.

From your license agreement:
"This product is intended to allow the developing licensee to incorporate the ability to Create, View, Print or Modify PDF files within the Licensee’s own end user software applications where the PDF functionality incorporated is just one of many features offered – rather than the primary or a significant proportion of the applications overall functionality in the overall set of features of the software application offered."

Am I missing something?

Thank you,
Stephen
Last edited by stephen.starr on Thu Jan 12, 2017 4:40 pm, edited 1 time in total.

stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Re: Text properties in a popup note cannot be saved.

Post by stephen.starr » Thu Jan 12, 2017 4:34 pm

Now can someone please address my original question? Is this a bug or is there a way around this?

Thank you,
Stephen

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Text properties in a popup note cannot be saved.

Post by John - Tracker Supp » Thu Jan 12, 2017 5:18 pm

Thanks for the confirmation Stephen,

I have forwarded you question to the appropriate staff member who will I am sure be in touch very soon.

Thanks for your patience.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Text properties in a popup note cannot be saved.  SOLVED

Post by Vasyl-Tracker Dev Team » Thu Jan 12, 2017 9:42 pm

Hi, Stephen.
If I change the color, size, and/or other properties of the text in the note popup, and hit the "Make Current Properties Default" option, they are not saved. The next note I add has the correct note color, but not the saved text settings.
Looks like - there is a small misunderstanding. We support two different features:

1. "Make Current Properties Default" - stores all properties(border, fill, line thickness, etc) of the selected annotation and makes it the default style for new annotations of a corresponding type created in the future. Each type of annotation has its own default style.

2. "Make Current Text Format Default" - stores the format of the selected text and makes it the default for all new annotations of a corresponding kind. Each kind of annotation has its own default text format.

Some types of annotations are text-annotations(TextBox, Callout, Typewriter), some - just drawings(StickyNote, Line, Rectangle, Oval etc). The drawing-annotations don't have their own text, but you are able to show a special popup-window and enter some text into it. In that case technically the Editor adds to your drawing-annot the special popup-annot - that inherits color from a parent-annot and some other attributes. Also it keeps and shows the text. But it is the different, additional annot, that just keeps the relation to your original annot. Its correct for any kind of drawing-annot and its popup-annot.

So, when using the "Make Current Properties Default" for any kind of drawing-annot - its keeps properties of such an annot and makes it the default, but not the current text-format from the related popup-annot, because it is a different kind of annots.

However, you are able to store the text-format that is current in a popup-annot by clicking on text and using "Set as Default" from toolbar or from context-menu - and it will make the current text format default for all new popup-annots and doesn't matter for which kind of drawing-annot (as in Acrobat).

Also, when you use "Make Current Properties Default" for text-annotations such as TextBox, Callout, Typewriter - then it saves the current text format as the default too because the text is the main attribute for this kind of annotation.

HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

stephen.starr
User
Posts: 123
Joined: Wed Mar 25, 2015 10:59 pm

Re: Text properties in a popup note cannot be saved.

Post by stephen.starr » Fri Jan 13, 2017 6:06 pm

Vasyl,

Thank you very much, that makes sense. This is great information and definitely helps me with my problem.

Thanks again,
Stephen

User avatar
Sasha - Tracker Dev Team
User
Posts: 4325
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Text properties in a popup note cannot be saved.

Post by Sasha - Tracker Dev Team » Sun Jan 15, 2017 9:04 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply