Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

Commit

Permalink
- Misc doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Jan 23, 2010
1 parent 8bd20c5 commit 8e3b353
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions MASHUP.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Serving Suggestions

# Mashing docx with other modules

This is a list of interesting things you could do with docx when mashed up with other modules.
This is a list of interesting things you could do with Python docx when mashed up with other modules.

- [LinkedIn Python API](http://code.google.com/p/python-linkedin/) - Auto-build a Word doc whenever some old recruiting dude asks one.
- [Python Natural Language Toolkit](http://www.nltk.org/) - can analyse text and extract meaning.
- [Lamson](http://lamson-project.org) - transparently modify email attachments.
- [Lamson](http://lamsonproject.org/) - transparently parse or modify email attachments.

Got any ideas? Doing something cool you want to tell the world about? python.docx@librelist.com
Any other ideas? Doing something cool you want to tell the world about? python.docx@librelist.com
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Features for making documents include:
- Paragraphs
- Bullets
- Numbered lists
- Set document properties (author, company, etc)
- Document properties (author, company, etc)
- Multiple levels of headings
- Tables
- Section and page breaks
Expand All @@ -38,7 +38,7 @@ Thanks to the awesomeness of the lxml module, we can:
- Change document properties
- Run xpath queries against particular locations in the document - useful for retrieving data from user-completed templates.

### Getting started
# Getting started

## Making a Document

Expand Down
5 changes: 3 additions & 2 deletions HACKING.markdown → SERVING_SUGGESTIONS.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ Adding Features
# Recommended reading

- The [LXML tutorial](http://codespeak.net/lxml/tutorial.html) covers the basics of XML etrees, which we create, append and insert to make XML documents. LXML also provides XPath, which we use to specify locations in the document.
- The [OpenXML WordML specs and videos](http://openxmldeveloper.org) (if you're stuck)
- The [OpenXML WordML specs and videos](http://openxmldeveloper.org) (if you're stuck). [The OpenXML ECMA spec in particular](http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(DOCX).zip) is the main file you care about.

- Learning about [XML namespaces](http://www.w3schools.com/XML/xml_namespaces.asp)
- The [Namespaces section of Dive into Python](http://diveintopython3.org/xml.html)
- Microsoft's introduction to [the Office (2007) Open XML File Formats](http://msdn.microsoft.com/en-us/library/aa338205.aspx)
- Microsoft's [introduction to the Office (2007) Open XML File Formats](http://msdn.microsoft.com/en-us/library/aa338205.aspx)

# How can I contribute?

Expand Down
2 changes: 1 addition & 1 deletion example-makedocument.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
docbody.append(paragraph('''The docx module has the following features:'''))

# Add some bullets
for point in ['Paragraphs','Bullets','Numbered lists','Multiple levels of headings','Tables']:
for point in ['Paragraphs','Bullets','Numbered lists','Multiple levels of headings','Tables','Document Properties']:
docbody.append(paragraph(point,style='ListBullet'))

docbody.append(paragraph('Tables are just lists of lists, like this:'))
Expand Down

0 comments on commit 8e3b353

Please sign in to comment.