PDA

View Full Version : Spillover to sheet 3 on printed sheet?


evildmguy
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

Mathias
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.

evildmguy
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
September 4th, 2013, 07:50 AM
Okay, I added

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

Mathias
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:


<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
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.