or you can use the value 8 as you have it. Saving as html works using office.wdFormatHTML.
I discovered the trick of using the number 17 instead of trying to use the enumeration for pdf format. “This is saved as a HTM file from Word 2013.
…And here is an example of how to save a Microsoft Word 2013 file as a htm: “This is saved as a PDF file from Word 2013. Here is an example of how to save the Microsoft Word 2013 file as a PDF: The file folder “C:\Test” was created before the program was executed. The following examples worked on my machine with Windows 8.1, Microsoft Office 2013 Word, and Xojo 2014 r2.1. I am using this for saving as html (c,office.wdFormatHTML) but there is no office.wdFormatPDF or such and neither can I find how to access the Export functions of Office 2013 (the version of Word I am using.) Your help would be greatly appreciated. You may place the field validation (empty or not) in LostFocus (at the moment the focus goes Callaghan:Įugene, could you could elaborate on how to do this. You do not have to use Object2D to print to pdf, you can use the graphics class to do that.īTW: You may want to place another TextArea for the mid-name (“A.”) Or use only one TextArea to get the whole (“Emile A. Nothing fancy, just to get ideas, so adapt it or better write your own once you read the code. The pdf is generated by OS X itself / PDFCreator on Windows (XP).The main (and only) window have a button to create the PDF * and two fields to get the first / family names.Ī simple (error) report is done in a label below the two fields (try to push the button with no name(s) The drawing in done in three parts: red, blue and green in a loop, the certificate title in a different one. I wanted to draw in half of a circle a title (the certificate of achievement ), but do not read an example on my hard disks, so I used Object2D to draw stuff (as a ‘graphic’ template). It is just “something” you can get ideas from, a RAW something. I take sometimes yesterday evening to make something.