Search found 19 matches

by MaxChan
Tue Feb 18, 2020 7:25 am
Forum: AXWWriter and DOCXReadWrite
Topic: Add HTML to DOCX
Replies: 1
Views: 12378

Add HTML to DOCX

Hi, Is there a way to append html text without overwrite the existing content. Code as below, It will only show b.html content. a.html will be gone. DOCX.Editor.AppendHTMLText('a.html'); DOCX.Editor.AppendHTMLText('b.html'); Any way to append to the bottom on Editor and keep editing? I am using TDOC...
by MaxChan
Thu May 02, 2019 12:27 pm
Forum: AXWWriter and DOCXReadWrite
Topic: Search and set the cursor as edit point
Replies: 1
Views: 4411

Search and set the cursor as edit point

I want to find the 'Tag string', then replace the Tag string with Para Bullet. I cannot location the cursor to the "Tag String', any idea? DOCX.Editor.Selections.Clear; DOCX.Editor.FindReplace.BeginFind('Tag string'); // What code for the cursor to point at the search tag index? // Start bullet...
by MaxChan
Wed Nov 08, 2017 6:13 pm
Forum: XLSSpreadSheet
Topic: Print excel directly
Replies: 1
Views: 6756

Print excel directly

Hi,

Is there a way to print the sheet of TXLSSpreadSheet direct to printer?

Thank you very much!
by MaxChan
Thu Oct 05, 2017 7:32 am
Forum: XLSReadWritwII 6
Topic: String format inside a cell
Replies: 2
Views: 2584

Re: String format inside a cell

Thanks!

I tested, it only accept 1 format, right?
when I apply this '<b><u>GENERAL DESCRIPTION:</u></b> '

I only got underline applied.

Thank you very much!
by MaxChan
Thu Sep 21, 2017 4:01 pm
Forum: XLSReadWritwII 6
Topic: String format inside a cell
Replies: 2
Views: 2584

String format inside a cell

Hi, I am able to change the format of the whole cell.

How to change the format inside the cell? I want to BOLD some words in the cell, not all the words within that cell.
Eg:
Cell 1,1 contains below.
(bold Description): TEST
(bold Model): ABC
by MaxChan
Thu Jul 20, 2017 6:52 am
Forum: XLSSpreadSheet
Topic: Input new line inside a cell
Replies: 1
Views: 6148

Input new line inside a cell

Dear Support,

How to input multiple lines text into a single cell? Normally in MSExcel, I click Alt-Enter to next row.

Is there any replacement for this task?
by MaxChan
Tue Jun 20, 2017 7:57 am
Forum: AXWWriter and DOCXReadWrite
Topic: Insert text into TDOCXreadWriteVcl
Replies: 1
Views: 5397

Insert text into TDOCXreadWriteVcl

Dear Support,

I am able to insert plain text into word doc.
Para.AppendPlainText(CHPX, Tmemo.text );


Is there a way to insert RICHTEXT content? the content from a Trichedit.
And keep the formatting?

Thank you very much!
by MaxChan
Mon Mar 27, 2017 4:41 pm
Forum: XLSSpreadSheet
Topic: Key action and behavior.
Replies: 1
Views: 6393

Key action and behavior.

Dear Support, When I focus on a cell, and press "tab", it won't jump to next cell. 1) How to set "Tab" key press and goto next cell? When I input value into a cell, it will always append to the old value. Say: I have a cell R1,C1 value is '1234', then I focus on it and start inpu...
by MaxChan
Fri Feb 24, 2017 11:18 am
Forum: XLSSpreadSheet
Topic: AutoWidthCols code example
Replies: 3
Views: 7877

Re: AutoWidthCols code example

Dear Larsa, Still not work, event I just pull XSS.XLS[0].AutoWidthCols(0,100); Is there anyway that I can set the width of all column. I tried XSS.XLS[0].Columns[0].CharWidth := 200; XSS.XLS[0].Columns[0].PixelWidth := 200; The width of column no have effect. Also, tried xss.Repaint; XSS.InvalidateS...
by MaxChan
Thu Feb 23, 2017 6:16 am
Forum: XLSSpreadSheet
Topic: AutoWidthCols code example
Replies: 3
Views: 7877

AutoWidthCols code example

Dear Support, I try to set the col width to auto. But it never works. Do you have any example code for "AutoWidthCols"; My code: First column - fix width to 200. XSS.XLS[0].Columns[0].CharWidth := 20; XSS.XLS[0].Columns[0].PixelWidth := 200; The other column - autowidth. XSS.XLS[0].AutoWid...
by MaxChan
Thu Feb 23, 2017 4:50 am
Forum: XLSSpreadSheet
Topic: Delete button click on TXLSSpreadSheet
Replies: 1
Views: 6398

Delete button click on TXLSSpreadSheet

Dear Support,

When I click on "DEL" button on a cell or selected cells in TXLSSpreadSheet, it will removed the content and formatting.

Is there anyway to prevent this? I need the formatting will always stay the same.

thank you very much!
by MaxChan
Mon Jan 16, 2017 11:05 am
Forum: XLSSpreadSheet
Topic: read merge cell value
Replies: 2
Views: 7435

read merge cell value

I have problem on read the merge cell value.
Merge cell (A1,B1) and assigned a value to it.I can get value using XLS[0].Asstring[0,0] but not XLS[0].Asstring[1,0]
since cell [1,0] is already merged.

Is there any way to read merged cell value?

thanks.
by MaxChan
Mon Jan 16, 2017 8:48 am
Forum: XLSSpreadSheet
Topic: Read only or write protect for the cell
Replies: 2
Views: 7072

Re: Read only or write protect for the cell

Got it, Thank you very much!
by MaxChan
Thu Jan 12, 2017 10:47 am
Forum: XLSSpreadSheet
Topic: Read only or write protect for the cell
Replies: 2
Views: 7072

Read only or write protect for the cell

Dear Axolot,

How to make the cell readonly or write protect? Not allow user to change the value of specif cell.

best regards,
Max
by MaxChan
Sun Dec 04, 2016 3:38 pm
Forum: XLSSpreadSheet
Topic: Load image from Stream and insert to XLS
Replies: 1
Views: 6459

Load image from Stream and insert to XLS

Dear Support,

I am able to load the image and insert into XLS SHEET.
var Image: TXLSDrawingImage;
Image := XSS.XLS[0].Drawing.InsertImage( 'resource\psd-icon.png' ,1,1,0,0,1.25);

But I tried to use TMemoryStream it have error.

Do you have an example that load from stream?

thank you very much!