Hello
1. Cells are combined in this way because this is how the component works. Usually this don't matters as you replaces the content after the merged cells are created.
2. The new line is inserted because otherwise the cells will be empty, and empty cells will have wrong height.
Search found 1570 matches
- Mon Dec 20, 2021 9:11 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Some questions about DocxReadWrite
- Replies: 15
- Views: 3417
- Thu Dec 16, 2021 10:13 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Beginners Questions about formatting
- Replies: 2
- Views: 925
Re: Beginners Questions about formatting
Hello
Please take a look at the 3-FormatText sample.
Please take a look at the 3-FormatText sample.
- Wed Dec 15, 2021 10:06 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Some questions about DocxReadWrite
- Replies: 15
- Views: 3417
Re: Some questions about DocxReadWrite
Hello
Yes, you can do so.
Yes, you can do so.
- Sat Dec 11, 2021 10:52 am
- Forum: XLSReadWritwII 6
- Topic: Lack of focus
- Replies: 3
- Views: 2737
Re: Lack of focus
Hello
Try this:
Try this:
Code: Select all
procedure FocusCell(AGrid: TDrawGrid; ACol, ARow: integer);
begin
AGrid.LeftCol := Max(0,ACol - (AGrid.VisibleColCount div 2));
AGrid.TopRow := Max(0,ARow - (AGrid.VisibleRowCount div 2));
end;
- Thu Dec 09, 2021 12:48 pm
- Forum: AXWWriter and DOCXReadWrite
- Topic: Some questions about DocxReadWrite
- Replies: 15
- Views: 3417
Re: Some questions about DocxReadWrite
Hello
No, you can know the page number because there are no pages in a Word file. Pages are produced when you visualize the document like printing it. And how many pages there will be depends on things like paper size margins etc.
No, you can know the page number because there are no pages in a Word file. Pages are produced when you visualize the document like printing it. And how many pages there will be depends on things like paper size margins etc.
- Wed Dec 08, 2021 5:11 pm
- Forum: AXWWriter and DOCXReadWrite
- Topic: Some questions about DocxReadWrite
- Replies: 15
- Views: 3417
Re: Some questions about DocxReadWrite
Hello
If you want to repeat the same table over several pages, the you can just assign the first table to the rest, like:
If you want to repeat the same table over several pages, the you can just assign the first table to the rest, like:
Code: Select all
var
T: TAXWTable;
begin
T := FDOCX.Editor.Paras.AddTable(6,6);
...
FDOCX.Editor.Paras.AddTable.Assign(T);
...
FDOCX.Editor.Paras.AddTable.Assign(T);
end;
- Wed Dec 08, 2021 8:38 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Some questions about DocxReadWrite
- Replies: 15
- Views: 3417
Re: Some questions about DocxReadWrite
Hello 1. Not the whole header, but you can align the paragraphs: DOCX.Editor.Paras.AppendPara.PAPX.Alignment := axptaRight; 2. Yes, insert a page break at character position 25 in the first paragraph: DOCX.Editor.Paras[0].InsertBreak(acrbtPageBreak,25); 3. Yes, use Default header: DOCX.Editor.Header...
- Thu Nov 25, 2021 10:10 pm
- Forum: XLSSpreadSheet
- Topic: Move focus to selected cell
- Replies: 9
- Views: 22403
Re: Move focus to selected cell
Hello
This question is about TXLSSpreadSheet and not TXLSGrid, which is a toy compared to TXLSSpreadSheet.
This question is about TXLSSpreadSheet and not TXLSGrid, which is a toy compared to TXLSSpreadSheet.
- Thu Nov 25, 2021 10:08 pm
- Forum: XLSReadWritwII 6
- Topic: Lack of focus
- Replies: 3
- Views: 2737
Re: Lack of focus
Hello TXLSGrid is a very simple viewer based on Delphi's TDrawGrid component. It can only can handle the most basic cell formatting. If you want to implement any interaction with the component, please study the documentation for TDrawGrid. Do not confuse TXLSGrid with our TXLSSpreadSheet component. ...
- Sat Nov 20, 2021 8:57 am
- Forum: XLSReadWriteII 3/4/5
- Topic: File encryption/Password protection
- Replies: 1
- Views: 2986
Re: File encryption/Password protection
Hello
Version 5 don't support encryption, it's only supported in version 6.
The Password property is only for protected worksheets, it's not used for encryption.
Version 5 don't support encryption, it's only supported in version 6.
The Password property is only for protected worksheets, it's not used for encryption.
- Wed Nov 10, 2021 2:36 pm
- Forum: AXWWriter and DOCXReadWrite
- Topic: Formating of table
- Replies: 6
- Views: 2743
Re: Formating of table
Hello
Do you use a chinese word/windows? The eastAsia font is used for chinese text.
Do you use a chinese word/windows? The eastAsia font is used for chinese text.
- Thu Nov 04, 2021 9:30 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Tablecells horizontal aligne
- Replies: 2
- Views: 1852
Re: Tablecells horizontal aligne
Hello
Format the paragraph. Example:
Format the paragraph. Example:
Code: Select all
DOCX.Editor.Paras.Last.PAPX.Alignment := axptaCenter;
- Thu Nov 04, 2021 9:29 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Formating of table
- Replies: 6
- Views: 2743
Re: Formating of table
Hello I can't find any problems. Here is an example I used (assuming the first item in the doc is a table): var T: TAXWTable; C: TAXWTableCell; begin T := DOCX.Editor.Paras.Tables[0]; C := T.Cells[0,0]; C.Paras.Last.ClearText; C.Paras.Last.AppendFormattedText('\F"Courier New"\s10 My Text')...
- Mon Oct 11, 2021 9:56 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Title of a table
- Replies: 2
- Views: 2030
Re: Title of a table
Hello
The update is ready now.
Use:
Set title in MS Word:
- Right click table.
- Select Table properites.
- Select Alt text
- Set Title.
In DOCXReadWrite, use: DOCX.Editor.FindTable('TableName');
The update is ready now.
Use:
Set title in MS Word:
- Right click table.
- Select Table properites.
- Select Alt text
- Set Title.
In DOCXReadWrite, use: DOCX.Editor.FindTable('TableName');
- Fri Oct 08, 2021 7:06 am
- Forum: AXWWriter and DOCXReadWrite
- Topic: Title of a table
- Replies: 2
- Views: 2030
Re: Title of a table
Hello
This is not supported now but we will post an update next week supporting this.
This is not supported now but we will post an update next week supporting this.