print dates in right or center alignment

Josef
2009-09-06
2013-05-30
  • Josef

    Josef - 2009-09-06

    Hi there!

    I need some help in reporting -

    to say in the "report_name.xml" 

    align="center" or align="right"

    did not work.

    I think, I have to do also changes in one ore some other files but I do not findout them.

    Thanks for any help.

    Josef

     
    • Gerry Kroll

      Gerry Kroll - 2009-09-06

      Please tell us the version of PhpGedView you're using.

      Bugs are reported in the Bug tracker.  If you have a correction available for the bug, you should post it in the same Bug tracker, but please post only complete files (not DIFF), and be sure to ZIP the file attachments.

      Patches can be published in the Patches tracker, but please don't post DIFF files since some of our users can only handle complete modules.  Be sure to ZIP the files before attaching them to the Tracker item.

       
    • Im

      Im - 2009-09-06

      Josef:
      Are you trying to use PGVRCell or PGVRTextBox?
      PGVRCell has spport for align but PGVRTextBox has NOT
      <PGVRCell align="center"...etc...

       
    • Josef

      Josef - 2009-09-06

      Hi

      I am using PGV 4.2.2
      I've modified the "Death Date and Place Report" so I now have a "Burial Date and Place Report with  also shown the Death Date.

      All is working fine but I want to make the printing for the Death and Burial Dates in right alignment.

      The next what I want to have that the printout shows the daya like 1st. up to 9th like "01" up to "09" and not "1" up to "9" .
      I also did not find the point whre I can set the format.

      Josef

       
    • Josef

      Josef - 2009-09-06

      The original Death Report uses  PGVRTextBox

      I am not a professional programmer - I only make my fist steps by modifying an existing report for my special requirements.

      Is it easy to change / replace PGVRTextBox against PGVCell?

      Thanks for any help

      Josef

       
    • Im

      Im - 2009-09-06

      Josef:
      << Is it easy to change / replace PGVRTextBox against PGVCell? >>
      See : birthlist.xml
      I think the reports are written in different ways to give us different solutions how to write our own.

      << I also did not find the point whre I can set the format. >>
      There is no 'format', "1" is always "1". There is nothing wrong with "1", or is it? :)

      I'm not a Pro either but, here is an idea:
      <PGVRSetVar name="mynumber" value="1" />
      <!-- just print the "0" before the number -->
      <PGVRCell align="right" style="whatever">0<PGVRvar var="mynumber"/></PGVRCell>

       
    • Josef

      Josef - 2009-09-06

      imsza,

      PGVRCell works fine.

      My last problem "01" in steadt of "1"  - it is only cosmetics this only gives to the column a better optic. It is nice to have but not a must.

      Thanks

      Josef

       
    • Josef

      Josef - 2009-09-06

      imsza,

      PGVRCell works fine.

      My last problem "01" in steadt of "1"  - it is only cosmetics this only gives to the column a better optic. It is nice to have but not a must.

      Thanks

      Josef

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks