Quantcast
Channel: Adobe Community : All Content - Acrobat SDK
Viewing all 2571 articles
Browse latest View live

Correct syntax of Tags / Rolls

$
0
0

Dear All,

 

After tagging the PDF i perform the full check operation, after that process I perfomr the Accessibility check where

"Correct syntax  of Tags / Rolls" is not achieved , please tell me what should be done inorder to achieve this factor.

 

Plzzzzzzzzzz reply!~!!!!!!!

 

Regard's

 

Amith Sai


How to read text from pdf file using acrobat sdk 11 in asp.net

$
0
0

i want to read text from pdf flie using acrobat sdk in asp.net ,

 

i am using c# for development  , please tell how to do this ,

tell me step by step , from configuration of sdk to out put of program

 

plese reply

 

 

Regards

 

Sachin

How to extract named destination with page numbers from the pdf document

$
0
0

Hello,

 

  

            I want to extract named destination along with page numbers.

            I have implemented the code to get named destination as follows:

               PDDoc pdDoc = AVDocGetPDDoc(AVAppGetActiveDoc());
               CosDoc cosDoc = PDDocGetCosDoc(pdDoc);
               CosObj cosObj = CosDocGetRoot (cosDoc);

               CosObj cosDictNames = CosDictGet( cosObj, ASAtomFromString( "Names" ) );
                for( int iIndex = 0; iIndex < iDestCount;  )
                {

                           //Here am getting named destination value by using  CosStringValue

                           //but I want to get the page number

                                //My code as follows to get the page number
 
                      CosObj arrayEntry = CosArrayGet(cosDictNames, 1);
                      CosObj cosDValue = CosDictGet(arrayEntry, ASAtomFromString("D"));

                      CosObj cosPageValue = CosArrayGet( cosDValue, 0 );

                          //if(CosObjGetType(cosPageValue) == CosDict )  The value is dictionary

                      CosObj pagevalue = CosDictGet(cosPageValue, ASAtomFromString("Page"));
 

           }


cosobject is dictionary, how to get the page number from this.

Please help me to solve this issue.

Thanks,

Shilp

Does Adobe provide a free library/SDK that can create a new PDF document?

$
0
0

Hi,

 

Does Adobe provide any free library/SDK that can be used to create a new PDF document in Visual C++? Does the ActiveX control shipped with Acrobat Reader contain such a feature?

 

Thanks

 

Alan

To convert PDF to image

$
0
0

I want PDF to convert it toImage using acrobat. is it possible to convert using c#. if possible can you please suggest me how to proceed . thankyou.

Converting html to pdf with some editable fields

$
0
0

We trying using pdf.generator to create pdf from html.We facing some of the problems in that

1. pdf got disrupted

2. We need some of the text to be editable in newly created pdf. How can we achieve this?

Copy contents from one page to another

$
0
0

Hi all,

 

I want to copy the contents of pdpage1 of PDDOC1 at particular page to another pdpage2 of pddoc2.

Also provide how to save a particular page from PDDoc to another pdf.

 

Please help on the above.

Getting PDF filename with unicode chars

$
0
0

Hello,

I'm trying to write a plugin that gets the file path of the current active document. The code looks like this:

 

AVDoc avDoc = AVAppGetActiveDoc();
PDDoc pdDoc = AVDocGetPDDoc(avDoc);
ASFile file = PDDocGetFile (pdDoc);
ASPathName filePath = ASFileAcquirePathName (file);

 

This works fine for most documents, but for documents with unicode characters in the name each unicode character is replaced with '.' in filePath. For example, if the document is "测试中文关键词搜索!@#$%^&().pdf", then filePath becomes ".........!@#$%^&().pdf". Am I missing something required to get unicode filenames?

 

Thanks.


How to add simple text to document programmly?

$
0
0

Can't figure out. How to add simple text to document programmly? Couldn't find  information about it in Interapplication Communication API Reference.

Return text from a PDF stored in a SQL Server database (Adobe iFilter)

$
0
0

We are storing PDF files inside a SQL Server 2008R2 DB. We have installed the Adobe iFilter to create a full-text catalog in order to search these files. Everything was working great, until.... we tried to get the text out of that PDF for display on a website. I am at a loss. We want to be able to return the text of a PDF file as varchar(max) using just straight-up T-SQL. I assume we would need to create a function and *somehow* use the iFilter to pull out the text, but I cannot find any documentation on how to do such a thing.  Has anyone done this?  Is there documentation online anywhere?  Thanks

How to Examine document by SDK?

$
0
0

Hi All,

 

i need to examine document and remove hidden text from pdf by Acrobat C++ SDK .

Can you one help me go forward.

What is Prefight cmd name used for AVCommandNew?

$
0
0

Any one help me to provide the prefight cmd name

Store third party data with annotation or document .

$
0
0

How i can store third party data(data may be string value ) with pdf annotation or document using c++ plugin API's ?

Thanks ..

I'd like to select print paper size with using AxAcroPDFLib method depend on user

$
0
0

I'd like to select print paper size with using AxAcroPDFLib method depend on user
request. Is it possible? in AxAcroPDFLib?

Is there any method to select print paper size in the C# programming.
Or if you know another method, please introduce how to use.
Thank you for your cooperation always.

Page Size setup

$
0
0

I am setting the page size by using PDPageSetMediaBox() method to set the page size like A4 , A3 , 11*17 inch . however when i save this pdf and reopen it and try to increase the page size it is not reflecting in the output.

eg if my saved pdf is of size letter size (8.5 * 11 inch) and if i try to increase the size to tabloid ( 11 * 17 inch) it's not getting increased in the output . but if try to reduce the size then it's get reduced.

what i need to do to increase the page size ?


CameraEvent Javascript Code when a view is selected from the list of views on the 3D toolbar

$
0
0

I am developing plug-in for Adobe Acrobat to create 3D Annotation Object.

I have referred JavaScript™ for Acrobat® 3D Annotations API Reference

Adobe® Acrobat® SDK.


I want to write javascript code which can be used to select a view from the list of views in 3D Toolbar.


I have following views:

1)Left

2)Top

3)Front

4)Right

5)Bottom

6)Back


So can anyone help me?

Waiting for positive response!

How to launch 'Open from Online Account' dialog?

$
0
0

I'd like to replace Open dialog with my own dialog. Built in Open dialog supports opening from Online Account.

Is it possible to add such functionality to my Open dialog?

Is there any API to launch 'Open from Online Account' dialog?

Alternative for AcroFormRegisterObserver function ?

$
0
0

Hello ,

 

I have a form with some form fileds like textbox ,list box and combo box .

 

I got the way using c++ plugin to read the values from field . But i want function call back for list box or combo box selection change so that i can process.

I found one API AcroFormRegisterObserver(http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_Refere nces/Acrobat_API_Reference/Acrobat_Forms_Layer/AcroForm.html#AcroFormR egisterObserver359())  which register the observer to events like selection change(http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_Refere nces/Acrobat_API_Reference/Acrobat_Forms_Layer/AcroForm.html#AF_Notifi cationSelector_t) but it API is deprecated .

 

void AFPDFieldValueChanged(PDDoc pdd, PDField fldP) is also deprecated ..

 

 

What is the other aleternative for this ? or what is other way that i can implement this ?

How to do IPC between two Acrobat.exe

$
0
0

Hi,

 

We are intercepting the windows API's to provide our functionality. I have a query for Adobe version X and above that we are getting two Acrobat.exe for a

single PDF file then how can we do the Inter Process Communication between them.

 

Thanks

-Dharmendra Singh

How to use DirConnection.search with C#

$
0
0

Hi folks,

 

I have to use C# for autmating a process with Acrobat.

As a part of that I need to search in a Directory-Object using the search-Method of the

DirConnection-Class.

 

My problem:

I cannot manage to set up the parameters for that method call and pass it to the

jsObject-Object. I have tried several ways to build a parameter-object for that method and

always get an error:

 

{"TYPEMISMATCH. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))"}

 

Notes:

Iam currently using several methods and property of the JavaScript-API with jsObject and

also passing parameters is not a problem with the other methods.

 

Here is a example of my code calling a JavaScript-API-Function out of C#:

        Type T = SecDir.GetType();

 

        // set the searchfields
        string[] oFields = { "fullName" };
        object[] param = { oFields };
        T.InvokeMember(
            "setOutputFields",
            BindingFlags.InvokeMethod |
            BindingFlags.Public |
            BindingFlags.Instance,
            null, SecDir, param); 

 

Does anyone managed to use that method out of C#?

 

YS

Markus

Viewing all 2571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>