Any help would be appreciated.
Thanks
Vincent
Running Windows XP with SP3,
00o-dev 3.3.0, mm77 (build 9496)
I have tried to link and embed, and still I can't see the picture.RoryOF wrote:What is the file format of your picture? Is it linked or embedded in the document?
Picture format is JpegRoryOF wrote:How are you making the PDF? Important: what format is your picture?
Picture in .png Exporting to PDF for me on OOo 3.2.1 on Ubuntu 10.4
Have uploaded the odt file and pdf.RoryOF wrote:Just tried - a .jpg shows up OK for me in a .pdf file made using Export to PDF. You might need to upload a sample file to the forum so we can try it. Change any sensitive information, of course.
Enzo_za wrote:Have uploaded the odt file and pdf.RoryOF wrote:Just tried - a .jpg shows up OK for me in a .pdf file made using Export to PDF. You might need to upload a sample file to the forum so we can try it. Change any sensitive information, of course.
hope this help you.
Many thanks for trying to assist.
Vincent
try following the instructions on this page; http://user.services.openoffice.org/en/ ... 29#p137887lokeshmf wrote:Hi I am using OpenOffice 3.2... but picture is not coming
Code: Select all
<div style="float:right; width:49%; text-align:right"><img src="@(Url.Content("~/Content/img/sp-logo.jpg"))" width="225" height="44" alt="Logo" /></div>Code: Select all
HtmlToPdfConverter htmltoPdfObj = new HtmlToPdfConverter();
htmltoPdfObj.Orientation = PageOrientation.Default;
htmltoPdfObj.CustomWkHtmlArgs = "--margin-top 22 --header-spacing 10 --margin-bottom 20";
byte[] pdfContents = htmltoPdfObj.GeneratePdf(this.GetPDFScript() + htmlContractData + "</body></html>");
Response.Clear();
Response.Charset = "";
Response.ContentType = "application/vnd.oasis.opendocument.text";
string strFileName = "GenerateDocument" + ".odt";
Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
Response.Write(htmlContractData);
Response.End();