Thanks alot!

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] 
Gesendet: Montag, 26. März 2012 08:38
An: [email protected]
Betreff: iText-questions Digest, Vol 70, Issue 69

Send iText-questions mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/itext-questions
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of iText-questions digest..."


Today's Topics:

   1. Parse a StyledDocument from a JTextPane ([email protected])
   2. Re: Parse a StyledDocument from a JTextPane (1T3XT BVBA)
   3. [SPAM] Re: TSA sha-2, RSA algoritm (mkl)
   4. Re: [SPAM] Re: TSA sha-2, RSA algoritm (Dixit Sangeeta)
   5. Exporting current webpage as PDF (Ibrar Hussain)
   6. Re: TSA sha-2, RSA algoritm (1T3XT BVBA)


----------------------------------------------------------------------

Message: 1
Date: Sat, 24 Mar 2012 15:44:13 +0100
From: <[email protected]>
Subject: [iText-questions] Parse a StyledDocument from a JTextPane
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

 

I?ll start my membership in this group with a newbie question:

 

Can someone show me (or point me to a page in the book) how to parse a
StyledDocument with iText?

 

Thanks a lot,

 

Jannis

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sat, 24 Mar 2012 15:50:05 +0100
From: 1T3XT BVBA <[email protected]>
Subject: Re: [iText-questions] Parse a StyledDocument from a JTextPane
To: Post all your questions about iText here
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

On 24/03/2012 15:44, [email protected] wrote:
>
> Can someone show me (or point me to a page in the book) how to parse a 
> StyledDocument with iText?
>

Book: page 491
StyledDocument: http://1t3xt.be/?0f1
How to parse it: http://1t3xt.be/?117
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 25 Mar 2012 04:50:46 -0700 (PDT)
From: mkl <[email protected]>
Subject: [iText-questions] [SPAM] Re: TSA sha-2, RSA algoritm
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Attila,


aszomor wrote
> Which date we used in PdfPKCS7.VerifyCertificates for  PAdES-LTV 
> TimeStampDate or the latest SignDate from sugnatures ?

Are you asking which date you _should_ use as parameter for
VerifyCertificates?

If the validation model for the PKIs in question is 'shell', you either have
to use the current date or at least (if by verifying backwards the
timestamps as recommended in the PAdES specification you know you can trust
them) a date not older than that of the earliest document time stamp added
after the signature in question.

If the validation model is 'chain', you have to tweak that method to for
each certificate use the date of its usage (signing of document or of child
certificate in the certificate path) as far as you can trust it. Depending
on the cirsumstances (e.g. legal requirements), 'trust' may or may not
require timestamps.

If the circumstances require you to not only check for revocation but also
for existence, the dates you can use may even be more restricted.

Regards,   Michael

--
View this message in context:
http://itext-general.2136553.n4.nabble.com/TSA-sha-2-RSA-algoritm-tp4498440p
4503040.html
Sent from the iText - General mailing list archive at Nabble.com.



------------------------------

Message: 4
Date: Sun, 25 Mar 2012 13:16:07 +0100
From: "Dixit Sangeeta" <[email protected]>
Subject: Re: [iText-questions] [SPAM] Re: TSA sha-2, RSA algoritm
To: "Post all your questions about iText here"
        <[email protected]>
Cc: [email protected].
Message-ID:
        
<5b3b0eb18954e1449f64311c9425291f0c186...@evra.cardservices.cardcorp.net>
        
Content-Type: text/plain;       charset="us-ascii"

Hi,

How to set cell Height dynamic.
Based on the text length height should vary.

-----Original Message-----
From: mkl [mailto:[email protected]]
Sent: 25 March 2012 17:21
To: [email protected]
Subject: [iText-questions] [SPAM] Re: TSA sha-2, RSA algoritm

Attila,


aszomor wrote
> Which date we used in PdfPKCS7.VerifyCertificates for  PAdES-LTV 
> TimeStampDate or the latest SignDate from sugnatures ?

Are you asking which date you _should_ use as parameter for
VerifyCertificates?

If the validation model for the PKIs in question is 'shell', you either have
to use the current date or at least (if by verifying backwards the
timestamps as recommended in the PAdES specification you know you can trust
them) a date not older than that of the earliest document time stamp added
after the signature in question.

If the validation model is 'chain', you have to tweak that method to for
each certificate use the date of its usage (signing of document or of child
certificate in the certificate path) as far as you can trust it.
Depending
on the cirsumstances (e.g. legal requirements), 'trust' may or may not
require timestamps.

If the circumstances require you to not only check for revocation but also
for existence, the dates you can use may even be more restricted.

Regards,   Michael

--
View this message in context:
http://itext-general.2136553.n4.nabble.com/TSA-sha-2-RSA-algoritm-tp4498
440p4503040.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/ Please check the
keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
This email and any attachments are confidential and intended solely for the
addressee and may also be privileged or exempt from disclosure under
applicable law. If you are not the addressee, or have received this email in
error, please notify the sender and immediately delete it from your system.
Do not copy, use, disclose or otherwise act upon any part of this email or
its attachments.

Internet communications are not guaranteed to be secure or virus-free. The
Barclays Group does not accept responsibility for any loss arising from
unauthorised access to, or interference with, any internet communications by
any third party, or from the transmission of any viruses. Replies to this
email may be monitored by the Barclays Group for operational or business
reasons.

Any opinion or other information in this email or its attachments that does
not relate to the business of the Barclays Group is personal to the sender
and is not given or endorsed by the Barclays Group.

Barclaycard is a trading name of Barclays Bank PLC. Registered in England.
Registered No: 1026167. Registered Office: 1 Churchill Place, London, E14
5HP. Barclays Bank PLC is authorised and regulated by the Financial Services
Authority.



------------------------------

Message: 5
Date: Sun, 25 Mar 2012 12:50:33 +0000
From: Ibrar Hussain <[email protected]>
Subject: [iText-questions] Exporting current webpage as PDF
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"


Hi,
I am trying to export the current web page as a pdf but am having problems.
My code is shown below:
private void buttonPDF_Click(object sender, System.EventArgs e)    {
//Get page URL        string currentURL = Request.Url.ToString();
        //Create new objects        MemoryStream MStream = new
MemoryStream();        Document document = new Document();
        //Attempt to create writer that listens to the document        try
{            PdfWriter writer = PdfWriter.GetInstance(document, MStream);
document.Open();                        //How can I export current web page
as a pdf here?                        document.Close();        }
//If unsuccessful throw an exception        catch        {
Log.Debug("There has been an error creating a PDF");        }
        //Clear headers, set content type to PDF and create filename
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.ContentType = "application/pdf";
HttpContext.Current.Response.AddHeader("content-disposition",
"attachment;filename=" + currentURL + ".pdf");
HttpContext.Current.Response.BinaryWrite(MStream.ToArray());
HttpContext.Current.Response.End();    }
Please can you help me out? I will really appreciate it.
Kind regards,Ibrar                                        
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 6
Date: Mon, 26 Mar 2012 08:37:33 +0200
From: 1T3XT BVBA <[email protected]>
Subject: Re: [iText-questions] TSA sha-2, RSA algoritm
To: Post all your questions about iText here
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 25/03/2012 14:16, Dixit Sangeeta wrote:
> How to set cell Height dynamic.
> Based on the text length height should vary.
1. Is this a question about the cell height in a PdfPTable? (My
interpretation when reading the question.) 2. Or is this a question about
the height of a visible digital signature? (My interpretation when reading
the subject line.)

If 1.: the cell height changes automatically based on the content. You don't
need to do anything special.
If 2.: if you're filling out an empty signature field, the dimensions of the
visible signature are already defined, but you have different options to
position/scale the content. If there is no signature field, you can define
the dimensions yourself.



------------------------------

----------------------------------------------------------------------------
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure

------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA

End of iText-questions Digest, Vol 70, Issue 69
***********************************************


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to