Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Excel-Template: MergeRange

by perlGyan (Initiate)
on Nov 23, 2012 at 16:02 UTC ( #1005292=perlquestion: print w/replies, xml ) Need Help??
perlGyan has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to use the module to generate a excel report using the default rendering engine but when i am trying to merge two or more cells using the example on ..I keep on getting warnings:

Property 'txtobj' is unrecognized at .....Excel/Template/Element/Merge line 42 Property 'ref' is unrecognized at .....Excel/Template/Element/MergeRan line 42

Replies are listed 'Best First'.
Re: Excel-Template: MergeRange
by Don Coyote (Pilgrim) on Nov 23, 2012 at 21:06 UTC

    hi perlGyan and welcome to perlmonks!

    Please read How do I post a question effectively? you will be more likely to get a response.

    I will ask you, do you have you all the inheritance dependencies? Viewing the write ups against the source the dependencies do not appear so obvious. For example, the inheritance dependancy Excel::Template::Element described on the cpan page for ~/ appears to serve no other purpose than to call Excel::Template::Base. There is probably a good reason for this which is stored in a deep underground tertiary to a cpan mapping contemplation complex that I do not yet begin to comprehend.

    However, the 'txtobj' may be from module Excel::Template::Factory.

    For an initial response I would suggest ensuring you have the following Modules installed:

    • Excel::Template::Base
    • Excel::Template::Factory
    • Excel::Template::Element
    • Excel::Template::Cell
    • Excel::Template::Range

    I have ocluded Excel::Template::MergeRange from the list for obvious reasons.

    You may already have all these installed.(?) If you do I suggest checking through the inheritance through the source in case there were any I missed.

    Then, if still not working, post an example of the broken code and expected/actual output

Re: Excel-Template: MergeRange
by Anonymous Monk on Nov 23, 2012 at 21:06 UTC
    And then what?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005292]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-05-24 02:58 GMT
Find Nodes?
    Voting Booth?