Html display order : PDF document in AIR application
Hello.
I read
"The display order of a PDF file operates differently than other display objects in an AIR application. Although PDF content clips correctly according to HTML display order, it will always sit on top of content in the AIR application's display order."
I am concerned with the "PDF content clips correctly according to HTML display order" part. I would like to know what it exactly means. That is I want to be sure that I could put, for example, and image over the PDF doc, or any other HTML elements without them being graphically overridden by the PDF view. Thanks in advance.
My reading of the quoted bits is: Inside the PDF, layer ordering rules should work correctly. But the PDF itself will float above any other content in AIR.
Similar Messages
-
Is it possible to display a native pdf document in AIR?
I'm not that familiar with AIR but i was wondering if it's possible to display a native pdf document in AIR. If so are any add-on's required or does AIR have that capability built in. Essentially I would be trying to create a pdf viewer in that allows users to markup documents and save them to the server for others to view. I'm just in the discovery phase of this project, so any guidance would be great.
Thanks!You might want to go through http://livedocs.adobe.com/flex/3/langref/flash/html/HTMLLoader.html
Create a file url for the pdf you would like to load & open it up in HTMLLoader component. -
Display word/pdf document in the HTML region or report
Hi,
How to display blob content stored in a table in HTML region or report region.
I already have a process to display the image content.
But my question here is how to display word/pdf document within the html region so that the user can read the document without downloading it.
Any suggestions/solutions would be of great help.
Thanks in advance...
Thanks,
Ramesh P.I was dead wrong.
The display of images from BLOB is a special case because APEX provides a Display Image item type.
Moreover, HTP/HTF packages also do not provide for handling of BLOB content. So AJAX cannot be used.
Which implies that the only way to get binary content, other than images, is with the use of a WPG_DOCLOAD.DOWNLOAD_FILE call.
This in turn implies that it may not be feasible to "inject" the BLOB into an exist HTML DOM in the Browser.
Regards, -
How to display a PDF document in popup window
Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpfulUse should the ShowProperty servlet in a link or javascript, e.g.:
<a href="/mywebapp/ShowProperty/path/to/pdf/node
target="someOtherWindow">pdf</a>
pdf
Or, with dyamic node retrieveal (from search or contentSelector,
assuming node is the pdf Node):
<a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
name='cm_path' conversionType='url'/>
target="someOtherWindow">pdf</a>
<a href="javascript:window.open(
'/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
name="cm_path" conversionType="url"/>',
'SomeOtherWindow',
'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
pdf</a>
Greg
Sanjay Datta wrote:
Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpful -
PDF document in Java application
Hi All,
Is it possible to show a PDF document in Java application, Using JEditorPane or.....?
Regards,
ByjuWhat makes you think so? There's a screenshot on that page presenting a Metal GUI, so it's compatible with Swing. Also, there are lots of other solutions ...
-
Haw disable the saved icon of pdf document inside flex application??
Hello,
My gool is to disable the save icon of pdf document when i open the pdf document inside flex application.
Haw you any ideas?
Thanks youThis isn't something that can be managed from the Flex end of things. You have to configure the document DRM.
-
Display a PDF Document from a standard transacction
Hi.
I need to display a PDF document located in a server outside SAP. The idea is to implement a menu exit and add a new button to a standard transaction. When the user press the new button a PDF document must be displayed.
I want to know if this solution is possible and if you know any function in SAP to display a PDF document.
Thanks.
Diana.hi,
chk out this link..here you can find various ways in displaying PDF..
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20display%20pdf&cat=sdn_all
thanks
jaideep
*reward points if useful.. -
Select RTF Data and display in PDF Document
Hi all,
I have a simple table:
CONTENT_ID - NUMBER
CONTENT - VARCHAR2(4000)
On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to enter and format their text as they require.
I need to be able to select this data and display it in a PDF Document (via BI Publisher).
I therefore have a simple query
select content from content_table where content_id = 1;and a simple template that processes the resulting xml:
<?xml version="1.0" encoding="UTF-8"?>
<ROWSET>
<ROW>
<CONTENT>& lt;h2& gt;
This is a heading& lt;/h2& gt;
& lt;p& gt;
This is the text& lt;/p& gt;
</CONTENT>
</ROW>
</ROWSET>(There is not really a space between the & and 'lt' etc but I had to add this to get it to display correctly here).
Where I run this past my template I get a PDF with:
<h2>
This is a heading</h2>
<p>
This is the text</p>I get the same if I generate HTML.
but what I want to see is the text formatted as the user has entered in the RTF editor.
Can this be done?
Many thanks,
MartinI think your mixing 2 technologies.
At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
So my advice: use jasperreports (also it is free for commercial usage)
Success
Br,
Nico -
Incorrect font display in pdf document(web view)
Adobe helpers,
I am encountering a very peculiar problem with incorrect display of fonts in pdf documents when viewed in a web browser. Briefly, the problem typically affects the first page of a pdf document, the font being displayed as an unidentified mix of large and very small, skinny type. Other pages may or may not be affected, and if one back-clicks to the previous page the text often displays the correct font, so the problem is in some (but not all) cases non-persistent. The problem however is resolved completely if I uncheck the 'display pdf in browser' option under edit>preferences in adobe reader. Fonts I use include Arial, Cambria, Franklin Gothic Book, and Garamond; as straight-up pdfs, the documents look fine. FYI, I have Adobe reader X 10.0.1 (Win 7) and 9.0 (Win XP sp3) installed on two different machines. Firefox 3.6 and IE9 are equally at fault. FWIW, all the pdf documents begin life as MS Word or Publisher 2010 documents, which are converted to pdf within these applications before publishing to web. Since I can't control how people choose to view web pdfs, I'm concerned that display of the prone documents is impaired when viewed in a web browser.
Not sure if this is a reader, browser, or distiller problem but this seems a logical place to start looking for answers. Any thoughts?
Thanks!I've also had problems printing with Reader X.
When printing an attachment from an email in Outlook, if I don't open the attachment first, sometimes it doesn't print correctly as everything shows with the following number or letter. Example 12345 will print as "23456" and invoice will show as "jowpjdf". Even if I open the attachment, sometimes it will print the first page ok, but the next pages will "mppl mjlf uijt".
Never had this problem with previous versions. -
Problem in getting complete display in pdf document from spool
Hi,
I have a report1 which calls another report2 in the background. The report2 which is run in the background produces some output and thus generated a spool.
Report1 then gets the spool number generated from report2 and converts it to a pdf document .
The problem is that the complete width of data in spool is not coming on pdf.
Forex , if the spool contains following records:
1. AAAAAAAABBBBBBBBBBCCCCCCCCCCCCCDDDDDDDDDDDDD
2. SSSSSSSSEEEEEEEEEETTTTTTTTTTTTTTTTTUUUUUUUUUUUUU
when this is converted to pdf, the pdf doc will display data as:
1. AAAAAAAABBBBBBBB
2. SSSSSSSSEEEEEEEE
Complete width is not coming in the pdf document.
Any ideas on how to resolve this issue? Can this be handled by ABAP or BASIS team needs to be include to solve this..All ideas are welcome...
Harmeet Singh.Hi,
Im also facing the same problem of truncation.
can someone please reply back if there's a solution ?
Thanks
Sourav -
Is it possible to display a pdf document in flash?
I'm not that familiar with flex/flash but i was wondering if it's possible to display a native pdf document in flash. If so are any add-on's required or does flex/flash have that capability built in. Essentially I would be trying to create a pdf viewer in flex that allows users to markup documents and save them to the server for others to view. I'm just in the discovery phase of this project, so any guidance would be great.
Thanks!Thank you very much for the reply, that's an interesting project.
-
No text displayed in PDF Document
Hi @all,
I want to download a PDF-Form to my local machine.
Approach:
- CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
- CALL FUNCTION 'FP_JOB_OPEN'
- CALL FUNCTION h_funcname
- CALL FUNCTION 'FP_JOB_CLOSE'
- CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
- CALL METHOD cl_gui_frontend_services=>gui_download
I just inserted a static text in the PDF Document (Font: ARIAL).
Adobe Document Designer shows this text on the preview tab but
the downloaded PDF Document is empty.
Only the graphical elements like circles are displayed but no text.
System-Details:
SAP ERP Central Component 5.0
Release 640 Non-Unicode
Adobe Designer Version 6.0
Do you have any ideas?
I just found the note 715599 but this refers to UNICODE Systems.
Thanks.Hi,
thanks for you answer.
But the document only describes the conversion of SAP Script into PDF file.
The OTF output of the SAP Script is converted to PDF by using the function module CONVERT_OTF.
Do I have any other possibilities to access and download the PDF Document without using SAP Script?
I already created the PDF Interface and PDF Form by using the "Form Builder" (Transaction SFP).
My program shall access and download this Form.
This works almost but all of the text information is obviously lost. All of the graphical information is displayed in the downloaded document.
Thank you for you help.
Christian Nitschka -
PDF comments in Air application
Hi,
I have a need to offer PDF reading and commenting in a cross platform app, and it would appear that Air would be a great way to accomplish this.
However, it does not appear that the commenting tools work in an Air app.
I can see comments previously added to a PDF outside of Air, but the controls to allow commenting and highlighting are absent in Air.
I am using Flash Builder 4.0.1 on Mac OSX 10.6.6, and I have Reader X installed.
If this is a limitation of Air applications, is it likely to be removed in the future? I'm afraid that if I can't enable the comment mechanism I'm going to have to look for another solution.
Thanks,
MartyI also need to know if there is a solution.
ilsh -
Printing of pdf document from java application
Hello,
I want to print out a pdf document which I get from a server as a byte-stream. I don't want to display or preview it on the client but print it out right away. Is there a way to do this?
Thank you very much!
MatthiasHi Matthias,
If you have got solution for this can u suggest me.
I'm using following code
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
DocFlavor flavor = javax.print.DocFlavor.INPUT_STREAM.AUTOSENSE;
System.out.println("====================>"+flavor);
PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
PrintService service = ServiceUI.printDialog(null, 200, 200,printService, defaultService, flavor, pras);
if (service != null)
try
javax.print.attribute.standard.Copies obj=new javax.print.attribute.standard.Copies(1);
Attribute at=(Attribute)pras.get(obj.getClass());
int noOfCopies=1;
if(at!=null){
try{
noOfCopies=Integer.parseInt(at.toString());
}catch(Exception err){noOfCopies=1;}
for(int i=0;i<noOfCopies;i++)
URL url = null;
try{
url = new URL(urlToPDF);
url.openConnection();
fis = url.openStream();
}catch(Exception err){}
DocPrintJob job = service.createPrintJob();
job.addPrintJobListener(printjoblis);
DocAttributeSet das = new HashDocAttributeSet();
Doc doc = new SimpleDoc(fis, flavor, null);
pras.add(Sides.ONE_SIDED);
job.print(doc, pras);
}catch(Exception err){System.out.println("=========>"+err);}
some times i'm getting garbage values in the printout.
Thanks & Regards,
Surya. -
Open pdf from an Air application for Android
Hi at all,
i'm developing an AIR Application for Android devices.
Into the app there is a button which should open a pdf file with the default pdf reader (multitasking), but doesn't work!
I've an Android Emulator (2.2).
This is the code
protected function openClickHandler():void
f.openWithDefaultApplication();
f is a File object which points to pdf into the storage folder.
Any suggest! Help!!
Thanks.
F.Specific use cases from developers is one way Adobe prioritizes feature development. That's why whenever you request a feature, the response will often include a request for a use case -- even if the use of the feature seems self-evident. Your use case could add more value to a potential feature beyond the self-evident.
Thanks!
Maybe you are looking for
-
iphone not appears at Itunes after updating to ios 6.0.2 and I cannot switch on Iphone - there's only "connect USB to Itunes" icon shown. What should I do?
-
Interesting technical page about LCD screen any hints about new 15" screen?
I came across this interesting page from another website discussion: http://www.techmind.org/lcd/index.html#inversion From what I see I would have thought that the displayed Row Inversion, but my screen flickers on "Line-paired RGB sub-pixel dot-inve
-
Approval for parked documents in FI
Hi, I have a requirement to sent approval SAP screen as attachment to external mail address. for parked documents through (FB01) to achive this i need some help . step 1: how to start workflow when document getting parked standard event (in FIIP) is
-
XI cannot act as an FTP server
Hi All, I have doubt on XI, Is XI operate as an FTP Server (i meen XI done not function as an FTP server)? pls give me some Links on this Thanks in advance, Venkat.
-
Can i see two docs in parallel in pages for ipad?
i need two translate a doc in pages. It would be nice to have on the same screen both text: one to read and the other to type the translated text Is this possible? Thanks!!