-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire Support for PDFToText from https://github.com/townsweb/popple…
- Loading branch information
Showing
6 changed files
with
110 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace NcJoes\PopplerPhp\PopplerOptions; | ||
|
||
use NcJoes\PopplerPhp\Constants as C; | ||
|
||
trait InfoFlags | ||
{ | ||
public function setBox() | ||
{ | ||
return $this->setFlag(C::_BOX); | ||
} | ||
|
||
protected function infoFlags() | ||
{ | ||
return [C::_BOX]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace NcJoes\PopplerPhp\PopplerOptions; | ||
|
||
use NcJoes\PopplerPhp\Constants as C; | ||
|
||
trait TextFlags | ||
{ | ||
public function setBboxLayout() | ||
{ | ||
return $this->setFlag(C::_BBOX_LAYOUT); | ||
} | ||
|
||
public function setLayout() | ||
{ | ||
return $this->setFlag(C::_LAYOUT); | ||
} | ||
|
||
protected function textFlags() | ||
{ | ||
return [C::_BBOX_LAYOUT, C::_LAYOUT]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters