18 Commits

Author SHA1 Message Date
Marc Coury
c6ab0e98df Add images from bytes for presentation and workbook (#295) 2019-07-02 14:54:55 +00:00
Marc Coury
f61dcc30ae Fix runtime panic when making a presentation from a template (#291) 2019-06-21 19:37:04 +00:00
Gunnsteinn Hall
270664ca01
Rename package name to unioffice (#274) 2019-05-04 13:54:29 +00:00
Nikita Kryuchkov
e8bf6a3bb9 Move repository https://github.com/baliance/gooxml to https://github.com/unidoc/unioffice (#273) 2019-05-04 08:18:06 +00:00
Tom Weber
b746aceced Image from data (#251)
* ability to create image from in-memory data

* gitignore: vim swap files
2019-03-29 16:26:51 +00:00
Todd
7f7bedb858 document: fix non-PNG image support
Fixes #188
2018-07-08 18:15:14 -05:00
Todd
8d6c99bcdd presentation: fix use-template example
Fixes #159
2018-03-13 08:55:07 -04:00
Todd
2c86cf181d common: use path.Clean instead of filepath.Clean
This ensures correctly formatted relative filenames on
Windows.  filepath.Clean uses the system seprator character,
while path.Clean always uses a forward slash.

Thanks to @AlexeyUzhva for noticing.

Fixes #146
2018-01-16 15:42:24 -06:00
Todd
96b01f8d98 presentation: add support for images 2017-11-20 18:28:46 -06:00
Todd
8030eab007 presentation: support adding textboxes
Allow adding a textbox to a slide
2017-11-18 11:52:13 -06:00
Todd
f5a8df0deb presentation: initial work for presentations 2017-11-18 11:52:13 -06:00
Todd
427f7b1e45 schema: rename officeDocument to ofc 2017-09-23 10:01:17 -04:00
Todd
599631208a schema: rename drawingml to dml 2017-09-23 10:01:17 -04:00
Todd
cfd74875a6 schema: rename presentationml to pml 2017-09-23 10:01:17 -04:00
Todd
09825ac816 schema: rework schema namespaces to work around Windows issues
The go command on Windows doesn't like long path name. To
work around this, this is the first in a series of changes to
shorten the schema disk path structure in a few places.

Fixes #89
2017-09-23 10:01:17 -04:00
Todd
41e2d6eaec document: add support for rewriting document filenames
The problem this solves is loading and re-saving a document
that uses an odd file structure (e.g. the main body is
not at word/document.xml).  I've seen this occur with spreadsheets
but not with a docx in the wild, however it's fairly simple
to handle in case it occurs.
2017-09-08 18:30:40 -04:00
Todd
f07c57cae7 gooxml: move content types to base package 2017-09-04 11:08:29 -05:00
Todd
4bd04dd2e5 initial commit 2017-08-29 15:06:08 -05:00