quexml format issue

Asked by hardik

Hi,

i m using quexml for questionaries things the issue is i want to remove that verticle dash line from each box and also like horizontal orientation in responses if its possible then in which file i need to change and at which point. could you please let me guide?

Regards,
Hardik Shah

Question information

Language:
English Edit question
Status:
Answered
For:
queXML Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Zammit (adamzammit) said :
#1

Dear Hardik,

Look for this code in quexmlpdf.php:

    $linelength = (($areawidth - $this->singleResponseBoxWidth) / 2.0);

    $this->SetLineStyle(array('dash' => '1'));

    if ($position == 'last' || $position == 'middle')
    {
      $this->Line($x, $boxmid, $x + $linelength,$boxmid);
    }
    if ($position == 'first' || $position == 'middle')
    {
      $this->Line($x + $linelength + $this->singleResponseBoxWidth, $boxmid, $x + ($linelength * 2) + $this->singleResponseBoxWidth,$boxmid);
    }

    $this->SetLineStyle(array('dash' => '0'));

Or similar code - i.e. where $this->SetLineStyle is called, or where $this->Line is called.

Commenting out the calls to $this->Line here should remove the printed lines.

Regards,
Adam Zammit

Revision history for this message
hardik (hardiks) said :
#2

Hi Adam,

Thanks for your prompt response..

i can able to remove the verticle lines betweens two responses now further i need some help for below question

1) how can i show the responses in horizontal order instead of verticle is there anything supported?
2) on each and every page its generate Barcode as per current logic. now is it possible to genereate it on only first page And also like to implement some functionality like there are questionaries of 3 pages for 1 set and i would like to print out more than 5 copies at a time of the same set so as per current logic i need to generate 5 times but is it possible to print that in one go or some thing and Also it should generate Different barcode for different copies ....

Thanks & Regards,
Hardik Shah

Revision history for this message
Adam Zammit (adamzammit) said :
#3

Dear Hardik,

I hope you have been able to resolve this - but here are my suggestions:

1)
- yes - add the rotate="true" attribute to the <fixed> tag.

2)
Barcodes must exist on each page as they identify the form itself, not the individual person filling it out.

To generate a barcode for each individual see this answer: https://answers.launchpad.net/quexml/+question/244697

Regards,
Adam Zammit

Can you help with this problem?

Provide an answer of your own, or ask hardik for more information if necessary.

To post a message you must log in.