Pdf Color Conversion (to RGB)
I discover this way to convert the pdf pages color to RGB using the Acrobat API in a custom plugin and Acrobat 10 Pro: PDColorConvertAction colorConvertActionStruct =...
View ArticleRe: Pdf Color Conversion (to RGB)
What will happen when the API tries to return a value to *changed?
View ArticleRe: Pdf Color Conversion (to RGB)
I get the exception and then that variable has the 0 value
View ArticleRe: Pdf Color Conversion (to RGB)
Your code simplifies to thisASBool *changed ;*changed = 1;You should hope this crashes, because the alternative is worse!
View ArticleRe: Pdf Color Conversion (to RGB)
Actually, I'm surprised the compiler doesn't give a warning telling you what is wrong at compile time...
View ArticleRe: Pdf Color Conversion (to RGB)
I get no error at compile time but I've tried again and I don't get the error anymore. It's not clear why, given that I tried several combinations, but the error was on some commented codes.In the...
View ArticleRe: Pdf Color Conversion (to RGB)
No, the problem is definitely in your code, and TSN was trying to tell you exactly where. You are dealing with a very basic C problem involving pointers. Let me rephrase that: Your crash is not caused...
View ArticleRe: Pdf Color Conversion (to RGB)
I confirm that the was in the setup of the parameters.Is it required that all the properties in the struct have to be set? Last question: after having converted a page can be use the method...
View ArticleRe: Pdf Color Conversion (to RGB)
It's required that pointers are initialised. If it is working you've either changed that or you have an unpredicable overwrite. I didn't get as far as looking at the parameters. When it comes to...
View ArticleRe: Pdf Color Conversion (to RGB)
A diversion: why do some structures (in the Acrobat API and elsewhere) have lengths? It is to support binary compatibility. Let's imagine a structure in version 3 of a product which looks like this...
View ArticleRe: Pdf Color Conversion (to RGB)
Clear, I understand And about the PDDocColorConvertPage method, is it required to do something else after that or can I just save it with the method AVDocSaveOptimized?
View ArticleRe: Editable Dropdown Box Issue
To delete the currently selected item in a drop-down field you can use this command:this.getField("FieldName").deleteItemAt(this.getField("FieldName").currentValueIndices); All of these changes will be...
View ArticleGet rectangle from pdf C#
Hi I displaying my a pdf on my form using the Adobe PDF Reader Once displayed the user can draw a rectangle using the Selection tool within Adobe I would like to know if there is a way i can get the...
View ArticleRe: Re: Pdf Color Conversion (to RGB)
I found the problem.The conversion with the PDDocColorConvertPageworks only in this way:...AVDoc avDoc = AVDocOpenFromFile(pathName, NULL, NULL);... ACCB1 void ACCB2 DocDidOpen(AVDoc doc, ASInt32...
View ArticleRe: Re: Pdf Color Conversion (to RGB)
Did you fix the pointer reference we mentioned? If not, this is just what I'd expect.
View ArticleRe: Re: Pdf Color Conversion (to RGB)
You're right, I forgot to allocate the *changed pointer...Strange that it worked in some ways but not in others.Anyway, I also fixed the problem after the PDDocColorConvertPage. I tried to save the doc...
View ArticleAn intricate question rather than an idea: PDF structure LIVE EDITOR
I am wondering whether Dom's outline here(1) is really impossible: For PoDoFoBrowser, I think it would be fine if you would have the preview sideby side with the pages content stream. And if you type...
View ArticleRe: An intricate question rather than an idea: PDF structure LIVE EDITOR
You can certainly do that, but where should that blue line be drawn? What doe the coordinates mean? You need to know what the current transformation matrix is to make sense out of the coordinates. With...
View ArticleRe: An intricate question rather than an idea: PDF structure LIVE EDITOR
Karl,I know you certainly have more experience with the Acrobat SDK than I do; also, all those developers of PDF structure viewers/editors I mentioned earlier must have considered the possibility to...
View Article