Wednesday, May 25, 2016

Re: [pcgen] Re: Where are the outputsheet headlines to be found?

 

How about editing the PDF after it's created? You would have to do it every time but it might be easier. Might even be possible to generate a macro or use something like Python to automate it.
--------------------------------------------
On Tue, 5/24/16, Andrew drew0500@yahoo.com [pcgen] <pcgen@yahoogroups.com> wrote:

Subject: Re: [pcgen] Re: Where are the outputsheet headlines to be found?
To: pcgen@yahoogroups.com
Date: Tuesday, May 24, 2016, 3:03 PM


 












Hi,


This isn't the code speak group aka List File
help or
experimental, or developers, so we don't post code
snippets here.
PDF looks at the base.xml.ftl and then the
common_sheets are
broken into the blocks, header, skills, etc.
Your issue is you can't easily hardcode things,
everything is
created by loops. You won't find a Perception
skill with an
Abbreviation set of WIS. You also won't see a
Wisdom ability
score. Those values are grabbed from loops that are in
the xml,
and then placed inside tables for display. You
aren't talking
about a simple word substitution in a file either. You
are talking
about some serious editing in several files.
If you are lucky, FACT might work in the stats file
and skills
file. If so, you'll need to set up your
replacement word or
abbreviation, then add it to every stat and skill.
Then alter the
xml file appropriately. If you know what you are
doing, it might
take you only 15-30 minutes. You'll want to alter
the following
files: datacontrols.lst, skills.lst, stats.lst, and
base.xml.ftl.
If you are lucky, that will cover the 2 requests in
this last
post.
Good luck,
Andrew




On 5/24/2016 10:30 AM,
oe.oe@chefmail.de
[pcgen] wrote:





Actually I'd like to come back to this topic on
outputsheets.



Can nobody tell me which file I need to edit to
replace the
attributes with either the abbreviation value or
hardcode them
to show something different?



I just want to replace "WIS" for wisdom
with "WE" on the
outputsheet in to places: 
1. attributes table itself
2. skill table



It doesnt sound impossible to me, since the
output sheet code
is open.
Can't I even hardcode it somehow (dirty, but
for my
requirements good enough; I just use
Pathfinder)



Similar request then for the other items I did
show on the
screenshots.

















#yiv6914765998 #yiv6914765998 --
#yiv6914765998ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv6914765998 #yiv6914765998ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv6914765998 #yiv6914765998ygrp-mkp #yiv6914765998hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv6914765998 #yiv6914765998ygrp-mkp #yiv6914765998ads {
margin-bottom:10px;}

#yiv6914765998 #yiv6914765998ygrp-mkp .yiv6914765998ad {
padding:0 0;}

#yiv6914765998 #yiv6914765998ygrp-mkp .yiv6914765998ad p {
margin:0;}

#yiv6914765998 #yiv6914765998ygrp-mkp .yiv6914765998ad a {
color:#0000ff;text-decoration:none;}
#yiv6914765998 #yiv6914765998ygrp-sponsor
#yiv6914765998ygrp-lc {
font-family:Arial;}

#yiv6914765998 #yiv6914765998ygrp-sponsor
#yiv6914765998ygrp-lc #yiv6914765998hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv6914765998 #yiv6914765998ygrp-sponsor
#yiv6914765998ygrp-lc .yiv6914765998ad {
margin-bottom:10px;padding:0 0;}

#yiv6914765998 #yiv6914765998actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv6914765998 #yiv6914765998activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv6914765998 #yiv6914765998activity span {
font-weight:700;}

#yiv6914765998 #yiv6914765998activity span:first-child {
text-transform:uppercase;}

#yiv6914765998 #yiv6914765998activity span a {
color:#5085b6;text-decoration:none;}

#yiv6914765998 #yiv6914765998activity span span {
color:#ff7900;}

#yiv6914765998 #yiv6914765998activity span
.yiv6914765998underline {
text-decoration:underline;}

#yiv6914765998 .yiv6914765998attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv6914765998 .yiv6914765998attach div a {
text-decoration:none;}

#yiv6914765998 .yiv6914765998attach img {
border:none;padding-right:5px;}

#yiv6914765998 .yiv6914765998attach label {
display:block;margin-bottom:5px;}

#yiv6914765998 .yiv6914765998attach label a {
text-decoration:none;}

#yiv6914765998 blockquote {
margin:0 0 0 4px;}

#yiv6914765998 .yiv6914765998bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv6914765998 .yiv6914765998bold a {
text-decoration:none;}

#yiv6914765998 dd.yiv6914765998last p a {
font-family:Verdana;font-weight:700;}

#yiv6914765998 dd.yiv6914765998last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv6914765998 dd.yiv6914765998last p
span.yiv6914765998yshortcuts {
margin-right:0;}

#yiv6914765998 div.yiv6914765998attach-table div div a {
text-decoration:none;}

#yiv6914765998 div.yiv6914765998attach-table {
width:400px;}

#yiv6914765998 div.yiv6914765998file-title a, #yiv6914765998
div.yiv6914765998file-title a:active, #yiv6914765998
div.yiv6914765998file-title a:hover, #yiv6914765998
div.yiv6914765998file-title a:visited {
text-decoration:none;}

#yiv6914765998 div.yiv6914765998photo-title a,
#yiv6914765998 div.yiv6914765998photo-title a:active,
#yiv6914765998 div.yiv6914765998photo-title a:hover,
#yiv6914765998 div.yiv6914765998photo-title a:visited {
text-decoration:none;}

#yiv6914765998 div#yiv6914765998ygrp-mlmsg
#yiv6914765998ygrp-msg p a span.yiv6914765998yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv6914765998 .yiv6914765998green {
color:#628c2a;}

#yiv6914765998 .yiv6914765998MsoNormal {
margin:0 0 0 0;}

#yiv6914765998 o {
font-size:0;}

#yiv6914765998 #yiv6914765998photos div {
float:left;width:72px;}

#yiv6914765998 #yiv6914765998photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv6914765998 #yiv6914765998photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv6914765998 #yiv6914765998reco-category {
font-size:77%;}

#yiv6914765998 #yiv6914765998reco-desc {
font-size:77%;}

#yiv6914765998 .yiv6914765998replbq {
margin:4px;}

#yiv6914765998 #yiv6914765998ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg select,
#yiv6914765998 input, #yiv6914765998 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg pre, #yiv6914765998
code {
font:115% monospace;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg * {
line-height:1.22em;}

#yiv6914765998 #yiv6914765998ygrp-mlmsg #yiv6914765998logo {
padding-bottom:10px;}


#yiv6914765998 #yiv6914765998ygrp-msg p a {
font-family:Verdana;}

#yiv6914765998 #yiv6914765998ygrp-msg
p#yiv6914765998attach-count span {
color:#1E66AE;font-weight:700;}

#yiv6914765998 #yiv6914765998ygrp-reco
#yiv6914765998reco-head {
color:#ff7900;font-weight:700;}

#yiv6914765998 #yiv6914765998ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv6914765998 #yiv6914765998ygrp-sponsor #yiv6914765998ov
li a {
font-size:130%;text-decoration:none;}

#yiv6914765998 #yiv6914765998ygrp-sponsor #yiv6914765998ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv6914765998 #yiv6914765998ygrp-sponsor #yiv6914765998ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv6914765998 #yiv6914765998ygrp-text {
font-family:Georgia;}

#yiv6914765998 #yiv6914765998ygrp-text p {
margin:0 0 1em 0;}

#yiv6914765998 #yiv6914765998ygrp-text tt {
font-size:120%;}

#yiv6914765998 #yiv6914765998ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv6914765998

__._,_.___

Posted by: Lee Dowd <leewdowd@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (18)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen&#39;s Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment