* Census Templates

AS allows faster and more convenient creation of source records for Family Historian.
Post Reply
avatar
ColinMc
Superstar
Posts: 458
Joined: 17 Jan 2019 11:35
Family Historian: V7
Location: Edinburgh

Census Templates

Post by ColinMc »

I wonder if anyone has any work arounds to force a line break in the heading for AS Census Templates

Purely from a design/legibility viewpoint, I prefer the second version to the default first version.
As1.jpg
As1.jpg (32.26 KiB) Viewed 1980 times
As2.jpg
As2.jpg (46.74 KiB) Viewed 1980 times
Currently I simply add a line break to the last column that is visible (if I remember). But I'm wondering if there are any route to force one. I can see a minimum width setting, but not height.
Colin McDonald - Researching McDonald, McGillivray, Tait, Rountree families
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Census Templates

Post by tatewise »

Sorry, I don't think that is possible because the table header text is defined by the {CENSUSGRID} keyword.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
johnmorrisoniom
Megastar
Posts: 901
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Re: Census Templates

Post by johnmorrisoniom »

When you have entered everyone, use the option to add a line for someone not in your file and the move it to the top. This should put a blank line after the headers
avatar
ColinMc
Superstar
Posts: 458
Joined: 17 Jan 2019 11:35
Family Historian: V7
Location: Edinburgh

Re: Census Templates

Post by ColinMc »

Thanks but that's more complex than my current solution
Colin McDonald - Researching McDonald, McGillivray, Tait, Rountree families
User avatar
NickWalker
Megastar
Posts: 2597
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Census Templates

Post by NickWalker »

The problem is that because of the automatic text wrapping some column headings might take up 1 line, others might take up 2 lines, some 3 lines, etc. so I'd have to be able to detect which header cell currently takes up the most lines and then insert a carriage return after that, which isn't really possible I think. You've said that you always add a carriage return after the last column but that would only work if the last column text took up the most amount of lines. For example in the 1950 USA Census below:
Census headings.png
Census headings.png (6.84 KiB) Viewed 1651 times
I think the solution is that if you had this option set it would add a carriage return to the end of all the header cells and that would ensure that whichever of the cells takes up the most rows currently will get a blank line added.

I'll see whether I can incorporate this into the next version.

Cheers

Nick

P.S. I just spotted in that screenshot that salary is spelt wrong in the 1950 census template! I'll correct that in the next version too :lol:
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/
User avatar
BillH
Megastar
Posts: 2245
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: Census Templates

Post by BillH »

NickWalker wrote: 18 Aug 2022 18:19 P.S. I just spotted in that screenshot that salary is spelt wrong in the 1950 census template! I'll correct that in the next version too :lol:
Nick,

You got that template from me and I had it spelled wrong. :?

Bill
User avatar
NickWalker
Megastar
Posts: 2597
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Census Templates

Post by NickWalker »

BillH wrote: 18 Aug 2022 18:33 Nick,

You got that template from me and I had it spelled wrong. :?

Bill
Thanks for owning up Bill - I was far too polite to mention it :)
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/
User avatar
mezentia
Superstar
Posts: 304
Joined: 12 Jan 2007 21:14
Family Historian: V7
Location: Stourbridge

Re: Census Templates

Post by mezentia »

Slightly off-topic, I have amended most of the templates to fine tune the column width as far as possible, but I find that even so, I'm usually left with columns having lots of white space at the right hand side. As a result, after every entry I have to change the column widths manually - both time-consuming and tedious. Would this feature be at all possible:

1. When the cursor is moved over a column boundary, to click twice and have the left column automatically re-sized to remove trailing white space.

2. To specify the maximum number of lines wrapped text can take up when the columns are re-sized.

3. To force word wrap rather that splitting words across lines when column width is reduced.

The reason for all of this is that the formatted tables often fall off the right hand edge of a page on narrative reports, therefore reducing column widths to the smallest possible whilst retaining readibility helps to get them to fit on a page for all but the widest census templates.
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Census Templates

Post by tatewise »

FYI: FH V7.0.15 has a new feature for splitting tables that are wider than a report page.
However, minimising the width of a table to avoid splitting would be useful.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
mezentia
Superstar
Posts: 304
Joined: 12 Jan 2007 21:14
Family Historian: V7
Location: Stourbridge

Re: Census Templates

Post by mezentia »

Thanks, Mike. I will download that version now and give it a try.
User avatar
NickWalker
Megastar
Posts: 2597
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Census Templates

Post by NickWalker »

mezentia wrote: 02 Sep 2022 08:52 Slightly off-topic, I have amended most of the templates to fine tune the column width as far as possible, but I find that even so, I'm usually left with columns having lots of white space at the right hand side. As a result, after every entry I have to change the column widths manually - both time-consuming and tedious. Would this feature be at all possible:

1. When the cursor is moved over a column boundary, to click twice and have the left column automatically re-sized to remove trailing white space.

2. To specify the maximum number of lines wrapped text can take up when the columns are re-sized.

3. To force word wrap rather that splitting words across lines when column width is reduced.

The reason for all of this is that the formatted tables often fall off the right hand edge of a page on narrative reports, therefore reducing column widths to the smallest possible whilst retaining readibility helps to get them to fit on a page for all but the widest census templates.
For census templates the 'Fit' button works very well and the feature I've added to the next version (described above) may help too. I do appreciate this doesn't work for non-census sources.

I think your other suggestions would be very difficult to implement because of the way the Microsoft rich text control operates.
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/
User avatar
mezentia
Superstar
Posts: 304
Joined: 12 Jan 2007 21:14
Family Historian: V7
Location: Stourbridge

Re: Census Templates

Post by mezentia »

Thanks, Nick. I suspected that our dear friends at Microsoft wouldn't make life easy, do they ever :roll:

I remember trying the "Fit" option in a previous relrease of AS, but I stopped using it for reasons which I now forget, but I will revisit it as I have some further tweaks to templates that I need to make. In the meantime, I will look out for the next version.
Post Reply