Coder Social home page Coder Social logo

astares / artefact Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pharo-contributions/artefact

0.0 1.0 0.0 684 KB

Artefact is a framework to generate PDF documents in Pharo.

Home Page: https://sites.google.com/site/artefactpdf/

License: MIT License

Smalltalk 100.00%

artefact's Introduction

Artefact

Artefact is a framework to generate PDF documents in Pharo.

Artefact is written and supported by Olivier Auverlot and Guillaume Larcheveque (aka The Pasta Team) with contributions from Pharo community

Unit Tests Coverage Status

Pharo 6 Pharo 7 Pharo 8 Pharo 9 Pharo 10 Pharo 11

Description

It is fully written in Smalltalk and doesn't require any native library. Artefact is light, platform independant and offer to users a high level of abstraction in order to easily creating PDF documents.

  • Completely written in Smalltalk (and only Smalltalk),
  • Complete freedom about the order of creation for pages, elements... (no need to follow the document order)
  • Multi format and orientation for pages
  • Page composition based on reusables PDF elements,
  • Extensibility by offering a composition standard to create your own high level elements
  • StyleSheet that can be reused in many documents and avoid wasting time and place with duplication
  • Image support with JPEG and PNG formats
  • Pre-defined high level elements like datagrid
  • Support PDF compression to produce compact files

Demo

Install Artefact

To install Artefact on your Pharo image you can just execute the following script:

Load and use:

Metacello new
	githubUser: 'pharo-contributions' project: 'Artefact' commitish: 'master' path: 'src';
	baseline: 'Artefact';
	load

Check the demo and examples in the "Artefact-Examples" package.

Develop:

If you want to contribut to development load the latest development branch:

Metacello new
	githubUser: 'pharo-contributions' project: 'Artefact' commitish: 'development' path: 'src';
	baseline: 'Artefact';
	load

Add Artefact to your project(s):

To add Artefact to your baseline just add this:

spec
	baseline: 'Artefact'
	with: [ spec repository: 'github://pharo-contributions/Artefact:master/src' ]

Note that you can replace the #master by another branch as #development or a tag as #v1.0.0, #v1.? or #v1.2.? .

Getting started

To start using Artefact, you should look at the

artefact's People

Contributors

astares avatar cdlm avatar ducasse avatar guillep avatar janbliznicenko avatar jecisc avatar larcheveque avatar lin777 avatar olivierauverlot avatar sabinema avatar stephaneggermont avatar

Watchers

 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.