Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
evildmguy
Senior Member
 
Join Date: Nov 2007
Location: Des Moines, IA
Posts: 349

Old September 4th, 2013, 06:04 AM
Greetings!

I have people entering data in for Alternity. Yay! In entering the Personal Details for NPCs (called SCMs in Alternity), it ended up being very long such that most things were already in spillover mode. That works fine except for the personal details. They are so long that they get cut off. Do I have to create a spillover sheet 3 for this?

I know I would have to be careful about this, but is there a way to have a portal "break" the two column format and instead use the full page? At the moment, the page doesn't have anything in the other column but I realize that could change and I will make sure to make it the last item printed.

As usual, let me know what other information you need to help me on this.

Thanks!

edg
evildmguy is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 4th, 2013, 07:14 AM
Breaking two-column format is a simple matter of changing the width of the section you're laying out.

Very long bits of text, like when someone writes an opus on the Personal tab, will only print once, and cannot detect where they stopped printing on the previous page in order to continue the output later. This is a known limitation for the printing system in Hero Lab.
Mathias is offline   #2 Reply With Quote
evildmguy
Senior Member
 
Join Date: Nov 2007
Location: Des Moines, IA
Posts: 349

Old September 4th, 2013, 07:27 AM
I will try the width and see if I can get that to work. I wondered about the printing issue.

Thanks for the quick reply!

edg
evildmguy is offline   #3 Reply With Quote
evildmguy
Senior Member
 
Join Date: Nov 2007
Location: Des Moines, IA
Posts: 349

Old September 4th, 2013, 07:50 AM
Okay, I added

Code:
perform portal[XXX].autoplace
portal[XXX].width = 5000
but it doesn't seem to make it any bigger. I tried with bigger numbers as well and it still seems bound by the column width.

What am I missing?

Thanks!

edg
evildmguy is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 4th, 2013, 08:05 AM
It's the width in here that you want to change - changing just one portal won't do anything if your entire page is still set up in a 2-column layout:

Code:
 
<sheet
id="standard2"
name="Standard character sheet, page #2"
spillover="yes">
<layoutref layout="oStandard2" reference="left"/>
<layoutref layout="oStandard2" reference="right"/>
<position><![CDATA[
~setup the gap to be used between the various sections of the character sheet
autogap = 40
scenevalue[sectiongap] = autogap

~calculate the width of the two columns of the character sheet, leaving a
~suitable center gap between them
var colwidth as number
colwidth = (width - 50) / 2

~output the layout on the lefthand side with whatever information will fit
layout[left].width = colwidth
layout[left].height = height
perform layout[left].render

~output the layout on the righthand side with whatever information will fit
layout[right].width = colwidth
layout[right].height = height
layout[right].left = width - colwidth
perform layout[right].render
]]></position>
</sheet>
Mathias is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 4th, 2013, 08:06 AM
Also, you'll delete one of the two layoutrefs, and then all the positioning code dealing with that, since you now want a one-column layout.
Mathias is offline   #6 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:47 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.