Font Mapping Issue while exporting to HTML
Dear All,
When I extract a PDF To an HTML the font mapping for certain character wont happen perfectly, i.e some charaters which are in upper case are mapped as lower case when extracted to the HTML, kindly suggest the measures which i can take in order to fix this issue..
Note: For a better clarity regarding the issue I am affixing a snap shot for the Query:
1. HTML File after Exporting:
2. Actual PDF File which is needed to be Exported
Please respond!!!
Regard's
Amith Sai
Yes I exported the PDF using adobe acrobat, the version details are:
Adobe Acrobat : 9.3.3
HTML Version to which it was extracted to was 4.01
I Can Surely Give you the PDF which is causing this kind of a problem, if you can provide me your mail ID by sending a private message or u can suggest any other better alternative to send you the PDF
Regard's
Amith Sai
Similar Messages
-
Issue while exporting report in PDF using crystal report XI
Hello,
I am facing issue while exporting a report to PDF through crystal report XI. Reports are generating properly in the crystal report browser but when I am exporting the reports in PDF or trying to get print by clicking on print button, reports not generating properly.
Allignment in the exported PDF reports getting changed and reports margin is also changes. Due to this some part of report is chopped and printed on the next page.
I have deployed my application on IBM WebSphere 6.1 server and I am getting following error which might help to identify this issue.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The response has already been commited.---- Error code:0 Error code name:succeeded
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.report.web.component.o.a(Unknown Source)
at com.crystaldecisions.report.web.event.br.a(Unknown Source)
at com.crystaldecisions.report.web.event.w.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:80)
at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:438)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBytes(BufferedServletOutputStream.java:344)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flush(BufferedServletOutputStream.java:323)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBuffer(BufferedServletOutputStream.java:478)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:452)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:436)
at com.crystaldecisions.report.web.viewer.JSPViewerResponse.flushBuffer(Unknown Source)
... 33 more
Caused by: java.io.IOException: Async IO operation failed, reason: RC: 64 The specified network name is no longer available.
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:203)
... 3 more
Thanks in advance
Alok P.The stack trace is caused by whitespace in your CrystalReportViewer.jsp file. Look up SAP Note 1199025 for the resolution.
It's not related to the PDF formatting issue. There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF. But the latest version helps greatly.
Sincerely,
Ted Ueda -
Issue while exporting report in Excel Format
Hello,
I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
First approach we are using is:
// using basic API
import com.crystaldecisions.reports.sdk.ReportClientDocument;
// get client document from crystal report API and open the report by specifying the report name, with path
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open( reportPath, 0 );
// give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
// get data source of crystal report
Object reportSource = reportClientDoc.getReportSource();
// export the data - we have also tried with MSExcel format
ReportExportFormat exportFormat = ReportExportFormat.recordToMSExcel;
LOGGER.debug( "exportFormat[" + exportFormat + "]" );
ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
exportFormat );
Problem Faced: Specified Excel format is not supported.
Second Approach: We come to know that excel format is supported with new releases and with occa package.
Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
Waiting for urgent help. Thanks you..
Regards,
MohitHi,
Send me Environment Details .
Here is the code snippet for exporting report to excel format:
<%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%@ page import="com.crystaldecisions.sdk.framework.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%
String username ="Administrator";
String password ="";
String cmsname ="localhost:6400";
String Authen ="secEnterprise";
//connecting to Enterprise
IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
//get the report App Factory form the Crystal Enterprise
IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
//get the infostore service form the Crystal Enterprise
IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
//get the report by name from crystal Enterprise
IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
//open the report in the report doc object.
ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
// WORKING WITH THE PRINT OUTPUT CONTROLLER
//Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
// EXPORTING THE REPORT
//Create a byte[] (same size as the exported ByteArrayInputStream)
byte[] buf = new byte[2000 * 1024];
int nRead = 0;
//Set response headers to indicate pdf MIME type and inline file
response.reset();
response.setHeader("Content-disposition", "inline;filename=ramz");
response.setContentType("application/xls");
//Send the Byte Array to the Client
while ((nRead = byteIS.read(buf)) != -1)
response.getOutputStream().write(buf, 0, nRead);
//Flush the output stream
response.getOutputStream().flush();
//Close the output stream
response.getOutputStream().close();
%>
Let me know any information is needed,
Regards,
Rameez -
Issue while exporting report - OBIEE 11g - IIS 7.5
Hi,
We are currently on OBIEE 11.1.1.7.0 version of OBIEE and we have set up proxy through IIS 7.5 on Windows 2008 R2 server.
While exporting our reports, we need to ensure that both Export to excel options (2003 and 2007+) are working fine. However, for some reports, when we try to download the reports to Excel 2007+ format, we get a "Internet Explorer cannot display the webpage" error message. This issue does not appear if we change the URL to directly access Weblogic server (instead of routing through IIS). Wanted to know if anyone have faced similar issue and have found any solution/workaround for same.
Thanks
HyderHyder,
I have achieved this.We have deployed our OBIEE application on Weblogic server not on IIS.
Sasi Nagireddy: How to Export Analysis in Excel 2007 +
Thanks,
Sasi Nagireddy.. -
C#/SharePoint -View State related issue while exporting data to excel
We have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
We tried to solve this issue by creating a compressor class and overriding two methods:
LoadPageStateFromPersistenceMedium
SavePageStateToPersistenceMedium
This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
Please suggest how to resolve this issue or any workaround for thisWe have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
We tried to solve this issue by creating a compressor class and overriding two methods:
LoadPageStateFromPersistenceMedium
SavePageStateToPersistenceMedium
This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
Please suggest how to resolve this issue or any workaround for this -
Font Mapping issue with Arial Unicode MS font
Hi All,
I was able to do font mapping for Arial Unicode MS font (.ttf) in BIP version 10.1.3.4.
But after applying the patch 10256764 I am not able to see the Arial Unicode MS font in the Font Selection drop down box in BIP .
I have copied some other .ttf fonts to the .\ jre\lib\fonts folder and they are appearing in the BIP
Does BIP patch 10256764 not support Arial Unicode MS font ?
Please help me...
its resolved .Font name extention should be in lower case (.ttf)
Edited by: deepz on May 5, 2011 10:15 PMThere is no BOLD font TTF files for Arial Unicode MS. No resolution at this point of time. Closing the issue.
Edited by: vamsee m on Apr 27, 2011 9:29 AM
Closing this issue -
Issue while exporting an interactive PDF
While exporting an interactive PDF I am getting the below issue.
The Go to page button is not supported in PDF. The button appearance will be preserved, but its interactivity will dropped.
Please let me know the reason@Although the Go to Page action is not supported for PDF, you can simulate the same action by first creating New Hyperlink Destinations > Page(s). Then select the “Go to Destination” action, and select the Destination > Page #
-
Mapping issues while using MapwithDefault Node function for Idoc
Hi Experts,
We are facing issues while trying to generate nodes at reciver side even though it does not exist at sender side.
we are using the matmas05 and we want the nodes E1marcm and e1mardm to generated at target structure.
the structure is like this
Matmas05
idoc
E1maram
segment
E1marcm
segment
msgfn
.....other fields
E1mardm (can be many segments)
segment
lgort
..other fields
E1mpgdm
segment
...e1mpgdm fields
the mapping has been done like:
e1marcm -mapwithdefault-e1marcm
constant -segment
werks-mapwithdefault-werks
other fields(one to one mapping)
e1mardm-mapwith default-e1mardm
lgort-mapwithdefault(value 1000)-lgort
other fields -one to one mapping
now the problem we are facing is when e1mardm is not existing in source structure the values from the other node of e1mardm(which exists) are getting overwritten into it.
we want only the lgort to be 1000 and the segment should populate at target side.
like
e1mardm
segment
lgort value 1000
Could you please assist in solving this issue and give your valuable suggestions as how could we handle it.
Thanks and regards,
jyotiU will achieve this using UDF function. Map the below Like.
e1mardm-mapwith default(Value Constant)-e1mardm
lgort (A) ---
e1mardm-mapwith default(Value Exit)u2014(EqualsS) (B)- (UDF1)- lgort
Constant(Value Exit)---
Constant(Value 1000)(C)---
Other one to one mapping fields also you should use one more UDF.
Other one to one fields (A) ---
e1mardm-mapwith default(Value Exit)u2014(EqualsS) (B) - (UDF2)- Target
Constant(Value Exit)---
UDF1:
Argument A,B,C and select queue.
//write your code here
int j = 0;
for(int i=0;i<a.length;i++)
if (b[j].equals("true"))
result.addValue(c[0]);
i--;
result.addValue(ResultList.CC);
else
result.addValue(a<i>);
j++;
UDF2:
Argument A,B and select queue.
//write your code here
int j = 0;
for(int i=0;i<a.length;i++)
if (b[j].equals("true"))
i--;
result.addValue(ResultList.CC);
else
result.addValue(a<i>);
j++; -
Muse cc quits while exporting to html
hi. ı use the trial version of Muse cc. My problem is : Muse quits unexpectedly when exporting to html (starts doing it then quits)
Also quitting while trying to preview page/site in browser. (I tried in Safari and Chrome, same result)
This is the error I receive. -
Font Rendering issues in export to PDF-SSRS
Hi,
Its a very strange issue,I am facing from last two days.
I have created a report having text with Gill Sans MT font.I am able to see the text in the mentioned font properly on report server as well as on my development machine.
Issue occurs when I export the report to PDF, as when i open the report in acrobat reader to view the font of the rendered text,it shows the font as Gill#20Sans#20MT which causes the text rendering up in Arial(default font).
If I Export from Word document the font is set as GillSansMT i.e name without spaces and text is rendered in correct font.I have installed the required font on both the locations i.e. report server as well as Development environment.
Thanks & Regards,
ASHi Anand Sardesai,
Since the Gill Sans MT font is not been installed on the production server at first. Please make sure the font is installed correctly and that font embedding is granted font. If the referenced font is not installed on the report server, the resulting PDF
file might not contain the correct mappings and might not display correctly when viewed.
Reference:
http://technet.microsoft.com/en-us/library/ms159713(SQL.100).aspx
Alternatively, I recommend you reboot the server try to resolve the issue. There is a similar issue for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6a6cc993-e5bc-4919-9a27-d0b177402c6f/ssrs-r2-font-not-persisting-when-exporting-to-pdf
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Font mapping issue (Flash CS6)
Font mapping pop up window is not activating even missing fonts are there...
How do I fix this issue?No, I mean to find the preferences file and throw it in the trash. Then re-start Flash.
-
Issue while exporting report to excel
I have a report created using ssrs.
In that i have set the body background property to an image
And also set a header in the report
Now while exporting it to excel, I need to remove the body background image and header
Need Help
Thanks
AbhinavThe workaround is to use a parameter that control the hidden properties and image/value properties of the header contents and background image path respectively. We need to place the header contents to a textbox or a rectangle so that the "hidden"
properties can be set or reset. Similarly for the image path or value properties of body section can be set or reset using expression. I am using external image URL. Refer below step.
1. Add a parameter "Export". Set the Available values
as "Specify values" and add the below labels and values.
Label Value
Header/Image Header/Image
No Header/Image No Header/Image
For Default Values,
Select Specify values option and add value as "Header/Image". Click Ok to close the parameter properties.
2. As my header section contains a textbox and wanted to hide while i export, select the textbox properties and set the visibility/hidden expression as, =IIF(Parameters!Export.Value <> "Header/Image", True, False)
3. Similarly in the report body properties, select the image source option as "External" and set the expression as,
=IIF(Parameters!Export.Value <> "Header/Image", "" , "http://localhost/Testing/NEW_06.jpg")
4. Preview the report and select the export parameter option as "No Header/Image".
Regards, RSingh -
Font style issue with exporting report in Crystal Reports 2008
Hi,
I got stuck on the below issue for a while. Please can anyone help on this?
When I designed and executed a report in Crystal Reports 2008 on my local PC, the font style and size used in charts were exactly what I was expecting.
However, after I exported the report to our BusinessObjects CMC and displayed it in InfoView, the font style and size in charts looked quite different from what they were in CrystalReports.
Any ideas of how to fix this issue?
Thanks!
BAIHi Nanda Kishore,
This is because you do not have proper rights on Business View Manager. Whenever you create a dynamic parameter in crystal and try to save the report on BO, it creates a Business view automatically. Now in your case, it is unable to create a business view due to insufficient rights.
Go in Business View Manager u2013 Repository exploreru2014You will find Dynamic Cascading Prompts folderu2014Right click on that and go in rights and add your user information and give full rights.
Also make sure that your BO and CR designer on same version and patch level.
Thanks,
Sastry -
Retaining original font in CR2008 while exporting to PDF
Hi,
Do we have a fix/patch available for retaining the original font when exporting to PDF in 2008 yet? The solution i see is to update the registry files. Do we have any other solution like a fixed dll file or a patch already available for download at SAP website?
I cannot update the registry settings as it is not allowed where i work so need a patch/fixed dll file to get rid of this issue.
Your quick response is greatly appreciated.
ThanksHi,
Are you sure it is the 'Font' that is not being retained? Or is it the size?
The only workaround like you said is the registry key and unfortunately, there is no Fix Pack available to address this issue.
-Abhilash -
Issues while Exporting OBIEE Answers Report to Excel
Hi All,
In my report, I have a column named (Order number) which is a measure column. I am displaying this column in a pivot table view. In the measure section i am duplicating this column(Order number) and applying % for the column in the following way:
Order number column-> Show Data As-> percent Of-> Column
After doing this i am getting values like this 0.3, 99.5 etc etc... But when i export this report to Excel sheet. The result appears like this .0%, 1.0% etc like this. But I want 0.3, 99.5 that is the decimal points should be displayed accurately in the excel. How could I do it? Pls anybody shed light on this issue? Awaiting your reply...
Thanks in Advance
ThenmozhiHi,
You can try adding the below statement in the Custom CSS section of the column properties:
mso-number-format:"\@"
Refer snapshot here:
http://i53.tinypic.com/a09kqv.jpg
This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
Award points it is useful.
Thanks,
Satya
Maybe you are looking for
-
Can't Left Click in Flash Player Settings Panel - HELP PLEASE
Hi and thanks for taking the time to read this. Believe me it is a fraction of the time I have wasted trying to resolve this issue. Basic problem is: I am trying to stream to Ustream but since downloading AFP11 for my Windows PC when I open the Flash
-
My iPod nano 3rd generation headphone jack isn't working anymore, when i put my headphones in , the left earphone doesn't work. Does anyone know if this can be fixed ?
-
Changing in standard Business Package
Hi I need to change the web dynpro component supplied in stanadard business package. These web dynpro component are called from portal Iviews. Should i make the Z copy of the webdynpro or starightway change to standard business package. How will it e
-
Sound Forge™ Pro Mac is avaialble. Where is the very important Vegas 12 for the Mac???
-
Where can I find an iPad iOS 6 manual?
Where can I find an iPad iOS 6 manual? The iPhone iOS 6 manual doesn't address iPad issues. The manual in Safari is for iOS 5 and when I search the Apple website the first search result is for iOS 4.2.