how to create pdf file from d2k report 6i [message #337516] |
Thu, 31 July 2008 02:24 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
reenapatel
Messages: 11 Registered: July 2008
|
Junior Member |
|
|
Hello
we have requirement to create or convert report data into pdf file ,excel file and
we have made it for excel and word using ole2 package but not able to create pdf file
i.e we dont know how to create obj of ole2 package for pdf file
like for excel we have
Application := OLE2.create_obj('Excel.Application');
OLE2.set_property(Application, 'Visible', 1);
Workbooks := OLE2.get_obj_property(Application, 'Workbooks');
Workbook := OLE2.invoke_obj(WorkBooks, 'Add');
Worksheets := OLE2.get_obj_property(Workbook, 'Worksheets');
Worksheet := OLE2.get_obj_property(Application, 'ActiveSheet');
for word
application := OLE2.CREATE_OBJ('Word.Basic');
OLE2.INVOKE(application, 'Appshow');
but dont know for pdf
even we dont have any idea is thr any better way apart from this to create pdf file
actually we have form on which we have radiobuttons related to excel,pdf,direct view and html .and if user select radiobutton of excel and click on report button then he get excel file of related report ,if he pressed only view then we have to show only report.
|
|
|
|