Unable to Display Background Graphic From HTML File Generated from AI File
I am trying to figure out if this is a MAC OS X or Safari issue. I have already a message into the author of the plug-in as well as created a posting on the Adobe Forum.
I am following a tutorial on Lynda.com called "Design the Web: Illustrator to Animated HTML5 Canvas." I am using a plug in called Ai2CanvasMac with Adobe Illustrator, It essentially generates an HTML file from an Illustrator file. The Illustrator file has an embedded PNG file as a background image and a small vector graphic in front and centered. After the plug-in generates the HTML file, it automatically opens the file up in the browser. This is where I am getting mixed results.
Safari: The small vector does appear and in the center where the embedded background should appear. But the background image isn't displaying, only a white background is showing.
Firefox and Chrome: The page is totally blank. Not even the vector graphic appears.
It will work with two different approaches.
1. If I edit the source image web links in HTML file and use links from any graphics I find off the web. That works fine. The images are displayed in the browser window.
2. If I embedded PNG images from my desktop into the Illustrator file and generate the HTML file. That works fine too.
Does anyone have any ideas as to why I can't the graphics to display properly in the browser without doing this workaround?
Hi,
Ex. 1 - If the Index file is in the same directory, called "test"
tales/numbers.jpg
Ex. 2 - If the image is in a subdirectory, called "test1" within "test"
test/test1/numbers.jpg
img src="test/test1/numbers.jpg"
Regards
Ayyapparaj
Similar Messages
-
How to populate/import data in a XSD file generated from a webservice
HI All,
I have an XSD file generated from the webserive using the CRM FM E2C_DOWNLOAD_CRT_SCHEMA.
I created a Adobe form with the Adobe life cycle designer using the XSD file.
However Data will have to be entered manually in this adobe form and cannot be pre-populated with data, How do we pre-populate data in the Adobe form generated from XSD file of the above CRM FM.This is what you need:
integer li_fhandle, li_rcode = 1, li_sfound = 0, li_idx = 0, li_eqpos, i
string ls_filename = 'C:\app.ini'
string ls_line, as_key[], as_val[]
string ls_section = '[General]'
// OPEN INI FILE
li_fhandle = FileOpen(ls_filename, LineMode!)
IF IsNull(li_fhandle) OR li_fhandle < 1 THEN
// DO NOTHING
ELSE
DO WHILE li_rcode > 0
li_rcode = FileRead(li_fhandle, ls_line)
IF li_rcode > 0 THEN
IF POS(ls_section, ls_line) > 0 THEN
li_sfound = 1
CONTINUE
END IF
IF li_sfound = 0 THEN CONTINUE
IF POS(ls_line, '[') > 0 AND POS(ls_line, ']') > 0 THEN EXIT
li_eqpos = POS(ls_line, '=')
li_idx++
as_key[li_idx] = MID(ls_line, 1, li_eqpos - 1)
as_val[li_idx] = MID(ls_line, li_eqpos + 1)
END IF
LOOP
END IF
FOR i = 1 TO li_idx
messagebox('Key - Value',as_key[i] + ' = ' + as_val[i])
NEXT
// CLOSE INI FILE
IF li_fhandle > 0 THEN
FileClose(li_fhandle)
END IF
Adapt it to your needs... you probably should make it a function. -
How do I display Canvas Graphic image (Not Iconic button) from jar file
Hi all,
I am currently using Forms 10g.
I have gone through the tutorials on how to add Button Icons into Jar files for web enables forms .....so far so good
This however does not explain what I actually want to do... since "graphic images are by nature embeded in the for rather than referenced ......so here goes ..
I have a forms 10g application where all the individual form modules/canvases display a big banner (covering top 20% of the screen). This was done by importing the image straight unto the content canvases. As you know this now becomes a "graphic Image" now embeded(& not referenced by file name) on the canvas. Also bear in mind that this is actually different from an "Image Item" which is a block object.
I dont know if this is possible, but what steps do i follow to make the image part of a jar file as opposed to my current situation. Please let me know if possible or not so I stop waisting development time looking for answers :)
Another question is how do i make this jar file a library object so that we can vary the image as we wish
NB: one other trick which i can think of is to create a giant push button across the screen to display the image and then stick it in a jar file !
Cheers
css_jay99I don't know about embedded images imported in from the builder, but there is a way to use READ_IMAGE_FILE into a BLOCK.IMAGE_ITEM where the images are all in a jar file stored on the OAS.
Metalink Note:137397.1 explains it in details.
Tony -
Data visibility problem in PDF file generated from R/3 system
Hi all,
We are converting the output of a Smartform into a PDF format. From this smart from, we receive data in OTF format, after which the required data is converted from OTF format to PDF format. Then PDF data is sent through mail using FM SO_NEW_DOCUMENT_ATT_SEND_API1 as an attachment.
For the above mentioned Smartform, we have defined Paragraph & Character font type as 'TIMES' in smart style. But when we receive the PDF file (through mail), some data of appears in other fonts:
1) When PDF file is generated from Development system, the different font types which are used by PDF are Arial and Times-Roman. In this case, we are able to see the PDF output and faced no major problems because both of these fonts are supported by PDF file format.
2) When PDF file is generated from Testing system, the font types which is used by PDF is Arial. In this case, we are able to see the PDF output because this font is supported by PDF file format.
3) When PDF file is generated from Production system, the different font types which are used by PDF are Arial, Times-Roman and PBRS. Here, we are able to see the data which is displayed in Arial font and Times-Roman font. But we are not able to see the data which is displayed in PBRS font because this type of font is not supported by PDF file format. If we copy the distorted text from PDF file and paste it in MS-Word then the required data is clearly visible and that is due to the reason that MS-Word supports PBRS font.
But as per smart style we have used only 'TIMES' font, then why different fonts are appearing in PDF file?
What settings are required to be done to make this data visible?
Any pointer to solve this issue will be really appreciable. Thanks in advance for your help.
Thanks and Regards,
Dheeraj TolaniHi,
check the following
http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
business content
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
https://websmp203.sap-ag.de/co
http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
(navigate with expand left nodes)
also co-pa
http://help.sap.com/saphelp_nw04/helpdata/en/53/c1143c26b8bc00e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff61152b-0301-0010-849f-839fec3771f3
FI-CO 'Data Extraction -Line Item Level-FI-CO'
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
FI-GL
http://help.sap.com/saphelp_nw04/helpdata/en/c9/fe943b2bcbd11ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
http://www.sapgenie.com/sapfunc/fi.htm
Please reward for the same. -
Color graphic in a PDF generated from a SmartForm causes error
I have a SmartForm containing a color graphic. It works correctly,
appears just the way it should in Print Preview, and it prints
correctly. However, when I generate a PDF file from, Adobe Reader
complains that the PDF file is corrupt and refuses to print it. If I
remove the color graphic from the SmartForm and don't make any other
changes, I get a good PDF file that can be parsed, displayed, and
printed without any problems.
Why is the presence of the color graphic in the SmartForm leading to a
corrupt PDF file? Is there any workaround (short of removing the color
graphic) that I can use to get a good PDF file?
Here is a more detailed description of what I am doing.
1. Creating the color graphic
A. I started with a color .TIF file
B. I went to transaction SE78,
Form Graphics -> Stored on Document Server ->
GRAPHICS General Graphics -> BMAP Bitmap Images
C. Clicked on the "Import" icon
D. In the "File name" field, navigated to my .TIF file
E. Typed the name of my graphic in the "Name" field and some
descriptive text in the "Description" field
F. Selected the "Color Bitmap Image" radio button
G. Set the "Print Attributes" as follows:
Unchecked - Resides in the Printer Memory
Checked - Reserve Height Automatically
Unchecked - Compression
H. The color graphic seems to upload correctly
I. When I click on Print Preview, it is displayed perfectly.
J. When I use the Search Help associated with the name field to
find the graphic, it is shown with the name and description
that I gave it, the Object field is displayed as "GRAPHICS",
the ID field is displayed as "BMAP".
K. When I select Graphic -> Graphic Information, the Resolution is
75 DPI and the Size is 26.86 x 8.26 cm. When I use this graphic
in the SmartForm, I will enter the resolution as 300 DPI - in
order to get an image whose dimensions are one-quarter of these
dimensions, but which will have a good resolution for a laser
printer.
2. The use of the color graphic in the SmartForm
A. It is a "Graphic" node which is the first node on the first
(and only) page of the SmartForm.
i. The Name is the name of the graphic I created
ii. Object = "GRAPHICS"
iii. ID = "BMAP"
iv. The "Color Bitmap Image (BCOL)" radio button is selected
v. The Resolution = 300 DPI
B. The position and size are:
i. Left Margin = 15.00 MM
ii. Width = 69.00 MM
iii. Upper margin = 15.00 MM
iv. Height = 21.77 MM
3. The process of producing the PDF file
A. The function SSF_FUNCTION_MODULE_NAME is called to obtain the
name of the function module associated with the SmartForm.
B. The function module (whose name was returned by
SSF_FUNCTION_MODULE_NAME) is called with:
i. CONTROL_PARAMETERS = a SSFCTRLOP structure with
GETOTF = 'X'
NO_OPEN = space
NO_CLOSE = space
NO_DIALOG = 'X'
ii. OUTPUT_OPTIONS = a SSFCOMOP structure with:
TDPRINTER = 'POST2'
TDDEST = space
TDNEWID = 'X'
TDIMMED = 'X'
TDDELETE = space
TDCOVER = space
TDCOPOES = 1
iii. JOB_OUTPUT_INFO = a structure of type SSFCRESCL used to
receive the OTF file
C. The function CONVERT_OTF is called with:
i. FORMAT parameter = 'PDF'
ii. OTF table parameter = the OTFDATA table contained within
the JOB_OUTPUT_INFO SSFCRESCL structure returned from the
SmartForm function module.
iii. BIN_FILE parameter = an XSTRING used to receive the PDF
file
iv. BIN_FILESIZE parameter = an integer used to receive the
size of the PDF file.Hello David,
The reason for this problem is probably related to the FlateDecode compression described in SAP Note 843480 (PDF conversion: Compression of bitmaps and TrueType fonts).
Try switching off the usage of FlateDecode compression again via report RSTXPDF3 as described in Note #843480.
It is a little confusing. The option 'FLATE_COMPR_OFF' needs to be set to 'On' to turn off the FlateDecode compression.
To set this run as follows:
se38 -> RSTXPDF3 -> enter 'FLATE_COMPR_OFF' in the 'Name' field
-> Select 'Change Settings' radio button
You will get a pop-up 'Do not use flat compression'.
Select the 'on' button.
After this create a new PDF and check if the problem is resovled.
Regards,
Aidan -
Error while deploying ear file generated from weblogic to ocj4
Hi All,
I have an .ear file which has been generated from weblogic server.I tried to deploy it on ocj4 aby created a new project in eclipse and deploying it on ocj4.
When I try to run my project it gives me an error:
2008-12-15 19:13:54.811 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: javax/xml/rpc/Service
Invalid class: javax.xml.rpc.Service
Loader: Test.web.TSOptyQGateWeb:0.0.0
Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/applications/Test/TSOptyQGateWeb/WEB-INF/lib/jaxrpc.jar
Configuration: WEB-INF/lib/ directory in C:\OC4J_10.1.3.4\j2ee\home\applications\Test\TSOptyQGateWeb\WEB-INF\lib
Dependent class: oracle.jsp.runtimev2.JspPageInstFacade$DeclaredAction
Loader: oc4j:10.1.3
Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/lib/ojsp.jar
Configuration: <code-source> in META-INF/boot.xml in C:\OC4J_10.1.3.4\j2ee\home\oc4j.jar
The original class instance was defined in the shared-library oracle.ws.jaxrpc:1.1, and oc4j:10.1.3 does import that loader. This may be a search-order problem.
Can anyone help??Hi,
I checked the log-files, but there are no helpful informations, but:
07/04/23 12:08:04 - Start updating EAR file...
07/04/23 12:08:04 - start-up mode is lazy
07/04/23 12:08:20 - com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
java.io.IOException: Stream closed
and
Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy API:
com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
java.io.IOException: Stream closed
thanks,
Lu -
Header and footer in PDF files generated from Business Publisher
Hi All,
Is there any out of box feature to include Header and Footer of our choice in the Pdf file of Process Model generated from Business Publisher (from Print function in the publisher explorer)
Thank you all in advance.
regards,Hi Raja,
Does this mean that you have been sucessful in generating the PDF from the BPublisher?
If yes, could you please share how you achived this. Platform .. version ect. you have.
I am trying to create the PDF , but my IE popup just ... well ... just disappears..
thanks
regards
Sanjiv -
Printing a PDF from a PDF generates a log file
I have pdfs that get generated from a web site and for whatever reason when I go to print them to pdf I just get a log file. I can print to pdf from any other pdf file. I need to do this so that it basically flattens the pdf and the end user can't see where I have typed or added a text box to blank out stuff.
I've tried examining the doc and stripping it of everything.
I've tried making it compatible with Acrobat 8 v1.7
I've tried opening in Acrobat STD, no security set and resave and yet when I open it backup the minimal security settings are back.
I have acrobat 8 std, and reader 8. The original pdf was v1.3, produced apparently from the web site with GPL Ghostscript 8.15, everything is allow in security except doc assembly, commenting, signing, creation of template pages.
Any help anyone can give would be greatly appreciated.
Thank you,
George
Here is part of the error log:
%%[ ProductName: Distiller ]%%
%%[Page: 1]%%
%%[Page: 2]%%
%%[Page: 3]%%
%%[ Error: limitcheck; OffendingCommand: ;#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#23 23#2323#2323#2323#2323#2323#2323#2323#; ErrorInfo: DictCRC --nostringval-- ]%%
Stack:
58
[/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /;#2323#2323#2323 /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef
/;#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323There is one on the fonts tab of the settings. This one is for problems with embedding and says to create the PDF anyway. Font embedding with unlicensed fonts is a common problem for failure in the creation process and that is why I was suggesting it. Also, your discussion of security raises a flag. It suggests that there is some security setting and that may be the issue.
-
Problem in copy and paste html code generated from google adsense
tell me where can i paste the html code in mozila .
I am having account in googlemadsense and whenever i try to copy and go to paste in html it dosent work.please reply me.Hi Thanks for reply,but my dear freind as I written in my previous mail also that I am having account in google adsense and as per the given instructions only,when i try to paste the html code,which was generated from their adsense adposting , i try to paste that code after opening the html sources box,that code was not accepted.The html source window was slightly blocked.
And for your information i am not try to paste any other code from any otherwebsite like word press etc
Waiting for your reply soon.
Kavitha -
Name of .exe file generated from Air Help
Is there a way to customize the name of the .exe file generated by the Air Help output? I can specify the name of the .air file. But when the Air application is installed, the .exe filename is the same as the help title ("Help Title" field in the Adobe Air dialog box) . This means the help title is used in the title bar of the Air application, on the Start menu and Add/Remove Programs, and in the filename.
I would like to use a shorter, one-word filename. I would expect the name of the .air file to be the name of the .exe file.
I'm generating an Adobe Air application using RoboHelp 8.
Thanks,
- MauraI assume you are creating the file as a java.io.File object. Under those circumstances you should be able to specify the name and target directory when you save it:File f = new File(directory+System.getProperty("file.separator")+filename);Or, if you have already named it:
f.renameTo("file.txt");Actually, now I look at it, I may have totally misunderstood what you are trying to do there- are you naming it right in the hyperlink? -
Bank Transfer file: generate two outgoing files for one pmt method?
Hello Experts,
Two files (header and item) are expected from the hungarian bank for each payement.
It's possible to generate two outgoing files for one pmt method using DMEE tree? If yes, can you tell me how?
If not, there is an other solution? Use a classic program (copy and adaptation) for example?
Thank you in advance.
AmalAre you sure you need separate files file header and items.
Usually both header and items are placed in the same file. Please reconfirm or get the formats from the Bank. -
Get the name of the file generated by the File Adapter
Hello,
I am creating XML files using the File Adapter. Each file name is unique (my_file%SEQ%.xml) and I would like to know if there is a way to get the name of the generated file so that I can sent it as an attachment in an email notification. Thanks!you can't get the generated filename for write operation.
But what you can do, is to define header variable of OutboundHeader_msg type, define your own filename (based on your unique creation criteria) and then pass it to invoke activity for file creation. -
Web printing from a report generated from a bookmark
Hi,
I implemented the How to web printing last year. Eveything worked fine until someone tried to print a report generated from a bookmark. It opens the window where it shows the formatted report to be printed, but does not do anything else. The window remains blank. Anybody having an idea? I am sure it is related with the bookmark stuff, but can not get the finger on it.
Tks a lot,
GuylaineHas the template that the bookmark is off of been changed? That might be causing the problem.
Thanks,
Jeff -
How to display Image/Logo in Html file generated from Webdynpro App
Dear All,
I have developed a webdynpro application and onClick of the Button I am opening a new browser by generating HTML file.The file is opened successfully.
My requirement is to display the company logo on that HTML file. Where to place that image file and how to call that image file in my HTML.
Regards
PonnusamyHi,
Ex. 1 - If the Index file is in the same directory, called "test"
tales/numbers.jpg
Ex. 2 - If the image is in a subdirectory, called "test1" within "test"
test/test1/numbers.jpg
img src="test/test1/numbers.jpg"
Regards
Ayyapparaj -
How to add css styles in html file generated from Report builder?
Hi,
I schedule report in web browser,but the generated report html file looks very simple and doesn't correspond with the other html files which have css styles.So I want to add css styles to the generated html file from *.rdf in report builder.That is to say I should integrate css style with myReport.rdf.Can anybody tell me how to do that?
thanks in advance.
Regards
junglehello,
i am not quite sure, what you want to achieve. did you try the DESFORMAT=HTMLCSS which generates inline-style-information.
regards,
the oracle reports team --pw
Maybe you are looking for
-
Problem servletrunner image/gif
Hello, I'm french so excuse me for my poor english. In fact I only try to display an image located at the following adress : http://localhost:8080/images/image.gif I'd like this image be on a html page generated by a servlet, but that's impossible. H
-
PDF Size is huge when inserting an image on every page
Hello, I've got a little problem when inserting an image in a crystal report and then exporting it to PDF. We're using Crystal Report XI and we've designed the report with a sub-report that gets an image from a database field and put this image on ev
-
Acrobat 9 Standard, error 148:3
Acrobat 9 Standard, I continually get error 148:3. Telling me to uninstall and reinstall. This is unreasonable
-
Certain action shortcut keys not working
In my Captivate 5.5 training simulation, I want users to click Ctrl+C and Ctrl+V. I've tried inserting a transparent click box and setting the shortcut to Ctrl+C. On success is set to go to the next slide. When I preview the training and I press Ctrl
-
New MacMini with Samsung 32" TV
I bought a basic MacMini earlier this week to use with my Samsung 32" LCD TV (Model: LE32A457C1DXXU). Now, when I use the DVI to VGA adapter supplied to connect said MacMini to my TV, the TV goes to sleep, as if no input from the Macmini. I have succ