• Stars
    star
    413
  • Rank 104,801 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

C++ library for creating and modifying Microsoft Word (.docx) files

Build Status GitHub license GitHub release Twitter follow

DuckX

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

DuckX was created when I was looking for a C++ library which can properly parse MS Word .docx files, but couldn't find any

Status

  • Documents (docx) [Word]
    • Read/Write/Edit
    • Change document properties

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 <duckx/duckx.hpp>

int main() {

    duckx::Document doc("file.docx");   

    doc.open();

    for (auto p : doc.paragraphs())
	for (auto r : p.runs())
            std::cout << r.get_text() << std::endl;
}

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

Install

Easy as pie!

Compiling

The preferred way is to create a build folder

git clone https://github.com/amiremohamadi/DuckX.git
cd DuckX
mkdir build
cd build
cmake ..
cmake --build .

Requirements

Donation

Please consider donating to sustain our activities.

BITCOIN: bc1qex0wdwp22alnmvncxs3gyj5q5jaucsvpkp4d6z

Licensing

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

More Repositories

1

bpfsnake

snake in bpftrace
36
star
2

peylang

Peyman programming language
C++
27
star
3

bash-mardom-azar

بشِ مردم آزار!
25
star
4

tunl

serverless v2ray tunnel
Rust
21
star
5

vmessy

a messy implementation of vmess protocol for educational purposes
Rust
16
star
6

miv

Stupid Text Editor
C++
15
star
7

tcpp

Implementing TCP protocol in C++
C++
14
star
8

MBOX

Check your Gmail on linux via TERMINAL!
Shell
13
star
9

Soundify

Soundify exit codes 🎶
Python
10
star
10

grandedesafio-cheater

Cheater for https://grandedesafio.com
Python
9
star
11

ikautofill

a tiny script to fill https://www.ikco.ir forms automatically
Python
8
star
12

k-map

Karnaugh Map Simplifier
C++
6
star
13

leperchaun

bug bounty automation
Python
6
star
14

SturcBot

Telegram bot for sturc.birjand.ac.ir
Python
5
star
15

rw

A minimal library to parse and work with binary stored files in C++ (read and write lib)
C++
5
star
16

tomato

rule-based tunnel in Rust
Rust
5
star
17

dotfiles

💾 My dotfiles
Lua
4
star
18

django-restful-api

School Management System REST API (using django)
Python
4
star
19

rePython

ReBuild a minimal python for fun :)
C
4
star
20

Crun

Simple shell script to run cpp files easier!
Shell
4
star
21

PCM

a linux kernel module for producer-consumer problem
C
3
star
22

Pashiz

Yet another shitcoin
Rust
3
star
23

own-sql-db

Only Training!!
C
3
star
24

http-parser

http parser
Rust
3
star
25

gasort

genetic algorithm for sorting large range of numbers (A.I course)
Python
3
star
26

bff

brainfuck interpreter
C++
3
star
27

SocketUniversitySystem

Basic University System using TCP sockets
Java
2
star
28

Termak

Stupid terminal emulator based on VTE
C
2
star
29

Huffman

Huffman encoder implementation in C++
C++
2
star
30

Note-Api

Save your notes!
JavaScript
2
star
31

Personal-Blog

📘 Personal blog
CSS
2
star
32

ctf-tools-docker

CTF common tools as a Dockerfile
Dockerfile
2
star
33

amiremohamadi.github.io

HTML
2
star
34

LoebnerPrize

loebner prize winners
TeX
1
star
35

EightPuzzle

solving 8-puzzle using searching algorithms (A-STAR, IDS, ...) (A.I course)
Python
1
star
36

ctf-writeups

ctf writeups
1
star
37

ShamsiCalendar

A simple shamsi calendar for linux
Shell
1
star
38

awesome-homeworks

Collection of awesome homeworks
1
star
39

mtg-for-paas

MTPROTO on PaaS
Shell
1
star
40

opencv-sample

opencv sample for birjand.ac.ir python presentation
Python
1
star
41

python-course

birjand python course
1
star
42

Presentations

My Presentations Collection
JavaScript
1
star
43

fpga-presentation

ارائه درس طراحی کامپیوتری سیستم های دیجیتال
JavaScript
1
star
44

go-ppk

PuTTY private key (.ppk) library in pure golang
Go
1
star