Export Summarize Comments via code
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Export Summarize Comments via code
Hi,
I need a solution to export all comments in a PDF file, to a txt file, or best solution is in memory, via code.
And if we only can export it to a file, we want to give the filelocation in code, so the enduser does not see anything.
When I open a PDF, the export must run.
We need this, because I build a summarize screen in our application, with "hyperlinks" When a user clicks a link, the PDF will be opened on the page were the comment is.
Hopefully you can help me.
I need a solution to export all comments in a PDF file, to a txt file, or best solution is in memory, via code.
And if we only can export it to a file, we want to give the filelocation in code, so the enduser does not see anything.
When I open a PDF, the export must run.
We need this, because I build a summarize screen in our application, with "hyperlinks" When a user clicks a link, the PDF will be opened on the page were the comment is.
Hopefully you can help me.
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Export Summarize Comments via code
No, there are no way for now to execute Summarize without UI.
This feature will be added (together with a lot of another commands) into build 41.
This feature will be added (together with a lot of another commands) into build 41.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export Summarize Comments via code
Can you tell me how I can do this in current release?
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Export Summarize Comments via code
As I told, there are no way to do this into current release.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export Summarize Comments via code
Is this already possible in the current release?
We want this feature as soon as possible. Or can you give me an indication of time?
We want this feature as soon as possible. Or can you give me an indication of time?
-
- Site Admin
- Posts: 2449
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Export Summarize Comments via code
This feature will be added in the next build (41.4). Please wait some days.
We will to add new section into AX help, like as:
Reference\Named Items\Named Objects\Operations\SummarizeAnnots
We will to add new section into AX help, like as:
Reference\Named Items\Named Objects\Operations\SummarizeAnnots
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export Summarize Comments via code
Can you please send me some example code snippets?
I want to summerize a PDF, without user-interaction. So I want to privide the filelocatie, and export it as rtf (of doc if possible)
I want to summerize a PDF, without user-interaction. So I want to privide the filelocatie, and export it as rtf (of doc if possible)
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Export Summarize Comments via code
Here is small sample for C#.
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export Summarize Comments via code
Thanks for the example.
But when I use:
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowTypeName", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowSubject", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowAuthor", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowDate", 0);
I still see this in the summary.
And how can I translate the word: "Page" into dutch, and set the Title of the document?
But when I use:
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowTypeName", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowSubject", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowAuthor", 0);
mReferencedViewer.SetProperty("Operations.SummarizeAnnots.Output.ShowDate", 0);
I still see this in the summary.
And how can I translate the word: "Page" into dutch, and set the Title of the document?
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Export Summarize Comments via code
This problem will be fixed in technical build.I still see this in the summary.
You cannot do this with Viewer ActiveX.. But you can export comments in txt file (or other simple file format) and then edit this file in the way you like.And how can I translate the word: "Page" into dutch, and set the Title of the document?
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export Summarize Comments via code
Is it possible for you, to summarize the Comments to XML, that's better then a textfile.
-
- Site Admin
- Posts: 2449
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Export Summarize Comments via code
You can use Java Script e.g :
RunJavaScript("this.exportAsXFDF(1, 0, null, 'c:\exp.xfdf', 1)",..)
RunJavaScript("this.exportAsXFDF(1, 0, null, 'c:\exp.xfdf', 1)",..)
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.