Create PDF and RTF by HTML
Hi all
I have some html files.
and I'd like to produre RTF and PDF by those HTML files.
I've seen iText tools.But actually it needs well formed HTML files.
do you have any alternative idea?I mean I could stream the html and create some different data structure and then parsing it for creating ...xsl-fo but it's hard doing by myself.
I need a quick solution.
Regards
Giovanni
Hi all
I have some html files.
and I'd like to produre RTF and PDF by those HTML files.
I've seen iText tools.But actually it needs well formed HTML files.
do you have any alternative idea?I mean I could stream the html and create some different data structure and then parsing it for creating ...xsl-fo but it's hard doing by myself.
I need a quick solution.
Regards
Giovanni
Similar Messages
-
PDF and RTF output differences
Hi All
I'm having some issues when previewing labels in PDF and RTF output. I have created a RTF template that outputs labels - 5 address lines per label, 2 X 10 labels per page. Each label is contained in a table and each address line is contained in a table row.
- When I preview the RTF output long address lines are not being truncated even though I uncheck the wrap option on the table cell properties.
- When I preview the RTF output I can get 2x10 labels on the page (if no wrapping occurs) but when I preview in PDF I can only get 2x9 labels on the page. I have checked the font size of both the PDF and RTF outputs and they are the same size. It looks like the header and footer is taking up more space on the PDF version compared to the RTF version when I visually inspect the output but I cannot be sure.
Does anyone have any ideas how to resolve these issues?
regards
BradAlways its better to use different templates for individual output types as the template designed with perfection for pdf output type dosen't comply with rtf or any other type and vice versa.
Cheers!
Vishnu T Ramakrishnan -
Differences in .pdf and .rtf
I'm trying to create a report that the output needs to be in a .pdf or in a .rtf, the user decides. I'm having with the .rtf because the output looks perfect in a .pdf but doesn't look the same in the .rtf output.
Is this normally the way BI Pub works when using 1 template for both .pdf and .rtf output?
Thanks!!
Kris Henning
www.piocon.comAlways its better to use different templates for individual output types as the template designed with perfection for pdf output type dosen't comply with rtf or any other type and vice versa.
Cheers!
Vishnu T Ramakrishnan -
Error message an error occurred while signing in " when I worked with Create PDF and at the signed
Error message "an error occurred while signing in " when I worked with Create PDF and at the signed in status. Please help so that I can continu my work.
Hi Stacy,
Thank you for your attention.
I have been working with Create PFD under normal procedures including
sign-in and several documents had been finished. However, when continued
creating another document the computer took a long time to pprocess and
finally a mesage appeared: "An error occurred while signing in" and stopped
there. I clicked the OK button and start creating again and the same
message appeared once more. I tried to log off and log in again in no
avail. So I went to the help site and called for help.
Later, I decided to reboot the computer and tried once more. This time it
worked and I continued creating. Thanks.
laozhao39 -
Create PDF and run action does not actually run the action after producing the pdf from word
When I select "Create PDF and Run Action" in word it does not actually run the action in Acrobat it just sets the tool, why?
Hi Amerispec,
Thank you for posting on the forums, Please explain the workflow steps along with the version of the Adobe Acrobat and OS you are working on.
thanks,
Vikrantt Singh -
Company Logo does not appear in Excel and HTML, but appears in PDF and RTF
Hi,
I have a RTF template with my Company Logo Embedded. When I run the report from Standard Request Submission, and I give the output type as Excel or HTML, I dont see the Logo on my report.
When I give the output type as PDF or RTF, then I see the logo on my report.
Is there anything special I need to do, to see the Logo in Excel or HTML ? Am i missing anything.
I am using Oracle BI Publisher Template Builder for Word 10.1.3.2.0
I would really appreciate if you can pass your feedback.
Thanks
KiranDid I post my question in the wrong Forum ?
-
How to create pdf and html usin oracle policy automation with steps.
Hi,
I tried to create pdf report.But they have some problem for while creating xslt.
Pls provide more steps or simple example creating xslt and which xml use for that also.Below is a working (OPA 10.1) example, which I found earlier in this forum. You can call it from a document control on the summary screen. The xml is provided by the server containing all attributes with a public name.
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
<xsl:template match="/">
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page">
<fo:region-body margin="1in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
<fo:flow flow-name="xsl-region-body">
<fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
<xsl:apply-templates mode="dump" select="/session"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="*" mode="dump" priority="100">
<fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
Node:
<xsl:value-of select="name()"/>
<xsl:if test="count(@*) > 0">
<fo:block margin-left="1cm">
Attributes:
<xsl:for-each select="@*">
<fo:block><xsl:value-of select="name()"/>=<xsl:value-of select="."/></fo:block>
</xsl:for-each>
</fo:block>
</xsl:if>
<xsl:if test="string-length(normalize-space(text())) > 0">
<fo:block>Text Value: "<xsl:value-of select="text()"/>"</fo:block>
</xsl:if>
<xsl:apply-templates mode="dump" select="*"/>
</fo:block>
</xsl:template>
</xsl:stylesheet> -
BIP report output in PDF and RTF generating some blank columns or � symbols
Hi Experts,
I am new to BIP. I have developed some BIP reports in 10.1.3.4.1 version which are working fine in Dev and UAT environment.
But it's generating some blank columns and some columns with proper data and some columns with"cellphone" kind of symbol in PDF and " �"
symbols in RTF in Prod environment.
In all the environments the version of BIP is same.
So any help in resolving this issue is appreciated.
Thanks in advance..
Regards,
Suresh.AAll of the complex report logic is handled in your Oracle Report (rdf) file.
If your Oracle report is working OK, then this report should be generating XML.
After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
For more information, see the following thread:
Enhancment to avoid 2 step check printing
HTH,
Mark K -
Convert pdf and output to html
I need help!
If I have a pdf file and I want to upload to iFS, should I convert it to html or test format and save to database with iFS feature? Or it's better to save as a pdf file and output as html with iFS feature.
Also, if I a some images in the pdf file, what should I do?
Thank you so much in advance.
Hong
nullTry to use filterDocumnet() and getFilteredDocument() in oracle.ifs.beans.Document. It helps to generate the PDF into HTML format.
null -
Problem with Create PDF and linked data
Using Acrobat X standard.
I have a Word 2010 doc with links to Visio and Excel data.
When using the CreatePDF option from Word, I consistently get a prompt asking whether I want to update the linked data before creating pdf. I would like to either (1) turn this prompt off or (2) -- less preferable -- have the linked data always update without prompting.
Is thre a setting that would accomplish one of these two solutions?
Thanks,
Craig
PS. All settings in Word have been set such that data IS NOT updated when printing on a regular printer.You can print to Adobe PDF.
-
Lotus Notes - Create .pdf and file size limits
Is there a way to increase the 100MB file size limit in Lotus Notes create .pdf option?
Good day Lisa,
Are you using Adobe Acrobat to create your PDF files or are you looking to use our CreatePDF service? If you're trying to use the CreatePDF service, I'm sorry, but we can't change the 100MB file size limit.
Kind regards,
David -
Creating pdf and attaching to email
Hello,
I am trying to write a script to help manual work and am stuck at below point:
When click save in SAP I get pdf document generated (nhremote). What I would like to do is to somehow automatically save it on my drive and attach it in the new email that is generated after each save.
Script end:
'session.findById("wnd[1]/usr/btnSPOP-VAROPTION1").press - SAVING the changes and pdf is generated at this point. takes some time to popup.
'Set MyApp = CreateObject("Outlook.Application")
'Set MyItem = MyApp.CreateItem(0) 'olMailItem
'With MyItem
'.To = "[email protected]"
'.Subject = "Subject"
'.ReadReceiptRequested = False
'.HTMLBody = RDD
'End With
'MyItem.Display
is there any way I can put action to save and attach saved file to the email? Also please keep in mind that the script is looped and it does this for many documents. Since NHREMOTE to generate pdf usually takes sometime and is a popup window I'm afraid it can be very complicated and mess up easily.Hello Gediminas,
try this:
'-Begin-----------------------------------------------------------------
'-Directives----------------------------------------------------------
Option Explicit
'-Variables-----------------------------------------------------------
Dim application, SapGuiAuto, connection, session, RepName
Dim WScr, MyApp, MyItem, FileName
'-Main----------------------------------------------------------------
If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(1)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject application, "on"
End If
Set WScr = CreateObject("WScript.Shell")
If IsObject(WScr) Then
RepName = "PROGDELE"
FileName = "C:\Schnell\Dummy\" & RepName & ".pdf"
session.findById("wnd[0]/tbar[0]/okcd").text = "/nSE38"
session.findById("wnd[0]/tbar[0]/btn[0]").press
session.findById("wnd[0]/usr/ctxtRS38M-PROGRAMM").text = RepName
session.findById("wnd[0]/usr/btnSHOP").press
WScript.Sleep 500
WScr.AppActivate "ABAP Editor: Report " & RepName & " anzeigen"
WScript.Sleep 2000
session.findById("wnd[0]/usr/cntlEDITOR/shellcont/shell").SetFocus()
WScr.SendKeys "+{F5}" 'Customize Shift+F5 to File.ExportPDF
WScript.Sleep 250
wscr.SendKeys FileName
WScript.Sleep 250
wscr.SendKeys "{ENTER}"
WScript.Sleep 1000
Set MyApp = CreateObject("Outlook.Application")
If IsObject(MyApp) Then
Set MyItem = MyApp.CreateItem(0)
With MyItem
.To = "[email protected]"
.Subject = "Subject"
.ReadReceiptRequested = False
.Body = "Here comes the file"
.Attachments.Add FileName
End With
MyItem.Display
'MyItem.Send
Set MyItem = Nothing
Set MyApp = Nothing
End If
Set WScr = Nothing
End If
'-End-------------------------------------------------------------------
This script starts the TAC SE38 and loads the Report PROGDELE. It exports the report as PDF and sends the PDF file via e-mail to hugo.bambi.
All you have to do, to try this script, is to customize your SE38 view, that the shortcut Shift+F5 ist set to File.ExportPDF.
You see, it is possible to save a PDF from SAP and to send it as e-mail attachment . Also you see it is possible to handle SAP dialog windows. And it should be not a great problem to do this steps in loop for more than one document.
Let us know your result.
Cheers
Stefan -
Web Intelligence: Save Report as PDF and with embedded HTML code
Hi all.
Sorry but I'm not able to find any post about this matter, please feel free to provide links if you know existing topics about this problem.
We created a beautiful report with HTML5 code embedded into a blank cell and we are now trying to export it in a printable format (e.g.: PDF or HTML).
As you know (as per manual information) it is not possible to export a report with embedded HTML code and keeping it in the output (cell with embedded HTML code is rendered blank).
My question is: is there a known workaround or an alternative solution to export the report and keep its content?
Print screen is not a valid option :-P
Thanks for the support or any suggestions
StecasProduct limitation; vote for change on ideaplace, etc. I don't believe there is an *easy* workaround, but see:
https://scn.sap.com/thread/3149287
HTH
NMG -
Suppression of header leads to difference in behaviour in PDF and RTF documents
Post Author: mani
CA Forum: General
I have a report with a header which i suppress based on some conditions.
When the header is suppressed , the rtf documents generated have the rest of the contents moving up to occupy the empty space created due to suppression of header.
But if we generate pdf documents the header space is retained (as empty) and the rest of the content remain in their same positions irrespective of header is suppressed or not.
I want the behaviour to be uniform in both kinds of documents , has any one faced this or have a solution in mind?
Thank you for looking into this issue.
Cheers,
ManiPost Author: V361
CA Forum: General
Instead of supressing the header, you could just change the font to match the background, base this formula on the same conditions that used to supress the header. This should leave the header the same size, but you will not "see" the text. -
Need to create PDF and Spreadsheet file from RDF file when user passes the parameters
Hi Everyone,
I am beginner as report developer ,i came across one issue when the requirement came from the client regarding generating EXCEL FILE and PDF FILE from same RDF file .
I was able to generate the PDF file but i when i tried to create excel file it does not include the margin in it, also the cell border are not seen( file comes with data but with no CELL borders), I have also attached screenshot for reference .
View image: problem
or
http://i43.tinypic.com/2mq017k.jpg
Software Used :
Oracle reports Developer : 11g 1.2.3.0
Thanks ,
HarshilDear Olga12,
Thanks a lot for your quick reply.
When i suggested the solution to my client for creating two separate templates attached to same data definition , they declined and argued that we cant create 2 separate templates for all reports( more than 200 reports).
Is there any way to create the PDF/EXCEL from same RDF other than creating two separate templates ?
Thanks ,
Harshil
Maybe you are looking for
-
Perform a clean install from recovery disks
Hi all, I have the model (L505-S5995). I created the recovery disks (3 dvds in total 2 for system and 1 for software). The question is: If I use these disks it will reinstall the Operating system (Windows 7 Home Premium) along with toshiba bundled so
-
Regional Settings on Lumia 710
Dear friends, I am based out of India, Problem - I bought a Lumia 710 in London, I want to change the regional setting to India but there is no option to select India, it shows many countries but not my country. I wanted to buy something through the
-
I have potentially 400 GB of data to store. There are two options I can think of: 1) use multiple small datafiles; create tablespace TEST datafile '/oradata/test.dbf' size 2048M extent management local 2) use single bigfile tablespace. PRO for 1) is
-
Installing ipod model m8976LL on vista
i have a (3rd gen?) iPod (Model M8976LL) and cannot successfully install the software (iPod installation cd) onto windows vista. it may be a compatibility issue? is there any downloadable software or updated drivers that will allow me to use my older
-
hi i have a zen microphoto and i am having problems. it started when my mp3 player froze when i pressed pause and so i removed the battery from the back to restart it. when i turned it back on it went to recovery mode now am having trouble what to do