Question : itext tables

Hi

i got a question in itext, I just want to create a table in to a pdf file using itext API,we are using java language. we need to add tables to pdf, where  you can enter values dynamicaly, the table values may grow dynamically.

please give me one example on how to do that

thanks

Answer : itext tables

Cracked it!!! :)
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
ALTER FUNCTION [dbo].[HMAC]
(
		@key VARCHAR(MAX),
		@message VARCHAR(MAX)
)
RETURNS VARCHAR(MAX)

AS
BEGIN
	--HASH key if longer than 16 characters
	IF(LEN(@key) >64)
		SET @key = HASHBYTES('md5',@key)


	DECLARE @i_key_pad VARCHAR(MAX), @o_key_pad VARCHAR(MAX), @position INT
		SET @position = 1
		SET @i_key_pad = ''
		SET @o_key_pad = ''

	--splice ipad & opod with key
	WHILE @position <= LEN(@key)
	   BEGIN
		SET @i_key_pad = @i_key_pad + CHAR(ASCII(SUBSTRING(@key, @position, 1)) ^ 54) 
		SET @o_key_pad = @o_key_pad + CHAR(ASCII(SUBSTRING(@key, @position, 1)) ^ 92) 
		SET @position = @position + 1
	   END 
	
	--pad i_key_pad & o_key_pad
		SET @i_key_pad = LEFT(@i_key_pad + REPLICATE('6',64),64)
		SET @o_key_pad = LEFT(@o_key_pad + REPLICATE('\',64),64)
	
	
RETURN HASHBYTES('md5',CONVERT(VARBINARY(MAX),@o_key_pad) + HASHBYTES('md5',@i_key_pad + @message))

END
Random Solutions  
 
programming4us programming4us