Editing the templates of the Report Generator
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Editing the templates of the Report Generator Expand / Collapse
Author
Message
Post #6717 Posted 5/5/2005 5:40:19 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,294
Can someone recommened on a tool that I can use to edit the templates?

The problem I have is this:
I tried to edit the templates in the simple way - Notepad. But then I get " instead of the " sign, & instead of & etc. what makes reading the template and editing it very difficult.

Other tools I used - like MS word, MS Publisher and Visual Studio .NET add all kind of stuff that I don't want to the template.

Any suggestions?
Post #6718 Posted 8/18/2005 6:49:08 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
You can use Notepad. Instead of using the delimiters @[ ]@, use the delimiters <%[ ... ]%> and you won't need any of those "&lt;" and "&amp;"

Post #6719 Posted 8/18/2005 6:49:08 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,294
You can use Notepad. Instead of using the delimiters @[ ]@, use the delimiters <%[ ... ]%>

Those are the delimiters when I first open individual.htm to edit it, but the &quot; and &amp; are there. It is hard to follow the code when you have to interpret those codes.

Anyone has the same trouble?
Post #6720 Posted 8/18/2005 6:49:08 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
Use a web browser to view the template, then copy & paste from the browser to Notepad. All the &lt; and &amp; stuff will be automatically removed during the paste operation.

Post #6721 Posted 8/18/2005 6:49:08 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,294
It did open it the right way.
Thanks.

But

Now I have trouble saving it.
I am adding a word to the text and save the changed file (in Notepad as a UTF-8 file naming it individual.htm) but when I generate a report I'm getting an error message:

Error at line 3: Unterminated string constant
Microsoft VBScript compilation error 800A0409
Report.TagBr = "


I only added a text word. I didnt add any code or lines!

AHHHHHHHHHHHHHH
Post #6722 Posted 8/18/2005 6:49:08 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,294
GOT IT! :D
I'm using the visual studio .NET 2003.
Post #6723 Posted 8/18/2005 6:49:08 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 8/25/2007 5:51:42 PM
Posts: 49, Visits: 3
I always use 1st page 2000 from evrsoft.
It's easy and free

Rio
Post #6724 Posted 8/18/2005 6:49:08 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,294
Will the report generator will have an "inside" tool to build sentances for and individual?
What I mean is that if I want to write to an individual a sentance which is data depandent: He was the son of.../She was the daughter of - I have to insert If condition in the code for each option (He/She - son/daughter). Do you plan a tool which will do it automatically?
Post #6725 Posted 8/18/2005 6:49:08 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
I was thinking of adding methods to fetch text from the dictionary.

For instance, a method named Report.WriteFormattedDic(strDic, ...) where strDic is the entry in the dictionary of the formatting template. Adding linguistic sentences is very language dependent.