mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
..
This commit is contained in:
parent
47267669ce
commit
fe96b572ef
@ -122,9 +122,8 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
Imp * imp;
|
Imp * imp;
|
||||||
|
|
||||||
class Matrix_less
|
struct Matrix_less
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
bool operator () (const Matrix & m1, const Matrix & m2) const
|
bool operator () (const Matrix & m1, const Matrix & m2) const
|
||||||
{
|
{
|
||||||
// Note that we only care about the first 4 elements
|
// Note that we only care about the first 4 elements
|
||||||
@ -180,9 +179,8 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
Imp * imp;
|
Imp * imp;
|
||||||
|
|
||||||
class Color_hash
|
struct Color_hash
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
size_t operator () (const Color & color) const
|
size_t operator () (const Color & color) const
|
||||||
{
|
{
|
||||||
if(color.transparent)
|
if(color.transparent)
|
||||||
|
@ -16,9 +16,8 @@ namespace pdf2htmlEX {
|
|||||||
class StringFormatter
|
class StringFormatter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
class GuardedPointer
|
struct GuardedPointer
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
GuardedPointer(StringFormatter * sf) : sf(sf) { ++(sf->buf_cnt); }
|
GuardedPointer(StringFormatter * sf) : sf(sf) { ++(sf->buf_cnt); }
|
||||||
GuardedPointer(const GuardedPointer & gp) : sf(gp.sf) { ++(sf->buf_cnt); }
|
GuardedPointer(const GuardedPointer & gp) : sf(gp.sf) { ++(sf->buf_cnt); }
|
||||||
~GuardedPointer(void) { --(sf->buf_cnt); }
|
~GuardedPointer(void) { --(sf->buf_cnt); }
|
||||||
|
@ -18,10 +18,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
void clean();
|
void clean();
|
||||||
|
|
||||||
private:
|
|
||||||
const Param& param;
|
const Param& param;
|
||||||
std::set<std::string> tmp_files;
|
std::set<std::string> tmp_files;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace pdf2htmlEX
|
} // namespace pdf2htmlEX
|
||||||
|
Loading…
Reference in New Issue
Block a user