Git Product home page Git Product logo

xmindapi's Introduction

XMindAPI

This small project contains a few samples using the XMind APIs to generate XMind files. As I integrated XMind support into other tools, I kept needing to make a simple sample to figure out how some feature worked. I decided to start collecting them for others to use.

Please see the API documentation on the Xmind wiki for information about how to use the API. I don't work on the team creating this wonderful project, I'm just a user.

Note that this requires the actual XMind jars to work. I have included two jars in the lib directory, since the XMind team does not seem to publish their jars to a public repository.

  • org.xmind.core_3.6.1.jar
  • org.xmind.ui.mindmap_3.6.1.jar

Most features only need the core jar. The ui jar is only needed if you are manipulating styles.

License

These samples are licensed under the Eclipse Public License (EPL) v1.0.

How To Build

These samples include a gradle build file and wrapper. Use the provided gradlew file to create a project for your IDE or a command line runner for the samples. You will need to have a Java 8 SDK installed and your JAVA_HOME environment variable set.

Run "gradlew idea" to generate a project for IntelliJ Idea Run "gradlew eclipse" to generate a project for Eclipse.

Run "gradlew installDist" to build a runnable sample in the build/install/xmindapi directory. From that directory you may run the examples using bin/xmindapi.

Running

The launcher takes a parameter specifying the sample to run. If you provide no parameters, it displays the samples available.

>bin\xmindapi
Missing argument.  Please specify a sample to run.
simpletree - Creates a simple map two levels deep and sets the structure
custommarker - Adds a custom marker to the root topic
markthrough - Demonstrates the markthrough style
importfails - Tries (unsuccesfully) to use IMakerSheet.importFrom to import markers

xmindapi's People

Contributors

sappling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.