Search found 6 matches

by Gasper
Tue Apr 16, 2024 5:48 am
Forum: AXWWriter and DOCXReadWrite
Topic: Table alignment not applying when saving document
Replies: 2
Views: 510

Re: Table alignment not applying when saving document

For anyone facing the same issue - the fix is to apply update 2.00.26 where they fixed a bug with table alignment not being saved.
by Gasper
Mon Feb 26, 2024 9:00 am
Forum: AXWWriter and DOCXReadWrite
Topic: Table alignment not applying when saving document
Replies: 2
Views: 510

Re: Table alignment not applying when saving document

Would anyone happen to have a solution for this please? I'm at a loss of what else to try. if docx.Editor.Footers.Default_.Paras.Items[0].Type_ = alptTable then begin writeln(sLineBreak + 'Item ' + IntToStr(Counter) + ' of footer is a table'); footerTable := docx.Editor.Footers.Default_.Paras.Tables...
by Gasper
Wed Feb 21, 2024 7:55 am
Forum: XLSReadWriteII 3/4/5
Topic: Invalid XLate code
Replies: 0
Views: 786

Invalid XLate code

Hello! We are using TXLSReadWriteII5 to export DataSets. Our implementation works unless we are working with a huge amount of data, at which point the function TXLSCellMMU.XLateToCellType in unit XLSCellMMU5 raises an 'Invalid XLate code' exception. While browsing the forum for answers we found this...
by Gasper
Wed Feb 21, 2024 7:30 am
Forum: AXWWriter and DOCXReadWrite
Topic: Table alignment not applying when saving document
Replies: 2
Views: 510

Table alignment not applying when saving document

I am facing an issue when saving our docx template that contains a table. The table is aligned to the center of the document, however when I load and save the tamplate it gets aligned to the right. I have made a very simple test project to test this. docx := TDOCXReadWriteVcl.Create(nil); docx.LoadF...
by Gasper
Tue Feb 20, 2024 8:26 am
Forum: AXWWriter and DOCXReadWrite
Topic: Keep CHPX of table when adding rows
Replies: 2
Views: 262

Re: Keep CHPX of table when adding rows

This did the trick! Thank you!!
by Gasper
Wed Feb 07, 2024 8:17 am
Forum: AXWWriter and DOCXReadWrite
Topic: Keep CHPX of table when adding rows
Replies: 2
Views: 262

Keep CHPX of table when adding rows

I'm adding rows to a TAXWTable and I want those rows to keep the same formatting (font, font size, color, etc.) as the first row. //ATable: TAXWTable, TableRow: TAXWTableRow TableRow := ATable.Rows.Add; TableRow.Assign(ATable[0], False); //Font of first cell of first row is 'Times New Roman' (Also t...