How to embed the Word Document and PDF file into Crystal report?
How to embed the Word Document and PDF file into Crystal report?
I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
Is there any solution to show word doc / PDF file in CR?
Symptom :
When embedding a pdf document into a Crystal Report, only the one page shows.
Reproducing the Issue
Environment:
Crystal Reports OLE object
Cause
An OLE object only displays the first page.
Resolution
Embed multiple objects, one for each page
Or
Use a hyperlink to the object instead
Hope this helps!
Regards,
Vinay
Similar Messages
-
How to upload a word document or pdf file to xk02 transaction
hi all,
i want to upload a word document or pdf file to xk02 trasaction
please suggest me how todo this
Thanks
RAMHi Pradeep,
For creating PDF documents in Webdynpro Java you can use "iText.jar" .
to know more about creating PDF using iText refer these links.
http://www.brothersoft.com/downloads/itext-jar.html
http://www.lowagie.com/iText/download.html
Regards
Sridhar -
Programmatically adding a Word Document or PDF to a crystal report
I am using Crystal XI for windows. I have a VB.Net windows application that I am trying to insert a Word Document and/or PDF into. I want to programmatically be able to add any file(s) to a crystal report. Is there any sample code or guidance that can show me how to programmically add a file to a report?
In the user interface, the user can click on unlimited number of PDFs, Word Documents... to insert into a Crystal Report. Is this possible? If so, please show steps and some sample code how to do this.
Kind Regards,
JeffIn this example, the ReportAppFactory gets initialized with the instance from the session object... If I am doing this in windows (not a web application), how would this change it if this is a windows application with no session object?
I am connecting against an ADO.Net (XML) file on the same computer - no connection information required... I just want to open the report file, SetDataSource to a dataset ...then do the other stuff in the example. I think after I get past connecting to the data and opening the report, the rest of working with sections and adding ole objects I can get from the examples. All of the sample code that I found are web based and don't show how to connect if you are windows based - not over a web page.
I am not using a CMS or anything web / network based... I just want to connect to a local XML file that was generated from Visual Studio .Net 2005. The example below is one of the Crystal Samples... they are all web based samples. ...I am looking for a windows based sample to see how to connect and open a report file.
Example:
If Not (Session("boEnterpriseSession") Is Nothing) Then
boEnterpriseSession = CType(Session("boEnterpriseSession"), CrystalDecisions.Enterprise.EnterpriseSession)
Else
'Log on to the Enterprise CMS
boSessionMgr = New CrystalDecisions.Enterprise.SessionMgr
boEnterpriseSession = boSessionMgr.Logon(Request.QueryString.Item("username"), Request.QueryString.Item("password"), Request.QueryString.Item("cms"), Request.QueryString.Item("authtype"))
Session.Add("boEnterpriseSession", boEnterpriseSession)
End If
'get report object from session or create a new report object
If Not (Session("boReportClientDocument") Is Nothing) Then
boReportClientDocument = CType(Session("boReportClientDocument"), CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument)
Else
boEnterpriseService = boEnterpriseSession.GetService("", "InfoStore")
boInfoStore = New CrystalDecisions.Enterprise.InfoStore(boEnterpriseService)
boReportName = "SimpleRCAPIReport.rpt"
'Retrieve the report object from the InfoStore, only need the SI_ID for RAS
boQuery = "Select SI_ID From CI_INFOOBJECTS Where SI_NAME = '" + boReportName + _
"' AND SI_Instance=0"
boInfoObjects = boInfoStore.Query(boQuery)
boInfoObject = boInfoObjects(1)
boEnterpriseService = Nothing
'Retrieve the RASReportFactory
boEnterpriseService = boEnterpriseSession.GetService("RASReportFactory")
boReportAppFactory = CType(boEnterpriseService.Interface, CrystalDecisions.ReportAppServer.ClientDoc.ReportAppFactory)
'Open the report from Enterprise
boReportClientDocument = boReportAppFactory.OpenDocument(boInfoObject.ID, 0)
'First determine where to add - in this case the details Area
boArea = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea
'Create the new section object
boSection = New CrystalDecisions.ReportAppServer.ReportDefModel.Section
'Set the properties for the section
boSection.Kind = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindDetail
boSection.Name = "Detail2"
boSection.Height = 1000
boSection.Width = 11520
'Now add the section
boReportClientDocument.ReportDefController.ReportSectionController.Add(boSection, boArea, -1)
'Add the reportClientDocument to session
Session.Add("boReportClientDocument", boReportClientDocument)
End If
Thanks,
Jeff
Edited by: Jeff Dressing on Aug 20, 2008 10:48 AM -
How to impor the pdf file into crystal report
I try to import the whole pdf into the crystal report. But when I import it, I can only import the first page of the PDF. Can anyone give me some suggestions? Thank you.
PDFs do not easily import into Crystal Reports.
Fuskie
Who is not sure why you would want to insert a PDF file into a Crystal Report... -
To retrieve the PRT document (a PDF file) and insert the doc in PM order
Hello guys,
I have a challenging task in from printing as follows,
By using TC: IW3D we get print preview of PM Order Set (PM Print Program: YIPRJT01), currently the PRT document number prints in the PM Order. Now we have to insert the PRT documents (a PDF file) into the PM Order set rather than printing the PRT document number ( By using TC: IW33 by going OPERTIONAL TAB we will get the PRT document(a PDF file))
The requirement is to retrieve the PRT document (a PDF file) and insert the document in PM order set with out navigating separately by using the TC: IW33.
If you run the script in the print preview we can able to see PM the order set along with the PRT document (a PDF file).
Thanks & Regards
VishnuI'm also trying to print PRT document with shop papers and still not able to do so. I selected "P" for print on the control key and it should print but still didn't print.
If I understand it right, I think you are trying to do the same.
Have you resolved this issue ?
Thank you,
Sam -
How do I retain Microsoft Word hyperlinks (internal to the Word document) in pdf export? I lose them in process. Using Word 2011 (14.4.3) and Mavericks. Have tried importing to Pages 5.2 and exporting, but that does not work either.
If you don't get an answer here, search/ask in the forums devoted entirely to MS stuff by its maker. These forums are for the Apple app Pages.
http://answers.microsoft.com/en-us/mac/forum/macword -
Merging word document with pdf file how do you renumber pages?
After merging a word document with pdf file, how do you renumber pages? The pdf has more pages than the word document. I first converted the word document to a pdf, using Acrobat Standard 9.
Hi Petek ,
After you merge the files or combine files ,click on the Page Thumbnails panel on the left hand side.
In the Page Thumbnail panel ,right click and you will get a drop down list .Select the option "Number Pages".
You will see a dialog box with several options .You can renumber the pages from there as per your requirement.
Regards
Sukrit Dhingra -
HT1284 How can I backup word documents and not have them crowd my screen? Thanks.
Hi. How can I backup word documents and not have them crowd my screen? I know, you guessed it. I'm a novice, but not ashamed!
Please explain what you mean when you say backup Word documents crowds your screen.
I don't see any connection between backup and your screen.
Allan -
Hello everyone,
I'm currently having a problem saving a Pages document as another format, such as a Word document or PDF file. I've never had this problem before with Pages. Please help me! I need to have this completed a.s.a.p.
Thanks,
AmyTo save as a PDF, you do that from Print
To save as Wrod format, you export
Allan -
Convert word document to PDF file in SAP
Hello experts,
I've been searching around to get some code examples to upload a word document and convert it into a PDF file and then store it in unix. I hope one of you can help me, because many explanations and threads exist, but I did not get wiser reading them...
I don't want to use 3rd party tools to do the conversion, but do it directly in SAP with abap coding and if necessary spool processing.
System details:
SAP ECC 6.0 (unicode system)
SAP_ABA 700 0014 SAPKA70014 Cross-Application Component
SAP_BASIS 700 0014 SAPKB70014 SAP Basis Component
Thanks in advance!
Regards,
DannyHi,
You can get the spool no from transaction SP01 and later use this spool no to convert the word document to PDF
using the function module CONVERT_OTFSPOOLJOB_2_PDF and give the import parameter as ur spool id.
once the doc gets converted to PDF u can use CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
to get the path where the file is to be saved and later give the path to function module GUI_DOWNLOAD to download the file.
or else u can manually execute the following reports:
RSTXPDFT4 (give the spool no. as input)
RSPO0068 (give the word doc with its full path as input)
Hope that helps u
Regards,
Radhika -
pdf file is too big (7MB). Need a pdf file with max size 4MB. How to minimize the size of a pdf file?
The other alternative is the Save As Other>Reduce File Size. The PDF Optimizer gives you more control. You might also use the audit feature in the PDF Optimizer to see where the size problem is coming from. You might find that in the WORD file you can select and image and then go to the FORMAT (pictures) menu and select compress for all of the bitmaps in the file. That will typically use 150 dpi by default that is adequate for most needs.
-
How do I place a multiple page .pdf file into a new InDesign CC document?
How do I place a multiple page .pdf file into a new InDesign CC document???
You will likely get better program help in a program forum InDesign
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
How do I load microsoft office and pdf files onto an Ipad
How do I load microsoft office and pdf files onto an Ipad?
You can email them, you can use DropBox, SugarSync or another cloud service or you can use iOS file sharing.
But in all cases you need an app on the iPad that will open and save those types of files. iBooks, Adobe Readers, Good Reader and Save 2 PDF will all save PDF files.
Documents to Go, Quick Office Pro and the Apple iWorks apps will open and save the MS office files. You can Google - "iPad apps that are compatible with Microsoft Office files" and you will find other alternatives - or search the app store for more.
You can read this as well for some instruction on getting those files onto an iPad.
http://online.wsj.com/article/SB10001424052748703899704576204564046912604.html -
How to check the resolution of a pdf file using Acrobat 9 pro?
How to check the resolution of a pdf file using Acrobat 9 pro?
PDF files don't have one resolution, but may have none or many different resolutions, one per image. You can check the maximum/minimum resoluion with preflight in Acrobat Pro, but not in Adobe Reader.
-
How to Extract the Highlight Text in PDF File
Hi Scripters,
i want know, how to extract the hightlight text in pdf files for text only format for (*.txt) file extension save.
regards
babyHi,
Okay i'll try do best.
thanks for your reply.
Regards
Baby
Maybe you are looking for
-
Project taking 5 minutes to load
Hi, I just publisehd a course with 190 slides. It has some short videos embedded and simple animations. Althought the project loads fast on my desktop, it is taking 5 minutes to load over the web. My users are not gonna want to wait this long. Any s
-
Remote Access Management Console - configuration issue with Network Location Server
2012 Std R2 The remote Access management console operation status shows all green except for network location server . Error: There is no response from the network location server URL. DirectAccess connectivity might not work as expected, and Direct
-
The new tab button is now surrounded by a large gray box after downloading the new version
Rather than seeing just the small rounded light gray button around the "+" sign for a new tab, there is now a larger, dark grey rectangle (larger than the new button itself) over the "+" sign. When I hover, the rounded part of the button appears, but
-
Filesystem mounts read only during reboot [solved]
Hi folks, after shredding my last Arch installation I'm trying to set everything up again using the new released image. generating the /etc/fstab file by genfstab -p /mnt >> /mnt/etc/fstab creates the following code: # /etc/fstab: static file system
-
Function Module for complex selection of articles ?
Hi there, I'm working on a transaction to display material information (MM), like in MM43 but with data of other tables. I am designing the whole thing using my own screens. Unlike MM43, the user must be able to select more than one article in the fi