Generated pdf file from shared component missing checkbox
I have created a report queries under shared component. The output format is pdf. I have created a rtf template. In the template, I have to insert a checkbox. At first it didn't work, then I have added Checkbox shows fine when I preview the report using Microsoft Word (Add-Ins). I have added following two lines in the xdo.cfg file (under C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config):
<truetype path="C:\WINDOWS\fonts\wingding.ttf" /> and
<property name="rtf-checkbox-glyph">Wingdings;0254;0168</property>
After that, when I view output from word, it shows checkbox correctly. However, when I click Test Report button from Apex, everything looks fine except missing checkbox. It shows ? symbol instead of checkbox symbol. So something must been done in apex server side. Does anyone know how to config in the apex server side to make checkbox show up in the pdf file? Thanks advance.
You need to setup BI Publisher. Follow the instuctions at http://chandramatta.blogspot.com/2009/10/bi-publisher-how-to-print-check-box-on.html
Similar Messages
-
Error while Generating PDF file from Datagridview .
Hi every one,
I'm trying to generate pdf file from datagridview,while executing my code getting nullvalue exception..
Here is my code:
private void btnexportPDF_Click(object sender, EventArgs e)
//Creating iTextSharp Table from the DataTable data
PdfPTable pdfTable = new PdfPTable(dataGridView1.ColumnCount);
pdfTable.DefaultCell.Padding = 3;
pdfTable.WidthPercentage = 30;
pdfTable.HorizontalAlignment = Element.ALIGN_LEFT;
pdfTable.DefaultCell.BorderWidth = 1;
//Adding Header row
foreach (DataGridViewColumn column in dataGridView1.Columns)
PdfPCell cell = new PdfPCell(new Phrase(column.HeaderText));
cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
pdfTable.AddCell(cell);
//Adding DataRow
foreach (DataGridViewRow row in dataGridView1.Rows)
foreach (DataGridViewCell cell in row.Cells)
pdfTable.AddCell(cell.Value.ToString());//nullvalue exception
//Exporting to PDF
string folderPath = "C:\\PDFs\\";
if (!Directory.Exists(folderPath))
Directory.CreateDirectory(folderPath);
using (FileStream stream = new FileStream(folderPath + "DataGridViewExport.pdf", FileMode.Create))
Document pdfDoc = new Document(PageSize.A2, 10f, 10f, 10f, 0f);
PdfWriter.GetInstance(pdfDoc, stream);
pdfDoc.Open();
pdfDoc.Add(pdfTable);
pdfDoc.Close();
stream.Close();
Thanks & Regards RAJENDRAN MHi Rajendran,
The second question is about the usage of iTextSharp library, which is not a MS product, please post in their forum for help:
http://support.itextpdf.com/forum
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Generated pdf file from oracle reports show bad characters
Hello all,
Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
NLS parameters are set like this
server:
NLS_CHARACTERSET EE8MSWIN1250
NLS_TERRITORY AMERICA
NLS_LANGUAGE AMERICAN
client:
NLS_CHARACTERSET EE8MSWIN1250
NLS_TERRITORY SLOVAK
NLS_LANGUAGE SLOVAKIA
When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
MartinHi Sergiusz,
Thank you for your reply. I look at what you wrote and try to make some test...
1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
3) I add these lines to end of my uifont.ali
[ PDF:Embed ]
Arial = "Arial.pfm Arial.pfb"
ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
Any other advice? Thank you so much to everyone!
Martin -
Problem when loading pdf files from Shared Content
When I load pdf files from Shared Content, I got the following problem: "The selected document could not be retrieved, please try uploading the document again."
Anyone knows this?
Thank you very much in advanced.I don't migrated the program, but installed it from the original installer,
i. e. I first installed Indesign from backup, and then uninstalled it and
reinstall clean from Adobe.
What a plug-in or utility converts page from InDesign to PDF?
2014-08-10 22:51 GMT+04:00 Peter Spier <[email protected]>:
problem with exporting PDF files from InDesign CS5 created by Peter
Spier <https://forums.adobe.com/people/P+Spier> in InDesign - View the
full discussion <https://forums.adobe.com/message/6627440#6627440> -
Generate pdf file from 9i reports and save it in C:\oracle_reports\
i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
c:\oracle_reports\
right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
i want all the work done automatically.
regards
------------ source code--------------
PROCEDURE PRINT_PROC IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
pl_id ParamList;
report_path varchar2(100);
aud_sno varchar2(1000);
aud_type varchar2(500);
BEGIN
pl_id := Get_Parameter_List('report_data');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('report_data');
User parameters : Customize these to fit your report
report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
-- Initialize your report parameters here
Add_Parameter(pl_id, 'p_cmp_code' , TEXT_PARAMETER, :global.company_code);
Add_Parameter(pl_id, 'p_rfq_sno' , TEXT_PARAMETER, :document_sno);
Add_Parameter(pl_id, 'P_PATH' , TEXT_PARAMETER, REPORT_PATH);
Standard parameters: Don't change
Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
-- end standard parameters
repid := find_report_object('REPORT_OBJ');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
-- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
END;If you use rwclient you could that easily, from a Form, it requires additional steps.
Look at this thread Re: save report -
Generate PDF file from a report using greek characters
Dear all,
I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
Any ideas, suggestions and workarounds are welcome.
Thanx a lot!hi Kiriakos,
which version are you using ?
please test this with reports 9i since PDF support
has been enhanced there.
to test i would suggest to run the report from rwclient
as well and specify desformat=pdf and to a generate to
file within builder to see if the same behavior occurs.
if this problem reproduces there as well i suggest
to contact oracle support to log the problem.
regards,
christian -
How to generate PDF file from HTML file using Acrobat API's
Hi,
I want to generate a PDF file from an HTML file on server side(C# .Net).
Their is a COM interop called "AcrobatWeb2PDF" availaible but could not find any document regarding how to use it.
I cant use "Adobe live cycle PDF Generator" as we just have license for Adobe Acrobat 8 Professional.
Please help...
Thanks and Regards,
Anand Mahadik.> It is hard to believe that Adobe doesn't provide a toolkit for generating PDF files, so many web based applications have vector based content that needs to be converted to PDF!!!!
They do, it's just not free (A company in business to make money? I'm sure IBM would never think this way... ;)). As mentioned you have Adobe LiveCycle PDF Generator, which you can customize and extend with Java. You also have the Adobe PDF Library SDK, which is written for use with C/C++ although if you license it from Datalogics (the only company in NA Adobe allows to license the PDF Library) you will also get .NET and Java interfaces (part of the DLE - DataLogics Extensions).
> There must be a way to generate PDF dynamically on a server or from Javascript!
JavaScript? Not really, no. As far as I'm aware JavaScript has no file system access capabilities without some form of intermediary (like sending the data to a webservice that writes it out to file). How would you create a PDF file with JavaScript?
The PDF Standard is also in ISOs hands now (ISO 32000-1:2008), it is no longer owned by Adobe - you can download a copy of the specification from them and write your own library based on that as well. -
Can you generate PDF file from LabVIEW?
Can you generate a PDF file from LabVIEW?
Hi there,
I just read this post in passing.
Heres a fairly detailed forum post on the matter - seems to be a few work arounds, but basically no you can't with just the normal labview.
http://forums.ni.com/ni/board/message?board.id=170&message.id=259103&query.id=65866#M259103
Thanks
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! -
Generate .PDF file from BlackBerry application
Hai,
Can anyone explain or give me some idea on generating pdf file in blackberry application programatically...
Thanks in advance.
Regards
Ratheesh R Kuruphi Kiriakos,
which version are you using ?
please test this with reports 9i since PDF support
has been enhanced there.
to test i would suggest to run the report from rwclient
as well and specify desformat=pdf and to a generate to
file within builder to see if the same behavior occurs.
if this problem reproduces there as well i suggest
to contact oracle support to log the problem.
regards,
christian -
Generating PDF file from PL/SQL
Hello,
I'm new using XML DB. I have XML data and a stylesheet stored into the database but i don't know how to generate PDF files.
I' ve already tried to load Apache FOP into the DB and that's work very well. Is there any other solution using only Oracle's PL/SQL environment ???
Thanks for your help.
Lionel from Switzerland.can you provide the steps that you used to load fop into the database?
which db version, and which fop version? When I tried to follow the cmsxdb load into a 10g instance I had numerous resolution errors.
please help -
Generating PDF-files from HTML-page saved as Unicode?
I have followed this Quick Start on how to generate a PDF-file from HTML using web services in .NET: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000093.html
It works just fine when the html-page is saved as ANSI, but when it's saved as UNICODE I get problem. The code runs without errors but the PFD looks really strange. Any suggestions on how to solve this? I really need to use UNICODE as my application needs to handle different languages (including for example Chinese).I found out that UTF-8 worked as well so the problem is solved. :-)
-
We have done toleration testing on firefox version 5 thru 6 and haven't got an issue with our website generating pdf files for our users. One of our users upgraded to firefox version 7.0.1 and they tried to generate a pdf report, now a screen pops up with Corrupted Content Error The page you are trying to view cannot be shown because an error in the data transmission was detected. I recreated this issue on my pc yesterday by installing firefox 7.0.1. Any hints as to what I need to look at would help. Cannot provide the url because it is a secure website for law enforcement. Thanks.
You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
Hi Mark,
See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
<br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small> -
Need to generate PDF file from OAF with "n" number of fields
Hi All,
I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
Example Scenario I
Emp No | Emp Name | Dept No | Job |
11 | Abc | 10 | MGR |
Example Scenario II
Emp No | Emp Name |
11 | Abc |
Please let me know if any one know how to go about it.
Thanks in advance,
Arvin
Edited by: user636850 on Jan 26, 2011 6:11 AMHi All,
I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
Example Scenario I
Emp No | Emp Name | Dept No | Job |
11 | Abc | 10 | MGR |
Example Scenario II
Emp No | Emp Name |
11 | Abc |
Please let me know if any one know how to go about it.
Thanks in advance,
Arvin
Edited by: user636850 on Jan 26, 2011 6:11 AM -
Generating pdf file from report
I have one report showing electricity bill of number of consumers.
I want to generate pdf file for each consumer while running above report .
How to do?
Wheather SRW.RUN_REPORT package will do it?Dear Arun,
You are working in which environment C/S or Web?
Regards,
Senthil .A. Perumal. -
Generate .PDF file from Oracle Form and print .pdf
Hello, I am new to oracle form. I need direction on how to create .pdf file on a button click.
The requirement is when user click a button on a form, I need to write some data to the pdf file and open the .pdf file for print.
I am using Oracle Form builder 10.1.2.0.2
Thanks a lot! Please help!Dear all,am new to oracle report and oracle forms and i know the
basics how to generate the report and to create the form, Now my doubt is, like generating report
from oracle report how to generate the report from oracle from,should i add any command button? and where
to add the coding and what coding ? when i click that command button the report should be generated like oracle
report,what should i do?Please help me to learn.
my table name is 'student' and it has the following columns,
sid,sname,grade,result.
Am using oracle from 10.1.2.0.2 version and
oracle report version is 10.1.2.0.2.
Please give step by step procss.
Thank you.
Maybe you are looking for
-
See Burger Error in BICMODULE-module:Adapter call failed. Reason: null
Hello All, Scenario IDOC to File using Seeburger BIC problems in in my receiver adapter when converting from XML to EDI. Error is: "Message processing failed. Cause: Error in BICMODULE-module:Adapter call failed. Reason: null" The Seeburger modules u
-
Here Drive not working in Nigeria
here drive on my Lumia isn't working in Nigeria either. The key reason I got a Nokia. Moderator's notes: The post was edited. A more appropriate subject is provided. Solved! Go to Solution.
-
How can I run texts in flash media encoder 3.2 by the image
I have a question. how can I run texts in flash media encoder 3.2 by the image I do not get it done. patrick
-
Where can I get the java programming language source code ? Ernest Keshi [email protected]
-
Firefox 5 request to restart in 32-bit mode when using hotmail ... again .... :(