Save Open XML as PDF - pdf-generation

As part of an investigation into enterprise level server side document generation I have come across Open XML.
For those that have used this, how successful were you? Would you recommend it?
Can you save the OpenXML to PDF directly or would I need to make use of a 3rd party component?
If a 3rd Party component is required, which one did you use and which one would you recommend?
Thanks
Gineer

The nice thing about the Office OpenXML is that it's the language of Microsoft Office -- if you live your "office life" in Word and Excel (2007 and later), that's the format you want.
Can you "save" OpenXML directly to PDF? No, it needs to be rendered by some third-party component.
If you're doing document generation on the server side and you don't need to be working with Office documents as output, you'd generally use something like iText or iTextSharp, which would render the PDFs directly.
I haven't worked with a server-side component that will do the translation from Office OpenXML to PDF, though.

There are various third party components for the OpenXML to PDF piece. I maintain the open source docx4j, which is one option.
If you are doing document generation, you may find you need repeats and conditionals. For suggestions on how to do this, see http://dev.plutext.org/svn/docx4j/trunk/docx4j/sample-docs/databinding/conventions.html

Call me biased, as I worked on this component, but the PDF Conversion Services are used by many small and large organisations to convert OpenXML as well as many other formats to PDF using a friendly Web Services interface.
Check out these examples:
C# / .NET
Java

Related

How to use PowerPoint templates as theme in Data Studio?

I want to create a dashboard on Google Data Studio using a template provided by my organization but I can't find any helpful resource to do that so I'm tempted to think that's not even possible. I tried to use "Extract theme for image" option in GDS but didn't work properly since it just tries to emulate the colors from the image and not the template itself.
Any advice or suggestion will be much appreciated.
Unfortunately, there is no way to achieve this.
Although last versions of Google Data Studio contains resources to allow it to present dashboards as it were a presentation software, I don't think it is intended to offer advanced resources for this task, neighter make it compatible with other presentation softwares (especially if you're talking about third party software, as Microsoft PowerPoint).
The best you can do is to create your own dashboard, and try to mimic your company's provided template.
you could also use an image as theme, it will at least uses the colors of you company as you can see in the image below.
And that's unfortunally what you can do with it, and for powerpoint themes, you could also use Microsoft Power bi which is way more advanced that Google Data studio

Tin Can API and courses

I'm new to Tin Can API, I decided to begin with the tin can driver and i followed these steps http://tincanapi.com/driver-quickstart/ but what I can't find or understand is how can I add a pdf or a powerpoint to the content of the driver, I mean anything other than html files. I don't know if my question is totally wrong but anyways I would like to understand how can anyone add a course of any type if he can't add other than html files.
Any help or suggestions are appreciated.
A PDF or Powerpoint would be a link inside of the HTML of the course to a file included in the package. Tin Can Driver is a product specifically designed to enable cross standard course building, so use it if you want to be able to easily support Tin Can and SCORM and/or AICC, etc.
If you are specifically targeting just Tin Can then you control how those things are used within the course. Tin Can doesn't really provide for the concepts of packaging and launch. The current de facto standard for those concepts is a set of guidelines published for implementing Tin Can in an LMS. CMI-5 is a working group developing those concepts into a specification.
Also note that in both cases a PDF or Powerpoint may or may not be playable directly in the browser, and for either case you will need to implement the hooks into their interfaces to call the JavaScript API.
HTH.

Automatic download/upload

We are going to develop a client-server application with web interface which will store office documents on server.
When we use browser as a client we need to perform these three steps to edit a document:
download document to the local machine;
open it in office program and edit;
upload document to the server.
It is very inconvenient. Sometimes it is hard to find where a document was downloaded to, when we need to upload it. Customers will also forget to upload document after editing.
Is there any way or technology to upload document automatically?
Or just any ideas how to make this process more convenient.
Thanks in advance!
I would, suggest, if applicable to store all documents as HTML then allowing editing in a web page powered by CKEditor or a similar tool.
If your documents must be in another format, like Office formats, you might start thinking at Office 365, or use ActiveX controls in your web application, something I believe should be deprecated but works in small (better restricted) enterprise environments.
These are just a couple of ideas.

Split and convert Microsoft PowerPoint presentations on a Linux server

I have to implement a web service, which takes a Microsoft PowerPoint presentation as an input, and outputs:
every slide as a standalone ppt file
text for indexing
optionally a preview picture
It should also be able to combine ppt files together.
Is openoffice headless can solve this task on a server, or should I go with .NET?
I don't have any .NET experience, so I would like to avoid using it.
It seems that this problem can't be solved easily with OpenOffice. We will use Presentation.NET instead, and outsource this part of the project.

Any Metadata driven UI sample code?

I am in the process of designing a .net windows forms application that uses metadata to drive the UI. Apart from finding http://msdn.microsoft.com/en-us/library/ms954610.aspx, I have nothing much to look forward to. Anyone here worked on metadata driven User interfaces? What are the implications of following this methodology and any pointers would be greatly helpful.
The most obvious answer would be that Microsoft have themselves embraced this concept through their use of Xaml in Windows Presentation Foundation which replaces WinForms (to an extent).
If you want to stick to a WinForms, you may want to consider MyXaml which is kind of a homage to Xaml for WinForms!
You may want to check out Evolutility CRUD framework. It is an open source metadata driven framework for CRUD generating all UI at run-time.
It comes w/ source code (in C# and JS) and many samples.
http://www.evolutility.org
You may try this with HTA. Sometime back I created a metadata driven application using HTA and XML. I created XAML like structure and HTA-VBScript code to parse this structure and render diffent types of UI elements along with validations.
Check the Andromeda project out, which does so extensively. Too bad the stack isnĀ“t .NET friendly (PHP, Postgres, Perl).

Resources