Version history

Questions and answers on how to use DOCXReadWrite
Post Reply
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Version history

Post by larsa »

Version history

2.00.52
! Bug fixes.

2.00.50
! Assigning CHPX.FontName did not work.

2.00.49
! Formatting was not saved for complex fields.

2.00.48
+ Find table by title.
Set title in MS Word:
- Right click table.
- Select Table properies.
- Select Alt text
- Set Title.

In DOCXReadWrite, use: DOCX.Editor.FindTable('TableName');

2.00.47
+ Support for code pages when reading RTF files.

2.00.45
! Bookmars was not included when appending documents.
+ Support for Table of Content. Example:
var
DOCX: TDOCXReadWriteVcl;
P : TAXWLogPara;
TOC : TList<TAXWLogPara>;
begin
DOCX := TDOCXReadWriteVcl.Create(Nil);
try
TOC := TList<TAXWLogPara>.Create;
try
DOCX.Editor.Paras.AppendPara.BeginTOC('Table of Content','\o "1-9"');

TOC.Add(DOCX.Editor.Paras.AppendPara);
TOC.Add(DOCX.Editor.Paras.AppendPara);
TOC.Add(DOCX.Editor.Paras.AppendPara);

TOC[0].AddTOCItem('TOC item 1');
TOC[1].AddTOCItem('TOC item 2');
TOC[2].AddTOCItem('TOC item 3');

TOC[2].EndTOC;

DOCX.Editor.Paras.AppendPara.AddTOCReference(TOC[0],'TOC 1');
DOCX.Editor.Paras.AppendPara('Text...');
DOCX.Editor.Paras.AppendPara.AddTOCReference(TOC[1],'TOC 2');
DOCX.Editor.Paras.AppendPara('Text...');
DOCX.Editor.Paras.AppendPara.AddTOCReference(TOC[2],'TOC 3');
DOCX.Editor.Paras.AppendPara('Text...');
finally
TOC.Free;
end;
finally
DOCX.Free;
end;


2.00.44
! Horizontal lines where saved with wrong color (white instead of black).

2.00.43
+ Support for language specific numberings. Use the OnNumbering event.
! wrong characters in RTF files.
! Justify paragraphs not correct if there was text with different formatting.

2.00.41
! Suffix property in numbering not saved.
! Full justification in PDF did not work.

2.00.40
! Text boxes at the wrong position.

2.00.38
! Wrong placement of pictures.
! Table row right borders not aligned.

2.00.37
! Huge speed improvements when adding paragraphs. Use BeginUpdate/EndUpdate.

2.00.36
! AXWReports: Extra paragraph in table cells.

2.00.35
! Missing Numberings.Assign

2.00.33
! Formatting was lost when using PlainText on bookmarks and the bookmark was at the beginning of a paragraph.

2.00.32
! Appending HTML replaced all existing text. It's now appended to the end of the document.

2.00.31
! Unicode character was followed by a "?".

2.00.30
! Wrong tab alignment.

2.00.29
! "Char run is atom" exception when replacing text.

2.00.28
! Writing PDF with fonts size larger than 512 didn't work. Font size is now limted to max 512pt.

2.00.27
! Exception on some files with picture in header.
! Missing character properties in table styles.

2.00.26
! Table alignment was not saved.

2.00.25
! Tabs where missing in reports.

2.00.24
! Error when saving headers with pictures.

1.03.12 AXWWriter
! Clear didn't work.

1.03.11 AXWWriter
! Wrong table width after reading saved file.

1.03.10 AXWWriter
! Wrong position on pictures in table cells.
! Mouse wheel error in FMX.

1.03.09 AXWWriter
! Exception when spell checking.

1.03.08 AXWWriter
! Missing text.
! Pressing backspace at the begining of a tbale cell deleted the entire row.
! Undo didn't work in tables.
! Selecting text with mouse+left button in FMX didn't work.

2.00.23
+ When using PlainText, soft line breaks are now saved as CR/LF.

1.03.07 AXWWriter
+ Preview upport for RTL documents.
+ Delete words left/right with Ctrl+Delete and Ctrl+Backspace.

1.03.06 AXWWriter
! Scroll whell didn't work in FMX.
! Copy paste error in tables.
! Wrong default font.

1.03.05 AXWWriter
! Missing footnotes.
! Ctrl-C didn't work in headers/footers.

1.03.04 AXWWriter
! Wrong footer displayed.
! Cursor was not I-Beam over text.
! Wrong scrolling
! Pages with manual page breaks didn't work.

2.00.19
! AXWWriter, Fmx: Component received tabs and return when not having focus.

2.00.18
! Metafiles in RTF didn't work.

2.00.17
! Large graphics caused unwanted page break.
! Pictures placed wrong in print.

2.00.16
+ Support for watermarks. Watermarks are in the headers. Example:
FDOCX.Editor.MainDoc.Headers.AddDefault;
FDOCX..Editor.MainDoc.Headers.Default_.Watermark := 'My Watermark';

2.00.15
! Metafiles in RTF didn't work.

2.00.14
! Shapes with pictures where not copied in reports.

2.00.13
! Pictures in shapes didn't work.

2.00.12
! Missing cell borders when importing RTF.

2.00.11
! Exception when creating reports.
! Default tab stops where not saved.
! Negative indention didn't work.

2.00.10
+ New method: LoadFromStream.
! Exception when reading some files with Wordart.

2.00.08
! East asia fonst where not written.
! Exception when using Firemonkey and Metafiles.
! Tabs and indentation didn't work correct.

2.00.06
! Paras.Assign didn't work correct. Could create invalid files an images where not copied correct.

2.00.05
! Exception when closing some files with bookmarks.
! Exception on some files when opening mutiple times.

2.00.04
! Fixed issues when replacing text.

2.00.03
+ AXWWriter: support for Firemonkey.
! Document was not clear:d before reading file.

2.00.02
+ New method, TAXWTable.AutoSizeColumns. Use this to set the size of the columns in a table to the cell width.
! Tabs in styles where not saved.

2.00.01
! Wrong character properties when inserting text.

1.01.36
! Table column width could not be set due to a bug in a previous update.

1.01.35
! FileToCode generated wrong code for pictures.

1.01.33
! Exception when creating reports.

1.01.33
! "Ghost" TDOCXReadWrite component on the form when dropping TAXWReport component.
! Exception when compiling TAXWReport`.

1.01.32
+ New property TAXWTable.TAPX.WidthType. Set this to atwtAuto for automatic width of table cells.
! Some tables where not displayed correct.
! Missing symbol characters.

1.01.31
+ New method: TAXWLogDocEditor.Append(ADoc: TAXWLogDocEditor);
Use this to append another document to an existing.

1.01.30
! Lost table formatting.
! Wrong default paragraph properties.

1.01.29
! Error in bookmarks when writing.
! Files with metafile pictures caused an exception.

1.01.28
! Exception when deleting text.

1.01.27
+ New methods to object TAXWLogDocEditor:
procedure AppendRichText(const AStream: TStream); overload;
procedure AppendRichText(const AFilename: AxUCString); overload;

procedure AppendHTMLText(const AStream: TStream); overload;
procedure AppendHTMLText(const AFilename: AxUCString); overload;

Use these methods to append Rich Text or HTML files to the document.
Example: DOCX.Editor.AppendRichText('RichText.RTF');

1.01.26
! XE5/XE6 C++ Builder generated invalid HPP files.

1.01.25
! Missing properties in styles.

1.01.24
! Lost images when using D7 -> XE.
! Wrong number of max rows in tables (2048 instead of 32768).

!1.01.23
+ Better image support. Supported formats are now: BMP,JPG,PNG,GIF,EMF,WMF,TIF

1.01.22
! Stroked property didn't work on text boxes.

1.01.21
! Exception in FileToCode on some files with tables.

1.01.20
! Errors when reading RTF files with frames and pictures.

1.01.19
! Replacing text at end of paragraphs could be wrong if the last character was a tab.

1.01.18
! Cell margins was not saved.
! Default font was not saved.
! Line spacing could be wrong.

1.01.17
! Exception on some documents.
! Headers/footers could be missing.
! Setting line spacing type to anything but Multiple didn't work.

1.01.16
! AXWReports: When reports contained tables, there could be a first empty paragraph in the cells.

1.01.15
! Find/replace didn't work in hedaers/footers.

1.01.14
! Landscape pages didn't work correct.

1.01.13
+ Support for frames.
! Table widths could be wrong.
! Some fields could cause an exception when written.

1.01.12
! Table widths where not written.
! Character properties on controls where not written.

1.01.11
! Exception when replacing text.

1.01.10
! Table styles where not implemented correct.

1.01.09
! Character properties in paragraph properties where not handled correct.

1.01.08
! Problems with printing.

1.01.07
! Some fields where missing.

1.01.05
! Files created with D7 - DXE could be corrupt.

1.01.04
! Wrong unicode characters in RTF files.
! Tabs in table cells could be wrong.
! Wrong line width in tables.
! Better selection of default styles.
! Other minor fixes.

1.01.03
! Exception if a word was wider than the paper.
! Missing pictures in headers/footers.
! Wrong position of pictures when printing.
! Wrong table cell margins.
! Missing table border lines in saved files.
! Some non-latin text where not printed correct.
! Other minor fixes.

1.01.02
! Styles where not implemented correct.
! Support for more field codes.
! Exception when read some fields (no separate symbol in complex fields);
! Top and bottom pragraph borders in headers/footers where not visible.
! Wrong text vertical offset when there was headers with pictures.
! Extra linebreak if right-tabs where placed at the right margin.
! Other minor fixes.

1.00.01
! DOCX files where empty when written and the component was compiled by DX10.

1.00.00
+ First release
Lars Arvidsson, Axolot Data
Post Reply