GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Editing the templates of the Report Generator

Click to view RSS...
Author Editing the templates of the Report Generator
Posted Thursday, May 5, 2005 - Post #6717
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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?
Posted Thursday, August 18, 2005 - Post #6718
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
You can use Notepad. Instead of using the delimiters @[ ]@, use the delimiters <%[ ... ]%> and you won't need any of those "&lt;" and "&amp;"
Posted Thursday, August 18, 2005 - Post #6719
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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?
Posted Thursday, August 18, 2005 - Post #6720
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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.
Posted Thursday, August 18, 2005 - Post #6721
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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
Posted Thursday, August 18, 2005 - Post #6722
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
GOT IT! BigGrin
I'm using the visual studio .NET 2003.
Posted Thursday, August 18, 2005 - Post #6723
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Monday, September 5, 2022
Posts: 27, Visits: 75
I always use 1st page 2000 from evrsoft.
It's easy and free

Rio
Posted Thursday, August 18, 2005 - Post #6724
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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?
Posted Thursday, August 18, 2005 - Post #6725
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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.
Posted Thursday, August 18, 2005 - Post #6726
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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.


This is what I meant.
Each linguistic sentence can invlove gender related words. The Method should add the proper gender word to the sentence.
I have another example - if a someone died then He/She was the son/daughter of instead of is the son/daughter...

Is the Method going to be soon, or should I insert the condition each time I need it?


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse