tcpdf relocation

This commit is contained in:
Yuri Kuznetsov
2021-05-21 18:26:06 +03:00
parent 9a26889fc7
commit e93310b9bf
5 changed files with 6 additions and 17 deletions
@@ -33,13 +33,13 @@ use Espo\Core\{
Utils\Config,
Htmlizer\Htmlizer as Htmlizer,
Htmlizer\Factory as HtmlizerFactory,
Pdf\Tcpdf,
};
use Espo\{
ORM\Entity,
Tools\Pdf\Template,
Tools\Pdf\Data,
Tools\Pdf\Tcpdf\Tcpdf,
};
class EntityProcessor
@@ -27,7 +27,7 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Core\Pdf;
namespace Espo\Tools\Pdf\Tcpdf;
define('K_TCPDF_EXTERNAL_CONFIG', true);
@@ -61,8 +61,7 @@ define('K_TIMEZONE', 'UTC');
require "vendor/tecnickcom/tcpdf/tcpdf.php";
use \TCPDF_STATIC;
use \TCPDF_FONTS;
use TCPDF_STATIC;
use Espo\Core\Utils\Util;
@@ -29,17 +29,13 @@
namespace Espo\Tools\Pdf\Tcpdf;
use Espo\Core\{
Pdf\Tcpdf,
};
use Espo\{
ORM\Entity,
ORM\Collection,
Tools\Pdf\CollectionPrinter,
Tools\Pdf\Template,
Tools\Pdf\Contents,
Tools\Pdf\Data,
Tools\Pdf\Tcpdf\Tcpdf,
};
class TcpdfCollectionPrinter implements CollectionPrinter
@@ -29,12 +29,9 @@
namespace Espo\Tools\Pdf\Tcpdf;
use Espo\Core\{
Pdf\Tcpdf,
};
use Espo\{
Tools\Pdf\Contents,
Tools\Pdf\Tcpdf\Tcpdf,
};
class TcpdfContents implements Contents
@@ -29,16 +29,13 @@
namespace Espo\Tools\Pdf\Tcpdf;
use Espo\Core\{
Pdf\Tcpdf,
};
use Espo\{
ORM\Entity,
Tools\Pdf\EntityPrinter,
Tools\Pdf\Template,
Tools\Pdf\Contents,
Tools\Pdf\Data,
Tools\Pdf\Tcpdf\Tcpdf,
};
class TcpdfEntityPrinter implements EntityPrinter