The Examples folder in the installation directory
contains complete example projects:
- WordConv is a simple command line
utility to convert Word documents to other formats.
- Viewer is a simple Word document
viewer with the ability to save as different file formats.
- Inspector is an application which
allows you to view and examine the internal structure of Word
documents.
- Editor is an application which
allows you to edit the internal structure of Word documents.
Most of the example projects are small and simple to understand.
For example the Viewer is a complete application in only a few
hundred lines of code. The converter is perhaps only some tens of
lines.
The exception here is the Inspector project which is
sophisticated and complex. It is the kind of project you are likely
to use as a utility rather than to obtain an understanding of how
to use WordGlue.
The WordGlue Inspector comprises a control panel which shows the
tree structure of the document and a view window which shows the
document. You can:
- Click on an element to highlight it in the view window or you
can shift hover over the view window to find the element in the
tree.
- View the DOC reflow process as a real time animation and you
can freeze frame and step backwards and forwards.
- View frame and style properties; change them to see the effect
on the document.
- Get the original XML on which an element is based by right
clicking on the tree element.
- Save as a variety of formats including PDF, XPS and PNG.
Plus it includes many other useful features you will find out
about when you are using it.