I would like to package an indesign document through the SDK (c++ or javascript, it doesn't matter) but I cannot find any documentation.
Does anyone know if it is possible?
This is the duplication of the question Packaging a document with Indesign SDK that was marked as answered but the accepted answer describes how to package via UI and NOT via SDK.
Thanks!
Yes, you can do this with JavaScript. All you need to do is call the packageForPrint method of InDesign's document object and use a whole lot of booleans to set the options (see the linked doc page for details).
Related
Could any one point me to the [v8 javascript API documentation to work in c] so that I could find proper functions, their uses and return types for doing things, the various API's available on internet are old and the newer v8 is particularly not compatible with those (pre 2013)
check this out..
http://izs.me/v8-docs/namespacev8.html
This set of documents provides reference material generated from the V8 header file;
And For other documentation check this
http://code.google.com/apis/v8/
I've created a GitHub repository that is intended as up-to-date v8 API reference. Check out: http://peerigon.github.io/v8-docs/
To update the documentation, just fork the repo and run doxygen: https://github.com/peerigon/v8-docs
We have requirement for Contract First Web services for one of my Project.
We have defined the WSDL file so I need to generate Java Artifacts from WSDL with JAX-WS,
So Is there any way so that I can generate the Java Server side form exposing the WSDL.
Thanks,
Ramakrishna Rayudu
Take a look at my post here.
It explains how to generate the Metro-JAX-WS-Stubs (artifacts) from a given WSDL using the wsimport-Tool shipped with your JDK.
Hope this helpes! Have fun!
EDIT:
Sorry I missunderstood your question!
Apache AXIS ships with a function called wsd2java. That could be helpful in your case.
Have a look at this post, giving links to tutorials for different IDEs.
Cheers!
use
xjc -wsdl <wsdlurl> -d <directory>
xjc tool can be found inside C:\Program Files\jaxb
I'm currently building an OpenFrameworks project and need to use Google Analytics to track user interactions. I have yet to find any existing C++ libraries for doing so, and am considering writing my own. Is the API open enough to allow a custom library to be created? If one doesn't exist, any ideas on where to begin coding my own?
Yes it is possible and easy to extend openframeworks!
You can look here if there is an addon which fits your need. Maybe ofxCurl or ofxHttpUtils are the right ones to create an request like the one mentioned in the comment by yahelc.
If you don't find a solution there, you can look here to find first informations about creating addons for openFrameworks. If you have any further questions, please ask in the official openframeworks forums which you can find here.
Looks like you'll have to build your own solution... I'd use ofxHttpUtils to ping Google's Analytics API. You should also consider wrapping your work as an OF addon and sharing in openframewors.cc
I've built an OpenFrameworks add-on to do just that:
http://github.com/armadillu/ofxGoogleAnalytics
We're in the middle of deploying a new software system to lot's of users in lot's of places (200+ users over 8 countries). In the past we've written a manual for the users, then update it every so often. This works ok, in that all the users ahve the same manual and it covers the main things but it has it's problems, like it doesn't get updated that often, we sometimes miss updates, and some users will have old copies.
We've been talking about using a wiki during the testing and deployment phases to build a knowledge base about the system. Ideally we'd then like some way to convert that into some form fo electronic document that we can then 'pretty-fie' and send out as the official manual, as well as letting users use and update the wiki.
Has anyone else done anything similar ? Any suggestions for wiki systems, workflows, document formats etc?
Most wikis support export via PDF e.g.:
MediaWiki PDF Export
DokuWiki PDF Export
TWiki PDF Export
You can write something that generates LaTeX from the wiki and renders a manual to PDF. With packages like hyperref you can retain cross-references as hyperlinks.
Additionally, you can integrate content from multiple sources such as a data dictionary into the LaTeX document, which can be mixed and matched with the wiki content. You could also set the architecture up so it can support cross-referencing that goes either way.
Framemaker could also support this using generated MIF files, and you could also use Lout in a similar way or convert your wiki content to docbook, which would allow you to use any of the many rendering options available to that format.
As an aside, the following Stackoverflow postings discuss various systems for maintaining documentation.
Application (Not a Markup Language) for Producing a User Manual
Can LaTeX be used for producing any documentation that accompanies software?
What tools are used to write documentation?
What tools does your team use for writing user manuals?
How best to write documentation (ideally in latex) targeting both the web (html) and paper (pdf)?
Best tool(s) for working with DocBook XML documents?
What is the recommended toolchain for formatting XML DocBook?
Is a successor for TeX/LaTeX in sight?
Madcap Flare is a help-and-manual authoring tool that uses HTML for the source of each topic. You could pretty easily do a mass import of the Wiki pages. Would then require some cleaning but after that you have a nice single-source system that can output CHM, web-browsable help, PDF, DOC/DOCX, etc.
How are you storing the help source at the moment? Is it MS Word files, MS help, LaTeX?
If you put your help source files under version control then you will get all the benefits of a wiki without having to migrate to a new system - people can make edits to the help files easily - those changes can be tracked, reverted etc. and you get the prettified manuals as before.
I followed Node's links and came across some mediawiki pages that I thought were noteworthy.
Extension:OpenDocument Export
Extension:PDF Writer
Category:Data extraction extensions
I gave a previous answer which may be useful for the "wiki to PDF" part -- look at using the open source PediaPress code or functionality. You can get ODFs from it too, although their PDFs are already quite pretty (but you might want to rebrand it and restyle it for your company I suppose).
My experience to write a plugin for Firefox is below zero. Is someone out there who could point me to sample code on how to get this accomplished in C++ with VS2005/8?
What I need to do with JavaScript in the hosting html page is something like this:
var obj = document.getElementById("MyFFPlugin");
var value = obj.CalculateValue;
// Work with calculated value
The SDK has basic samples on how to write mozzila plugins which can be downloaded here: http://mxr.mozilla.org/seamonkey/source/modules/plugin/tools/sdk/
Here is the official mozilla plugin site http://www.mozilla.org/projects/plugins/
Hope it helps.
I highly recommend using Nixysa http://code.google.com/p/nixysa/, which wraps NPAPI. From the site:
Nixysa is a framework written in
Python to automatically generate glue
code for NPAPI plugins (plugins for
browsers such as Google Chrome or
Firefox), letting you easily expose
C++ classes to Javascript from a
simple IDL representation. Nixysa was
originally conceived for the needs of
O3D, but is flexible enough to support
a wide range of use cases.
Try it
Check out the code following the
instructions here and try the sample
in examples/complex.
The sample includes a Visual Studio 2005 project.