Search found 33 matches

by beandog
Mon Mar 27 2006
Forum: C/C++/C# Community
Topic: Duplicating bookmark?
Replies: 4
Views: 11840

I can of course get this information from a document that I create myself, but our viewer is intended mainly for users to operate on documents that are supplied from another source.

Thanks anyway.



Ben Dilts
by beandog
Wed Mar 22 2006
Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
Topic: 2.0g: Deleting page breaks Save function
Replies: 3
Views: 8876

We are developing a PDF viewer/editor for paperless office use. Typical usage scenarios for our application include: Viewing/printing/faxing/emailing PDF's. Rearranging/deleting pages in PDF's before sending them out. Assembling new PDF's with pages taken arbitrarily from other PDF's. Adding light m...
by beandog
Tue Mar 21 2006
Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
Topic: 2.0g: Deleting page breaks Save function
Replies: 3
Views: 8876

2.0g: Deleting page breaks Save function

Well, to go along with my earlier post about renaming bookmarks breaking the Save functionality of the PDF Creator, deleting a page from a document does the same thing. The following code causes the PDF Viewer ActiveX control to hang: PDF.Open("D:\\My Documents\\Visual Studio Projects\\PDF\\PDF...
by beandog
Tue Mar 21 2006
Forum: C/C++/C# Community
Topic: Duplicating bookmark?
Replies: 4
Views: 11840

I am not trying to create a bookmark to point at some known object! I have a bookmark, and I want to know what object it points at. Failing that, I want to know what page it is on. For instance, if I open the developer manual for the PDF Creator in Adobe Acrobat and click on the second bookmark (&qu...
by beandog
Mon Mar 20 2006
Forum: C/C++/C# Community
Topic: Creating highlight programmatically
Replies: 1
Views: 12047

Creating highlight programmatically

As per the documentation, I tried doing the following: PDF.put_ReportState(CPDFCreactiveX::acReportStateDesign); PDF.CreateObject(CPDFCreactiveX::acObjectTypeHighlight, "HighlighterTest1"); PDF.put_ObjectAttribute("HighlighterTest1", "Left", COleVariant(200L)); PDF.put_...
by beandog
Thu Mar 16 2006
Forum: C/C++/C# Community
Topic: Duplicating bookmark?
Replies: 4
Views: 11840

Duplicating bookmark?

Is there any way to duplicate a bookmark? I tried with the following code: CString csTitle = bMove.get_Title(); CString csObject = bMove.get_Object(); LPDISPATCH lpNew = NULL; int iPlace = bNewParent.get_Count(); bNewParent.InsertChild(iPlace, csTitle, csObject, &lpNew); CacBookmark bNew = lpNew...
by beandog
Tue Mar 07 2006
Forum: C/C++/C# Community
Topic: Get required size of text object from font
Replies: 1
Views: 7147

Get required size of text object from font

Is there a way to get the minimum required height (in page units, twips I think) for a Text object, given a font?
by beandog
Tue Mar 07 2006
Forum: C/C++/C# Community
Topic: Detect when user stops using a tool?
Replies: 3
Views: 9376

I mean, I need to detect any time that the active tool changes from one tool to another. For instance, I need to know about it if a user was using the highlighter tool but has changed to the arrow tool.
by beandog
Tue Mar 07 2006
Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
Topic: Programatically check box
Replies: 1
Views: 6402

Value property

Set the Value property on the object to 1 or 0:

PDF.put_ObjectAttribute("CheckBoxObject1", "Value", COleVariant(CString("1")));



Ben Dilts
by beandog
Tue Mar 07 2006
Forum: C/C++/C# Community
Topic: Transparent bitmaps
Replies: 1
Views: 7438

If you only need one color transparent:

If you only need to have one color transparent (have all the black on your image be transparent instead), you can set the RGBMask property of the image. I create such an image in code like this: //Create the object CString csName = GetNextTickMarkName(); pView->PDF.CreateObject(CPDFCreactiveX::acObj...
by beandog
Mon Mar 06 2006
Forum: Wish List
Topic: Undo events
Replies: 0
Views: 10844

Undo events

I'd like new events for when undo levels are created or destroyed. Our application performs several operations which should be able to be undone (such as rearranging pages in a document), but which the PDFCreactiveX control doesn't support Undo for. If I received an event notification from the contr...
by beandog
Mon Mar 06 2006
Forum: C/C++/C# Community
Topic: Detect when user stops using a tool?
Replies: 3
Views: 9376

Detect when user stops using a tool?

Is there a way to detect when a user stops using a specific tool? For instance, our application automatically enters annotation mode when the user clicks on our "highlighter" toolbar button. We would like to return to Run mode when they finish using the tool. They can do this either throug...
by beandog
Tue Feb 28 2006
Forum: Wish List
Topic: Rearrange bookmarks
Replies: 0
Views: 12499

Rearrange bookmarks

It would be very useful to have a way to rearrange the bookmarks in a document. An option to change their order as well as assign them to new parents programmatically.
by beandog
Tue Feb 28 2006
Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
Topic: 2.0g: Renaming bookmark breaks Save function.
Replies: 1
Views: 5574

2.0g: Renaming bookmark breaks Save function.

In the PDFCreactiveDoc PDF viewer, renaming bookmarks breaks the Save and Save As functionality. I use PDFCreactiveDoc to open the included user manual, rename a bookmark, and try to save. The application hangs with 100% processor usage.

I'm using version 2.0g.



Ben Dilts
by beandog
Wed Feb 22 2006
Forum: Wish List
Topic: PDF Creator - 2 Enhancements
Replies: 1
Views: 12868

ScaleToWindow

The ScaleToWindow property on the PDF control gives you the option of automatically zooming to page width, height, or both. As for saving the zoom settings, I wound up doing that myself in the registry (saving both ZoomFactor and ScaleToWindow).