由Excel转化成的PDF文件,类似下面的表格形式(空隙的部分实际连在一起),现在想完成的功能是:当鼠标右机相应的单元格部分(如:1)时,在对应的的单元格(1)里添加一个文本框,要求文本框大小要与这个单元格大小一样,用什么语言,方法实现都可以,我用的是Adobe Acrobat 6.0 Professional!提供思路也将感激不尽!分不够可以加!
-----------------------------------
| | 1 | |
-----------------------------------
| | | |
------------------------------------
| | | |
------------------------------------
-----------------------------------
| | 1 | |
-----------------------------------
| | | |
------------------------------------
| | | |
------------------------------------
是不是高手都去吃饭,还没有回来啊?
这需要对Acrobat进行编程啊,非常复杂,不有这个必要吗?
msn:[email protected]
** FDFOpen:
*/
errorCode = FDFOpen ("-", howMany, &FdfInput);
/*
** FDFGetValue:
*/
errorCode = FDFGetValue (FdfInput, "Customer.Name",
cNameBuffer, sizeof(cNameBuffer), &howMany);
errorCode = FDFGetValue (FdfInput, "Customer.Address",
cAddrBuffer, sizeof(cNameBuffer), &howMany);
errorCode = FDFGetValue (FdfInput, "My Combo Box",
cComboBuffer, sizeof(cComboBuffer), &howMany);
/*
** Presumably after we parsed this data, we would populate a
database
** or generate another FDF file with some sort of response ...
*/
// Your code goes here
/*
** This next line of code is important if you are returning FDF
** You must emit the correct MIME type to "stdout" or you'll get a
** CGI error simular to this:
**
** "The specified CGI application misbehaved by not
returning
** a complete set of HTTP headers."
**
** At this point you would generate FDF for the return and
** then do this:
**
**
** printf ("Content-type: application/vnd.fdf\n\n");
** fflush (stdout);
**
**
** For this example we will only send back acknowledgement that
the
** code worked
*/
printf ("Content-type: text/plain\n\n");
printf ("Parsing of the submitted FDF completed\n");
FDF Toolkit Overview and Reference 17
FDF and Web Server Connectivity
Creating the Client Side PDF File
2
/*
** FDFClose:
**
** Use FDFClose to close any open FDFDocs and free resources
*/
errorCode = FDFClose(FdfInput);
}