Converting Contributor Data File to PDF
Hi,
I have a requirement where end users should be able to download the content from a website(created using sitestudio) as PDF. I have configured the IBR,created Provider in Content server,I am able to convert xml to PDF. But it is showing raw content in pdf. How can I convert Contributor data file to PDF along with the rich content.
Any pointers would be helpful.
Thanks in advance.
In that case, can you please tel me,how it can be done? Is it converting xml to HTML & then the HTML to pdf??
I am new to UCM. Request you to elaborate more.
Is this possible using any UCM provided components for conversion. If yes,which component would be suitable?
Thanks
Edited by: RR on Jul 25, 2011 4:08 AM
Similar Messages
-
Setting Font for converting multiple text files into PDF using VB 6.0
Dear All,
Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
Dim p_AcroApp As CAcroApp
Dim p_VDoc As CAcroAVDoc
Dim p_DDoc As CAcroPDDoc
Dim IsOk As Boolean
Set p_AcroApp = CreateObject("AcroExch.App")
Set p_VDoc = CreateObject("AcroExch.AVDoc")
Call p_VDoc.Open(srcFilename, "")
Set p_VDoc = p_AcroApp.GetActiveDoc
If p_VDoc.IsValid Then
Set p_DDoc = p_VDoc.GetPDDoc
' Fill in pdf properties.
p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
p_DDoc.SetInfo "Subject", srcFilename
If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
MsgBox "Failed to save " & srcFilename
End If
p_DDoc.Close
End If
'Close the PDF
p_VDoc.Close True
p_AcroApp.Exit
'Clear Variables
Set p_DDoc = Nothing
Set p_VDoc = Nothing
Set p_AcroApp = Nothing
End Sub
What I need;
1) to be able to set the font face of the destination file ( destFilename)
2) to be able to set the font size of the destination file ( destFilename)
Am using Adobe Acrobat 7.0 Type Library
Kindly Help.
Thanks in advanceWe didn't say it doesn't work. We said it isn't supported.
There are a number of other ways to make a PDF. The one which would
give the most control is if your application directly printed to GDI,
controlling the font directly. This could print to Adobe PDF.
You could look for an application that gives control of font for
printing.
You could use a text-to-PostScript system and distill the result. You
could even look for a non-Adobe text-to-PDF.
Working in the unsupported and dangerous world you chose, the font
size for text conversion is set (and this is very bad design from
Adobe) in the settings for Create PDF > From Web Page. There is no API
to this.
Aandi Inston -
Any one noticed issues when UCM contributor data files indexing in GSA
Hi Guys,
We are using Google search appliance to crawl UCM content (native documents).
We don't have any issues with search results in this way. We are using dynamic converters to convert these documents into HTML in site studio web sites.
But we have plans to move to site studio contributor data files (XML format).
From your experience, any one noticed any issues in search results with UCM site studio contributor data files indexed by GSA.
Thank you in advance.
Edited by: 958795 on Oct 8, 2012 10:50 AMHi Don,
Thanks for the reply. I would discard the first one, because
I already built the whole site using XML Data Sets, and the idea
from the start was to use my own Atom feed to update the site. But
the second one seems like a good choice, but I'm a bit puzzled. I
was already using Spry:content for the pages that don't index
correctly, putting them on an empty <span> tag so that they
hid unloaded references... could you elaborate on that second
choice, then, please?
Here's a sample of the code:
<!--start main content-->
<div id="secondary-content" spry:detailregion="dsBase"
class="wrapper">
<div id="leftnav" class="frontpage">
<div spry:state="loading">Loading content. Please
wait...</div>
<ul spry:repeatchildren="dsBase">
<li class="Frontpage"><span
spry:content="{title}"></span></li>
<li class="subtitleFront">Posted on <span
spry:content="{simpleDate}"></span></li>
<li class="post"><span
spry:content="{content}"></span></li>
</ul>
<p align="left"><br />
Click <a href="archive.html">here</a> to see
older posts.</p>
</div>
<div id="content-right" class="frontpage">
<div class="wrapper">
<h4 align="center">Featured art :</h4>
<p align="center"> </p>
<p align="center"><a
href="gallery.html?row=4"><img
src="images/tns/tn-AgainstAllOdds.gif" alt="Against All Odds"
width="81" height="160"/></a></p>
<p align="center">"Against All
Odds"<br />
Tobías Bartolomé</p>
<p align="center"><a
href="gallery.html?row=4">See more art at the
gallery!</a></p>
</div>
</div>
<div style="clear: both"></div>
</div>
And here's the link for the main page and Google's index for
the site:
http://www.cosmicollective.org/
http://www.google.com/search?q=site:www.cosmicollective.org&hl=en
Thanks again!
Tomas -
Adobe send non mi converte più i file in pdf
Buongiorno, sono un abbonato annuale ad adobe send, provo a convertire un file in pdf in word, mi rimanda all'iscrizione, dò i miei dati, trova che sono abbonato e mi dice di aggiornare, dopo di che mi comunica che c'è un errore e devo contattare il forum, quale magia devo fare, per far funzionare questo programma che prima che diventasse adobe send funzionava benissimo? grazie
Hi Roberto ,
To be precise ,you are facing challenges converting a word file into pdf .true?
What exactly is the error message do u see while you try to convert a file into pdf?
Is this happening with any specific file or all the word files?
If possible ,please share the error with message with us in order to assist you intelligently .
Which version of Acrobat are you using?
Regards
Sukrit Dhingra -
While saving a file, I have converted all my files to Pdf. This made everything inaccessible, even Explorer. I had to delete Adobe to get back to some of the previous files. I tried to restore system to previous, but I kept getting a pop up message that said I did not have enough shadow space. Does anyone have a solution? Greatly appreciate your help.
Application, file icons change to Acrobat/Reader icon
-
How can I convert an ART file to pdf?
How can I convert an ART file to pdf?
I do not even know what an ART file is.
See this article what file types are supported by Adobe PDF Pack: http://forums.adobe.com/docs/DOC-1496 -
In converting a .docx file to .pdf the the Word functionality of linking screen tips to hyperlinks is lost. Why? How can screen tips be saved in pdf if at all?
Thanks for replying. I am converting from MS Office Word document to Adobe Acrobat Document and opening with Reader XI - sorry my mistake.
I now notice another problem. On trying to open a specific hyperlink in the pdf version I get the message 'Acrobat does not allow connection to: www.biblegateway.com'. Why would there be a restriction? -
Trying to convert a word file to pdf and keep getting "An error occured while signing in"?
Trying to convert a word file to pdf and keep getting "An error occured while signing in"?
Or contact Adobe Customer Service via http://helpx.adobe.com/contact.html?product=export-pdf
-
I used to use the free version of Adobe Reader to convert my publisher files to pdf files. When I was making a booklet for our hockey team, it said I had to buy it. Now I bought it and it won't convert the files. I am ready to throw this computer out the window!! Can you tell me what is the problem? No it does not exceed 100 M. either.
Adobe Reader never converted Publisher files to PDF, for free, never. I suspect you use to have the (paid for) Adobe Acrobat. Sometimes people have Acrobat (more than $300 worth) and install Adobe Reader over the top, losing that valuable software.
That said, if you subscribed to PDF Pack it should do this conversion. What exactly happens now. -
I have adobe acrobat pro for windows and it is freezing up when I try to convert a word file to pdf... I have tried to get this done six ways from Sunday but it is just not working... help! Chris.
It would be helpful to know what version of Acrobat, WORD, and operating system.
Without that info, I would suggest at this point to open your WORD file and then go to the print menu and print to file using the Adobe PDF printer. Open the created file in Distiller and see if you get a PDF. If so, check to see if AcroTray is running in the background.
You say you tried many ways. It would help to know what you tried and what worked or did not work, and at what point the failure occurs. -
How do I convert a jpg file to pdf file
how do I convert a jpg file to pdf file
Use Acrobat. Your click-path:
File - Create - PDF from File
Be well... -
How do I convert a jpg file to pdf?
How do I convert a jpg file to pdf?
Hi nwa metal buildings,
You can use either Adobe PDF Pack or Acrobat to convert a JPEG to PDF. If you have further questions, don't hesitate to ask!
Best,
Sara -
To convert multiple image files to pdf using pdfsharp in C#
Hey guys I have this C# code to convert any image file to .pdf using pdfsharp.dll. But I want to select multiple images for conversion please help. here's my code (plz note enable pdfsharp.dll in the reference)
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
usingPdfSharp.Pdf;
usingPdfSharp.Drawing;
usingSystem.IO;
namespaceConsoleApplication1
classProgram
staticvoidMain(string[]
args)
PdfDocumentdoc =
newPdfDocument();
doc.Pages.Add(newPdfPage());
XGraphicsxgr =
XGraphics.FromPdfPage(doc.Pages[0]);
XImageimg =
XImage.FromFile(source
path...);
xgr.DrawImage(img,0,0);
doc.Save(destination path...);
doc.Close();try this one
public string CreatePDF(System.Collections.Generic.List<byte[]> images)
dynamic PDFGeneratePath = Server.MapPath("../images/pdfimages/");
dynamic FileName = "attachmentpdf-" + DateTime.Now.Ticks + ".pdf";
if (images.Count >= 1) {
Document document = new Document(PageSize.LETTER);
try {
// Create pdfimages directory in images folder.
if ((!Directory.Exists(PDFGeneratePath))) {
Directory.CreateDirectory(PDFGeneratePath);
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter.GetInstance(document, new FileStream(PDFGeneratePath + FileName, FileMode.Create));
// opens up the document
document.Open();
// Add metadata to the document. This information is visible when viewing the
// Set images in table
PdfPTable imageTable = new PdfPTable(2);
imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
for (int ImageIndex = 0; ImageIndex <= images.Count - 1; ImageIndex++) {
if ((images(ImageIndex) != null) && (images(ImageIndex).Length > 0)) {
iTextSharp.text.Image pic = iTextSharp.text.Image.GetInstance(SRS.Utility.Utils.ByteArrayToImage(images(ImageIndex)), System.Drawing.Imaging.ImageFormat.Jpeg);
// Setting image resolution
if (pic.Height > pic.Width) {
float percentage = 0f;
percentage = 400 / pic.Height;
pic.ScalePercent(percentage * 100);
} else {
float percentage = 0f;
percentage = 240 / pic.Width;
pic.ScalePercent(percentage * 100);
pic.Border = iTextSharp.text.Rectangle.BOX;
pic.BorderColor = iTextSharp.text.BaseColor.BLACK;
pic.BorderWidth = 3f;
imageTable.AddCell(pic);
if (((ImageIndex + 1) % 6 == 0)) {
document.Add(imageTable);
document.NewPage();
imageTable = new PdfPTable(2);
imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
if ((ImageIndex == (images.Count - 1))) {
imageTable.AddCell(string.Empty);
document.Add(imageTable);
document.NewPage();
} catch (Exception ex) {
throw ex;
} finally {
// Close the document object
// Clean up
document.Close();
document = null;
return PDFGeneratePath + FileName; -
Converting many numbers files to PDFs?
Hi everyone!
I would like to convert many Numbers files to PDF documents. Every Numbers document should be a new PDF with the same name!
I even tried to write a workflow file with Automator, but I dont get the "create a PDF"-part running.
Furthermore I googled for 2 hours, but all scripts I found do not work with the latest Numbers version...
Please help me... Maybe one of you have a Apple Script or a solution using Automator?
OS X 10.9.3
Numbers Version 3.2 (1861)Dear Lori,
promptUser =false, see below.
Does not work.
All programs that might disturbe PDF output removed from computer.
Does not work.
I am now investing some evenings into Word-VBA, making a script loop through the subdirectories over several levels (does Acrobat do that anyway?)...
Does not work.
Not yet.
It will have to...
best regards,
Boris
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://ns.adobe.com/acrobat/workflow/2012" title="ZOPtest ORT" description="" majorVersion="1" minorVersion="0">
<Sources defaultCommand="WorkflowPlaybackSelectFolder">
<Folder path="/nas02/quinsee$/Fachabteilung/ZOP/Standards/Standards NCH"/>
</Sources>
<Group label="Unbenannt">
<Command name="Scan:OPT" pauseBefore="false" promptUser="false">
<Items>
<Item name="ApplyMRC" type="boolean" value="false"/>
<Item name="BkgrRemove" type="integer" value="0"/>
<Item name="ColorCompression" type="integer" value="4"/>
<Item name="Descreen" type="boolean" value="false"/>
<Item name="Deskew" type="boolean" value="false"/>
<Item name="Format" type="integer" value="1"/>
<Item name="Language" type="integer" value="-1"/>
<Item name="MonoCompression" type="integer" value="1"/>
<Item name="QualityLevel" type="integer" value="1"/>
<Item name="TextSharpen" type="integer" value="0"/>
<Item name="doOCR" type="boolean" value="false"/>
</Items>
</Command>
</Group>
</Workflow> -
Distortion of excel charts when converting microsoft publisher file to pdf
I am using the print "Adobe PDF" function in publisher to convert a publisher file to pdf. Some exel pie charts that were pasted into the publisher file become distorted at the edges in the pdf file. I have tried playing with various settings and using the "print quality" settings but nothing has helped. See the attached files for an example of the excel chart, publisher file, and results I am getting when converting to pdf.
Thanks all.I'm sorry I didn't make it clear. What I'm trying to say is that the graphic looks just fine in publisher. But when it is converted to a pdf, the graphic has distorted edges, if you look at the publisher and pdf files I attached I think you might see what I'm talking about.
Please let me know if it's still not clear.
Maybe you are looking for
-
How to add A single row at the middle of the table in a Webi report
Hi, I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
-
Hi Guys We are running a httplistner on localhost exposing http based end point. can we call this url from a website which is exposed over https when it opens from the same machine. Note: the site is being opened in browser is using HTTPS and is on S
-
How to create a formula to get the month name based on userresponse
Hi, I have created a report using E-Fashion - Actually i need a report like - For ex i need 4 months data from 12 months My report should display the 4 months data along with starting & end month data in the next 2 columns I have used the prompt t
-
[solved]X11: MGA driver issues: video playback (mplayer) and 3D
Hello, I am new to Arch, but I am not new to Linux. I installed Arch yesterday, before I was experimenting with it in VirtualBox and -to test the compatibility with my real hardware- I also tried the "Archie" live CD. But there was one thing that the
-
Help!!!! Is it possible to just submit a pdf form?
I have built an employee application so applicants can go onto our website, fill it out and send it via email. When you press "Submit by Email" Outlook opens and it sends the form FROM my email address. My main concern is what if a applicant isn't ho