summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-26 14:51:21 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-26 14:51:21 -0800
commit99ffdb0b9b488d743331646dc410f26b71e1f037 (patch)
treed9f7a4b05c8d4c46b38f9940ff8e3be9803b73e1 /xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h
parentc812495631df9f059bfd332ffe37e76dd011e96c (diff)
downloadpdfium-99ffdb0b9b488d743331646dc410f26b71e1f037.tar.xz
Fix DOS newlines
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1636873004 .
Diffstat (limited to 'xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h')
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h
index 7f065ebfa9..7edffe93ca 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h
@@ -1,55 +1,55 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef _BC_EDTECTIONRESULT_H_
-#define _BC_EDTECTIONRESULT_H_
-class CBC_BarcodeMetadata;
-class CBC_BoundingBox;
-class CBC_Codeword;
-class CBC_DetectionResultColumn;
-class CBC_DetectionResult {
- public:
- CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata,
- CBC_BoundingBox* boundingBox);
- virtual ~CBC_DetectionResult();
- CFX_PtrArray& getDetectionResultColumns();
- void setBoundingBox(CBC_BoundingBox* boundingBox);
- CBC_BoundingBox* getBoundingBox();
- void setDetectionResultColumn(
- int32_t barcodeColumn,
- CBC_DetectionResultColumn* detectionResultColumn);
- CBC_DetectionResultColumn* getDetectionResultColumn(int32_t barcodeColumn);
- CFX_ByteString toString();
-
- int32_t getBarcodeColumnCount();
- int32_t getBarcodeRowCount();
- int32_t getBarcodeECLevel();
-
- private:
- static int32_t ADJUST_ROW_NUMBER_SKIP;
- CBC_BarcodeMetadata* m_barcodeMetadata;
- CFX_PtrArray m_detectionResultColumns;
- CBC_BoundingBox* m_boundingBox;
- int32_t m_barcodeColumnCount;
-
- private:
- void adjustIndicatorColumnRowNumbers(
- CBC_DetectionResultColumn* detectionResultColumn);
- int32_t adjustRowNumbers();
- int32_t adjustRowNumbersByRow();
- int32_t adjustRowNumbersFromBothRI();
- int32_t adjustRowNumbersFromRRI();
- int32_t adjustRowNumbersFromLRI();
- static int32_t adjustRowNumberIfValid(int32_t rowIndicatorRowNumber,
- int32_t invalidRowCounts,
- CBC_Codeword* codeword);
- void adjustRowNumbers(int32_t barcodeColumn,
- int32_t codewordsRow,
- CFX_PtrArray* codewords);
- static FX_BOOL adjustRowNumber(CBC_Codeword* codeword,
- CBC_Codeword* otherCodeword);
-};
-#endif
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef _BC_EDTECTIONRESULT_H_
+#define _BC_EDTECTIONRESULT_H_
+class CBC_BarcodeMetadata;
+class CBC_BoundingBox;
+class CBC_Codeword;
+class CBC_DetectionResultColumn;
+class CBC_DetectionResult {
+ public:
+ CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata,
+ CBC_BoundingBox* boundingBox);
+ virtual ~CBC_DetectionResult();
+ CFX_PtrArray& getDetectionResultColumns();
+ void setBoundingBox(CBC_BoundingBox* boundingBox);
+ CBC_BoundingBox* getBoundingBox();
+ void setDetectionResultColumn(
+ int32_t barcodeColumn,
+ CBC_DetectionResultColumn* detectionResultColumn);
+ CBC_DetectionResultColumn* getDetectionResultColumn(int32_t barcodeColumn);
+ CFX_ByteString toString();
+
+ int32_t getBarcodeColumnCount();
+ int32_t getBarcodeRowCount();
+ int32_t getBarcodeECLevel();
+
+ private:
+ static int32_t ADJUST_ROW_NUMBER_SKIP;
+ CBC_BarcodeMetadata* m_barcodeMetadata;
+ CFX_PtrArray m_detectionResultColumns;
+ CBC_BoundingBox* m_boundingBox;
+ int32_t m_barcodeColumnCount;
+
+ private:
+ void adjustIndicatorColumnRowNumbers(
+ CBC_DetectionResultColumn* detectionResultColumn);
+ int32_t adjustRowNumbers();
+ int32_t adjustRowNumbersByRow();
+ int32_t adjustRowNumbersFromBothRI();
+ int32_t adjustRowNumbersFromRRI();
+ int32_t adjustRowNumbersFromLRI();
+ static int32_t adjustRowNumberIfValid(int32_t rowIndicatorRowNumber,
+ int32_t invalidRowCounts,
+ CBC_Codeword* codeword);
+ void adjustRowNumbers(int32_t barcodeColumn,
+ int32_t codewordsRow,
+ CFX_PtrArray* codewords);
+ static FX_BOOL adjustRowNumber(CBC_Codeword* codeword,
+ CBC_Codeword* otherCodeword);
+};
+#endif