Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Merging cells
  FAQ FAQ  Forum Search   Register Register  Login Login

Merging cells

 Post Reply Post Reply
Author
Message
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Topic: Merging cells
    Posted: 24 Mar 10 at 12:35PM
I have a table where I (sometimes) want to write content in 3 cells. In the code below the row is nR and the cell is column 4,5,6
 
But the variable cSvar which contains some words and is too long for cell 4 alone does not show for more than the first word. How can I tell the method that the cell is expanded?
 
 THIS.oPDF.MergeTableCells(TableID, nR, 4, nR, 6)
 THIS.oPDF.SetTableCellContent(TableID2, nR, 4,'<font size="10pt"><b>'+cSvar+'</b></font>')
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 26 Mar 10 at 6:35AM
Hi!

I don't think that this is possible at runtime.
There are still only less html-tags supported by QuickPDF.
Take the max. cell-width i would suggest.

Cheers and welcome here,
Ingo



Edited by Ingo - 26 Mar 10 at 6:35AM
Back to Top
Franz View Drop Down
Beginner
Beginner
Avatar

Joined: 11 Mar 10
Location: Austria
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Franz Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 10 at 2:02PM
@einar:
Merging table cells work as expected.
Try to use the correct table id: you posted 2 different ids so the lib hardly can do what you want ;-)
 
@Ingo:
HTML syntax works here like a charm (at least with version 7.18 up): font size, color, br and so on do not make any trouble in table cells (as far as I tested: some hundred tables some of them span more than 1 page etc.). Everything works including the final height of the table when drawn. I agree that the manual does not say a word about this, although I would see this a feature worth mentioning.
 
Greetings
Franz
 
Back to Top
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Posted: 30 Mar 10 at 9:32PM
Hm,  I must have been blind. Thanks.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store