How to export a MindPlan to Word / OpenOffice

MindPlan 2.1 contains a sample export profile called "Concept export", that generates a dynamic website of the current node selection and opens a browser window for display.

Now here is a new sample for the MindPlan export system, that exports the current selection to a MS Word or OpenOffice document.

This sample is a two step export:

1. Extract MindPlan node data in XML format

This part consists of the export profile "Concept export to Word / OpenOffice" that creates a temporary XML file of the node selection data. We export the nodes' title, description, RTF and link target information (only for link nodes and MindPlan links).

2. Automate MS Word / OpenOffice and create the new document

After the XML export, the export script automatically launches a VBScript file (exportxml2doc.vbs), that reads the XML file and talks to Word or OpenOffice (first it tries to contact MS Word, then OpenOffice). At the document's header we create an information area with title/description/RTF of the top export node (e.g. the MindPlan's root node).
Then we create the table of contents and afterwards the node data is exported.

The result looks like this:

Word export of MindPlan nodes

And here is the data source MindPlan:

Data source MindPlan of Word export

Just try the export profile for yourself: download one of the ZIP archives:

Unzip the archive and launch "install.bat". This copies the folder content to a subdirectory of your personal Windows application data directory (C:\Dokuments And Settings\UserXYZ\Application Data\MindPlan).

Then import the file "Concept_export_profile_word-openoffice.mpexp" into the MindPlan export system with the following steps:

  • Start the MindPlan application
  • Choose File/Export/Export to other formats...
  • Click on "Edit profiles"
  • Click on "Import" and select the file "Concept_export_profile_word-openoffice.mpexp" that is part of the archive

Now you can start the Word / OpenOffice export here:

Word-OO-Export-Profileselection_medium.jpg

In a later MindPlan version we'll integrate a direct Word export into the export system.

But this sample is especially interesting for developers, as it shows you how you can send the MindPlan data to any program that can be accessed via OLE/COM (like Powerpoint, Excel or even MS Project).
Just take a look at the export profile and the file "exportxml2doc.vbs". The code is commented. :-)

Update:
We rebuilt the two archives on 2007/04/06, because the VBScript code was not compatible with Word 2000.

Karsten Lehmann | 02. April 2007 00:57:02 | Kommentare (0) | Permanent Link

Archiv

Oktober 2021 (2)
September 2021 (1)
August 2021 (3)
Juli 2021 (2)
Juni 2021 (4)
Mai 2021 (2)
April 2021 (8)
März 2021 (3)
Februar 2021 (7)
Januar 2021 (2)
Dezember 2020 (1)
November 2020 (7)
Oktober 2020 (4)
September 2020 (3)
August 2020 (8)
Juli 2020 (4)
Juni 2020 (8)
Mai 2020 (8)
April 2020 (6)
März 2020 (6)
Februar 2020 (3)
Januar 2020 (2)
Dezember 2019 (6)
Oktober 2019 (10)
September 2019 (5)
Mai 2019 (4)
April 2019 (4)
März 2019 (1)
Februar 2019 (5)
Januar 2019 (3)
Dezember 2018 (6)
November 2018 (3)
Oktober 2018 (8)
September 2018 (4)
August 2018 (4)
Juli 2018 (5)
Juni 2018 (4)
Mai 2018 (3)
April 2018 (2)
März 2018 (3)
Februar 2018 (9)
Januar 2018 (7)
Dezember 2017 (4)
November 2017 (3)
Oktober 2017 (5)
September 2017 (8)
August 2017 (10)
Juli 2017 (4)
Juni 2017 (6)
Mai 2017 (12)
April 2017 (6)
März 2017 (13)
Februar 2017 (6)
Januar 2017 (13)
Dezember 2016 (11)
November 2016 (9)
Oktober 2016 (7)
September 2016 (9)
August 2016 (7)
Juli 2016 (8)
Juni 2016 (3)
Mai 2016 (6)
April 2016 (7)
März 2016 (7)
Februar 2016 (9)
Januar 2016 (9)
Dezember 2015 (8)
November 2015 (9)
Oktober 2015 (13)
September 2015 (10)
August 2015 (8)
Juli 2015 (6)
Juni 2015 (12)
Mai 2015 (14)
April 2015 (10)
März 2015 (10)
Februar 2015 (12)
Januar 2015 (14)
Dezember 2014 (14)
November 2014 (15)
Oktober 2014 (10)
September 2014 (8)
August 2014 (9)
Juli 2014 (21)
Juni 2014 (9)
Mai 2014 (13)
April 2014 (9)
März 2014 (10)
Februar 2014 (12)
Januar 2014 (3)
Dezember 2013 (5)
November 2013 (3)
Oktober 2013 (6)
September 2013 (6)
August 2013 (1)
Juli 2013 (9)
Juni 2013 (2)
Mai 2013 (2)
April 2013 (12)
März 2013 (11)
Februar 2013 (7)
Januar 2013 (10)
Dezember 2012 (11)
November 2012 (9)
Oktober 2012 (5)
September 2012 (11)
August 2012 (9)
Juli 2012 (5)
Juni 2012 (3)
Mai 2012 (12)
April 2012 (3)
März 2012 (8)
Februar 2012 (5)
Januar 2012 (13)
Dezember 2011 (5)
November 2011 (12)
Oktober 2011 (6)
September 2011 (11)
August 2011 (6)
Juli 2011 (10)
Juni 2011 (8)
Mai 2011 (7)
April 2011 (8)
März 2011 (12)
Februar 2011 (7)
Januar 2011 (2)
Dezember 2010 (9)
November 2010 (4)
Oktober 2010 (9)
September 2010 (5)
August 2010 (6)
Juli 2010 (5)
Juni 2010 (6)
Mai 2010 (2)
April 2010 (4)
März 2010 (7)
Februar 2010 (5)
Januar 2010 (6)
Dezember 2009 (1)
November 2009 (7)
Oktober 2009 (2)
August 2009 (1)
Juni 2009 (4)
Mai 2009 (3)
April 2009 (1)
März 2009 (1)
Februar 2009 (1)
Januar 2009 (5)
Dezember 2008 (2)
November 2008 (4)
Oktober 2008 (9)
September 2008 (2)
Juni 2008 (2)
Mai 2008 (6)
April 2008 (4)
März 2008 (6)
Januar 2008 (7)
November 2007 (3)
Oktober 2007 (2)
September 2007 (2)
Juni 2007 (2)
Mai 2007 (1)
April 2007 (5)
Februar 2007 (4)
Januar 2007 (2)
Dezember 2006 (2)
November 2006 (5)