Code Monkey home page Code Monkey logo

docxx's Introduction

DocXX

Introduce

An upgraded version of Duckx that supports adding picture, etc.

Status

Create, read and write Microsoft Office Word docx files. More informations are available in this documentation.

  • Documents (docx) [Word]
    • Read/Write/Edit
    • Change document properties
    • Add picture in Paragraph
    • Add text in Paragraph

Install

Easy as pie!

Quick Start

Here's an example of how to use duckx to read a docx file; It opens a docx file named file.docx and goes over paragraphs and runs to print them:

#include <iostream>
#include <docxx/duckx.hpp>

int main() {

    docxx::Document doc("file.docx", true);   

    for (auto p : doc.paragraphs())
	for (auto r : p.runs())
            r.add_picture(doc, R"(E:\Temp\Test\view.png)", 110, 140);
}

And compile your file like this:
g++ sample1.cpp -ldocxx

Requirements

Donation

Licensing

This library is available to anybody free of charge, under the terms of MIT License (see LICENSE.md).

docxx's People

Contributors

tony2u avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

williamqf-ai

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.