This commit is contained in:
pero1203 2020-09-09 08:34:42 +02:00
commit 08e6860694

View File

@ -276,12 +276,14 @@ class BesediloLatex extends LatexSurveyElement
if($okvir == 1){ //ce rabimo okvir, izpisi
if($podatekVBazi && $export_format == 'pdf' && $steviloOken==1){ //ce je podatek v bazi in je pdf oz. se izpisuje odgovore respondenta
//$dataTextBox = $this->LatexTextBox($export_format, $textboxHeight, $textboxWidth, $besedilo, $textboxAllignment, 1);
$dataTextBox = $besedilo; //izpis besedila brez okvirja
$dataTextBox = $besedilo; //izpis besedila brez okvirja
}else{
$dataTextBox = $this->LatexTextBox($export_format, $textboxHeight, $textboxWidth, $besedilo, $textboxAllignment, 0);
//echo "Pos: ".$postavitev."</br>";
if(($postavitev!=0)){ //ce ni vodoravno ob vprasanju
$tex .= ' \\\\ '; //skoci v novo vrstico
}
$dataTextBox = $this->LatexTextBox($export_format, $textboxHeight, $textboxWidth, $besedilo, $textboxAllignment, 0); //izpisi okvir
}
}else{
$dataTextBox = $besedilo; //izpis besedila brez okvirja
}
@ -412,7 +414,7 @@ class BesediloLatex extends LatexSurveyElement
}
}else{
$tex .= $this->texBigSkip;
$tex .= $this->texBigSkip." ";
$tex .= $this->texBigSkip." \ ";
$tex .= $texNewLine." ";
}