wip pdf
This commit is contained in:
1 parent
2aff6e391c
commit
3411578bc4
12 files changed
+117
-158
No files matched your search
@@ -101,15 +101,15 @@ class Pdf
|
||||
}
|
||||
|
||||
$html = '';
|
||||
// $html = Ueberschrift::load($inhalt);
|
||||
$html = Ueberschrift::load($inhalt);
|
||||
|
||||
switch ($inhalt->inhaltselement_id) {
|
||||
case '9':
|
||||
$html .= Deckblatt::load($inhalt, $textblock);
|
||||
break;
|
||||
// case '1':
|
||||
// $html .= Inhalt::load($projekte_id);
|
||||
// break;
|
||||
case '1':
|
||||
$html .= Inhalt::load($projekte_id);
|
||||
break;
|
||||
// case '3':
|
||||
// $html .= Paragraph6::load($projekte_id);
|
||||
// break;
|
||||
@@ -122,19 +122,19 @@ class Pdf
|
||||
// case '7':
|
||||
// $html .= Zusammenstellung::load($projekte_id);
|
||||
// break;
|
||||
// case '8':
|
||||
// $str = RichContentRenderer::make(self::$auftraggeber->referenz_formatting)->toHtml();
|
||||
// $html .= Format::fix_str($str);
|
||||
// break;
|
||||
case '8':
|
||||
// AUFTRAGGEBER
|
||||
$str = RichContentRenderer::make(self::$auftraggeber->referenz_formatting)->toHtml();
|
||||
$html .= Format::fix_str($str);
|
||||
break;
|
||||
// case '11':
|
||||
// $html .= DigitaleSignatur::load($projekte_id);
|
||||
// break;
|
||||
// default:
|
||||
// $html = Ueberschrift::load($inhalt);
|
||||
// if ($inhalt->textblock) {
|
||||
// $html .= $textblock;
|
||||
// }
|
||||
// break;
|
||||
default:
|
||||
if ($inhalt->textblock) {
|
||||
$html .= $textblock;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if ($inhalt->seitenzahl_anzeige == 1) {
|
||||
|
||||
@@ -15,7 +15,7 @@ class Inhalt
|
||||
foreach ($inhalte as $inhalt) {
|
||||
if ($inhalt->name != 'INHALTSVERZEICHNIS' && $inhalt->ueberschrift_anzeigen) {
|
||||
$html .= '<tr>';
|
||||
$html .= Html::td(Format::index($inhalt->ordnungszahl));
|
||||
$html .= Html::td(Format::index($inhalt->ordnungszahl), 'center');
|
||||
$html .= Html::td($inhalt->name);
|
||||
$html .= Html::td(Format::seite($inhalt->seite));
|
||||
$html .= '</tr>';
|
||||
|
||||
@@ -8,7 +8,7 @@ class Ueberschrift
|
||||
{
|
||||
public static function load($inhalt)
|
||||
{
|
||||
if ($inhalt->ueberschrift_anzeigen) {
|
||||
if ($inhalt->ueberschrift_anzeigen && $inhalt->inhaltselement_id != 9) {
|
||||
if ($inhalt->ordnungszahl * 1 > 0) {
|
||||
return '<div class="header">'.Format::index($inhalt->ordnungszahl).' '.$inhalt->name.'</div>';
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user