Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "public/fpdf_flatten.h"
#include <limits.h>
#include <algorithm>
#include <sstream>
#include <utility>
#include <vector>
#include "constants/annotation_common.h"
#include "constants/annotation_flags.h"
#include "constants/page_object.h"
#include "core/fpdfapi/edit/cpdf_contentstream_write_utils.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fpdfapi/parser/fpdf_parser_utility.h"
#include "core/fpdfdoc/cpdf_annot.h"
#include "core/fxcrt/fx_string_wrappers.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/notreached.h"
Go to the source code of this file.
Enumerations | |
enum | FPDF_TYPE { MAX , MIN , MAX , MIN } |
enum | FPDF_VALUE { TOP , LEFT , RIGHT , BOTTOM , TOP , LEFT , RIGHT , BOTTOM } |
enum | FPDF_TYPE { MAX , MIN , MAX , MIN } |
enum | FPDF_VALUE { TOP , LEFT , RIGHT , BOTTOM , TOP , LEFT , RIGHT , BOTTOM } |
Functions | |
FPDF_EXPORT int FPDF_CALLCONV | FPDFPage_Flatten (FPDF_PAGE page, int nFlag) |
enum FPDF_TYPE |
Enumerator | |
---|---|
MAX | |
MIN | |
MAX | |
MIN |
Definition at line 36 of file fpdf_flatten.cpp.
enum FPDF_TYPE |
Enumerator | |
---|---|
MAX | |
MIN | |
MAX | |
MIN |
Definition at line 36 of file fpdf_flatten.cpp.
enum FPDF_VALUE |
Enumerator | |
---|---|
TOP | |
LEFT | |
RIGHT | |
BOTTOM | |
TOP | |
LEFT | |
RIGHT | |
BOTTOM |
Definition at line 37 of file fpdf_flatten.cpp.
enum FPDF_VALUE |
Enumerator | |
---|---|
TOP | |
LEFT | |
RIGHT | |
BOTTOM | |
TOP | |
LEFT | |
RIGHT | |
BOTTOM |
Definition at line 37 of file fpdf_flatten.cpp.
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_Flatten | ( | FPDF_PAGE | page, |
int | nFlag ) |
Definition at line 250 of file fpdf_flatten.cpp.
References CFX_FloatRect::CFX_FloatRect(), CPDF_IndirectObjectHolder::AddIndirectObject(), CFX_Matrix::b, CFX_FloatRect::bottom, CFX_Matrix::c, fxcrt::ByteString::c_str(), CPDFPageFromFPDFPage(), fxcrt::ByteString::Format(), CPDF_Dictionary::GetByteStringFor(), CPDF_Page::GetDocument(), CPDF_Dictionary::GetRectFor(), CFX_FloatRect::IsEmpty(), fxcrt::ByteString::IsEmpty(), pdfium::page_object::kCropBox, pdfium::page_object::kMediaBox, pdfium::annotation::kRect, CFX_FloatRect::left, CFX_FloatRect::Normalize(), fxcrt::ByteString::operator+=(), CFX_FloatRect::operator=(), fxcrt::ByteString::operator=(), CFX_FloatRect::right, and CFX_FloatRect::top.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().