Op 25/01/2011 20:32, Hovich, Igor schreef:

Hi,

I'm trying to retrieve text from pdf document and using example from Itex:


What is Itex? Do you mean iText?
When I use iText to achieve this, I get plenty of text (see attachment).

Retrieve text from pdf document

Use 'GetPDFText' to retrieve the content from the pdf file.

Parameters --

PDFFile -- PDF file path

FromPageNum -- [Optional Parameter] Page number to start from

ToPageNum - [Optional Parameter] Page number to end to.

Example

print oPDF.GetPdfText ("C:\fw4.pdf")

What is GetPDFText? What tool is it? Where can I find it in iText?
I Googled for those words and I found:
http://www.qtptraning.info/category/advanced-concepts/
That's a page about QTP; how is this related to iText?

Please be more specific, because when I use iText to extract the text, I get a result that makes sense.

PS:
you have posted a mail to [email protected] but you weren't subscribed.
You are receiving this answer because I've added your mail address in Bcc:
I will do this only once! Further answers will be sent to the mailing-list only (you won't receive them if you don't subscribe). Further questions to the mailing-list will be rejected unless you subscribe. Further questions sent to the 1t3xt address will be ignored. Please understand that, as long as you don't subscribe, somebody has to MANUALLY approve your mail among a huge load of SPAM. You can help us avoid this boring administrative job by following the rules: http://itextpdf.com/support.php


The Canada Life Assurance Company
FUND FACTS · Canada Life Segregated Funds Policy
All information as at December 31, 2009
Conservative Allocation Fund
Date fund available: October 5, 2009 Total fund value: $41,223,000
Quick facts:
Date fund created: November 21, 2003 Portfolio turnover rate: 97.20%
Managed by: The Canada Life Assurance Company
Units
Management expense Net asset value per
Guarantee option outstanding
ratio (MER) (%) unit ($)
(000's)
75% maturity and 75% death benefit guarantee 2.57 9.99 2.0
75% maturity and 100% death benefit guarantee 2.62 9.99 69.0
100% maturity and 100% death benefit guarantee - 9.99 -
Minimum investment Non-registered, RRSP and TFSA policies: $500 lump sum or 
pre-authorized chequing (PAC) of $50
RRIF policies: $10,000
What does the fund invest in? How has the fund performed?
This segregated fund, through investments in other funds, This section tells 
you how the fund has performed over the past
invests primarily in fixed-income securities but includes 6 years for a 
policyowner who chooses the 75/75 guarantee
Canadian and foreign equities. It targets an asset mix of 75 per option. 
Returns are after the MER has been deducted.
cent fixed income and 25 per cent equities. Performance is an estimate only 
based on December 31, 2009
MERs.
Top 10 investments
% Assets
It's important to note that this does not tell you how the fund will
Fixed Income (Laketon)
29.90
perform in the future. Also, your actual return will depend on the
Government Bond (GWLIM)
24.81
guarantee option you choose and on your personal tax situation.
Income Opportunity (London Capital)
8.51
International Bond (Laketon)
7.50
Average return
Indexed Canadian Bond (TDAM)
5.98
A person who invested $1,000 in the fund on November 30,
Real Estate (GWLRA)
5.35
2003 and chose the 75/75 guarantee option now has $1,245.28
Global Equity (Invesco Trimark)
4.05
on December 31, 2009. This works out to an average of 3.67
Global Equity (Setanta)
3.98
Canadian Growth (Invesco Trimark) per cent a year.
3.50
Canadian Equity Value (Laketon)
3.42
Year-by-year returns (%)
Total
97.00
This chart shows how the fund would have performed in each of
Total investments:
11
the past 6 years for a policyowner who chose the 75/75
% Assets
Investment segmentation guarantee option. In the past 6 years the fund was up 
in value 5
years and down in value 1 year of the 6.
Bond
72.89
Canadian Equity
10.44
4
International Equity
6.03
United States Equity
2.97
2
Cash
1.69
0
Other
5.98
For illustration purposes only. Actual segregated fund performance will vary.
Are there any guarantees?
This segregated fund is being offered under an insurance
How risky is it?
contract. It comes with guarantees that may protect your
Low to Moderate
investment if the markets go down. The MER includes the
Very low Low Moderate High
moderate to high
insurance cost for the guarantee, but excludes the cost of
The value of your investments can go down. Please see the
additional guarantee options. For details, please refer to the
Fund risks section of the information folder for further details.
information folder and contract.
Who is this fund for?
A person who is investing for the medium to longer term, wants exposure to 
multi-managers in one fund with a target of no more than
25 per cent invested in equities and is comfortable with low risk.

2000
2001
2002
2003
2004
2005
2006
2007
2008
2009

The Canada Life Assurance Company
FUND FACTS · Canada Life Segregated Funds Policy
All information as at December 31, 2009
Conservative Allocation Fund
How much does it cost?
One or more of the following sales charge options will apply. For details, 
refer to the information folder and discuss with your advisor.
1. Sales charges:
Sales charge option What you pay How it works
Front-end load option Up to 5% of the amount you invest You and your advisor 
determine the rate.
The fee is deducted from the amount you invest. It is paid as a commission.
Deferred sales charge (DSC) If you redeem units within: When you invest, Canada 
Life pays a The DSC and low-load DSC is a set rate.
option 1 year of investing, you pay 5.5% commission of up to 5.00%. Any DSC It 
is deducted from the amount you
2 years of investing, you pay 5.0% you pay goes to Canada Life. withdraw.
3 years of investing, you pay 5.0%
You can redeem up to 10% of your You can switch to units of other funds
4 years of investing, you pay 4.0%
units each year without paying a under the contract at any time without
5 years of investing, you pay 4.0%
DSC. paying a DSC as long as you do not
6 years of investing, you pay 3.0%
change your guarantee option. The DSC
7 years of investing, you pay 2.0%
and low-load DSC schedules are based
After 7 years, you pay 0.0%
on the date you invested the premium.
Low-load deferred sales If you redeem units within: When you invest, Canada 
Life pays a
charge (DSC) option 1 year of investing, you pay 3.0% commission of up to 
2.50%. Any DSC
2 years of investing, you pay 2.5% you pay goes to Canada Life.
3 years of investing, you pay 2.0%
You cannot redeem units each year
After 3 years, you pay 0.0%
without paying a low-load DSC.
2. Ongoing expenses:
The MER includes the management fee and operating expenses of the fund. The MER 
includes the insurance cost for the guarantee,
but excludes the cost of additional guarantee options. You do not pay these 
expenses directly. They affect you because they reduce
the return you get on your investment. For details about how the guarantees 
work, see your insurance contract.
Guarantee option MER (Annual rate as a % of the fund's value)
75% maturity and 75% death benefit guarantee
2.57
75% maturity and 100% death benefit guarantee
2.62
100% maturity and 100% death benefit guarantee
-
Available additional guarantee options are subject to the following fees. For 
details please refer to the information folder and contract.
Death benefit Lifetime
Maturity guarantee
Guarantee option guarantee reset option income
reset option (%)
(%) benefit fee
75% maturity and 75% death benefit guarantee n/a n/a 0.25
75% maturity and 100% death benefit guarantee 0.11 n/a 0.25
100% maturity and 100% death benefit guarantee 0.11 0.05 n/a
Trailing commission
Canada Life pays a trailing commission for the services and advice provided to 
you. The trailing commission is paid out of the
management fee for as long as you hold the fund. The rate depends on the sales 
charge option:
Front-end load option up to 1.00% of the value of your investment each year
Deferred sales charge (DSC) option up to 0.50% of the value of your investment 
each year
Low-load deferred sales charge (DSC) option up to 1.00% of the value of your 
investment each year
3. Other fees:
You may have to pay other fees when you redeem or switch units of the fund.
Fee What you pay
Short-term trading fee Up to 2% of the value of units you redeem or switch 
within 90 days of investing in the fund. This fee goes to the fund.
Switch fee You may make up to 12 free switches in each calendar year and after 
that you may be charged a fee.
What if I change my mind?
You can change your mind about investing in this fund but you may have as 
little as two days to do so. Please see page 63 for details.
The page also contains details on how to get more information. This Fund Facts 
is not complete without page 63.
© 2010 All Rights Reserved. Source: CTVglobemedia Publishing Inc.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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