Giter Site home page Giter Site logo

uniqueck / asciidoctorj-office-extension Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 1.0 108 KB

A AsciidoctorJ extension to convert excel sheets as table.

License: MIT License

Java 100.00%
asciidoc asciidoctor asciidoctorj office asciidoctor-extension

asciidoctorj-office-extension's Introduction

AsciidoctorJ Office Extension

GitHub Actions MIT License badge

This AsciidoctorJ extension helps you to use office documents in your asciidoc toolchain.

Installation

To use this extension declare it as a dependency in asciidoctor-maven-plugin configuration.

<plugin>
	<groupId>org.asciidoctor</groupId>
	<artifactId>asciidoctor-maven-plugin</artifactId>
	<version>2.0.0-RC.1</version>
	<executions>
		<execution>
			<id>output-html</id>
			<phase>generate-resources</phase>
			<goals>
				<goal>process-asciidoc</goal>
			</goals>
			<configuration>
				<backend>html</backend>
			</configuration>
		</execution>
	</executions>
	<dependencies>
		<dependency> <!--(1)-->
			<groupId>de.uniqueck.asciidoctorj.extensions</groupId>
			<artifactId>asciidoctorj-office-extension</artifactId>
			<version>0.1.0</version> <!--(2)-->
		</dependency>
	</dependencies>
</plugin>
  1. asciidoctorj-office-extension is added

  2. check for the latest version at Maven Central

Microsoft Powerpoint Extension

slide macro

slide::/path/to/powerpointFile.pptx[slideNumber=1]

This macro generate an image from the first slide from the given powerpointFile.pptx and embedded it in your asciidoc document.

Currently only Microsofts *.pptx format is supported.

Attributes

  • slides-dir-name output directory name for converted images from slides

Microsoft Excel Extension

excel macro

excel::/path/to/excel.(xlsx|xls)[sheetName=Table1]

This macro generate a asciidoc table based on your excel sheet. Currently supported formats are xls and xlsx.

Attributes

  • sheetName name of sheet to be converted to AsciiDoc table

asciidoctorj-office-extension's People

Contributors

crea-doo avatar uniqueck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

crea-doo

asciidoctorj-office-extension's Issues

Excel row- & col-span

I just stumbled upon this project and I have to say I think it is great and quite helpful!
I will reference it from docToolchain asap.

I've also seen that you noted down as open issues the implementation of row- and col-span for excel.
Have you checked out the code in docToolchain for the exportExcel-Task?

https://github.com/docToolchain/docToolchain/blob/master/scripts/exportExcel.gradle

It is capable of handling row- and col-spans, alignments, col-width and background colors.

Gradle?

Have you already tried to get this up and running with gradle?
I ask, because we currently to to integrate this into docToolchain. And it seems a simple reference to your lib isn't enough...

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.