Simple docx and xlsx editor written in python.
Changelog:
- Implemented save as readonly
- Added support for setting column size with alphabetic characters, A, B, C, AA, BB, CC, EEEE
- Implemented column size in xlsx
- Implemented dashed borders for tables and paragraph fontsize
- Fix: test and reference in paragraph.py
- Keeping style file from old document
- searchAndReplace optimize
- Improved searchAndReplace (fix for replacing in different t elements)
- Improved searchAndReplace (footer,header,document)
- Fix: looping through paragraphs in searchAndReplace
- Improved search and replace function in headerfile
- Fix: double reference when adding footer[].xml
- Improved search and replace function in FooterFile
- Implemented method to add formules to column
- Implemented adding data to sheet per column, types numbers and text
- Implemented adding work sheets to xlsx file
- Moved classes from docx_items to universal folder, element and default prefixes
- Implemented basic functionality to create xlsx files
- Implemented hyperlinks on images
- Refactored add image method, only add necessary image extension to [Content_Types].xml
- Implemented anchors in document with hyperlink
- Fix: Make text hyperlink, hold the positions after adding hyperlink
- Fix: When making text hyperlink leave the spaces
- Refactoring
- Implemented Footers (even, odd, first and default settings)
- Fixed search and replace for header files
- Implemented different headers for odd and even pages
- Implemented different first header on page 1
- Add default header implemented, option for different first and even pages coming soon
- Added option to have multiple levels in list (default structure file, future giving style with it)
- Reformated code
- Fixed list position and order
- Fixed table column order
- Implemented breaks and page breaks as elements
- Fixed issue when add an other image extension to existed document. (temp fix add as default all images extensions to [Content_Types].xml)
- option to post width and height with new image (percentages). Default 100%
- Implemented method to add images to document (just the basics)
- Added primary colors for font color and underline color
- Implemented style for paragraph, bold, italic, underline, uppercase, color and font
- Refactoring bunch of code, improvements and working with file and creating from scratch
- Option to create an empty word document from scratch with default settings
- Added default xml files, for creating new docx files
- Added option to give an Heading with an paragraph, implemented heading 1 to 5
- Code improvement
- Added type of list, choose between numeric list or bullets
- Option to add list to custom position in document, first/last/aftertext/beforetext.
- Implemented numeric list to end of document
- Universal method to add element to document with position (first, last, aftertext, beforetext)
- Option to add an table to end of document, create table, add rows, add to document
- Method to make specific text an hyperlink
- Function to add an hyperlink into an new paragraph with custom text as url
- Added default style and spacing to paragraph element
- Add an paragraph after or before paragraph containing specific text
- Add paragraph to end or beginning of file
- Including header / footer search and replace
- Search and replace function
- Copy function