| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "../../../include/fpdfapi/fpdf_render.h" | 7 #include "../../../include/fpdfapi/fpdf_render.h" |
| 8 #include "../../../include/fpdfapi/fpdf_module.h" | 8 #include "../../../include/fpdfapi/fpdf_module.h" |
| 9 #include "../fpdf_page/pageint.h" | 9 #include "../fpdf_page/pageint.h" |
| 10 #include "../../../include/fxge/fx_ge.h" | 10 #include "../../../include/fxge/fx_ge.h" |
| (...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1479 CPDF_ContentMarkItem& item = pData->GetItem(i); | 1479 CPDF_ContentMarkItem& item = pData->GetItem(i); |
| 1480 if (item.GetName() == FX_BSTRC("OC") && item.GetParamType() == CPDF_Cont
entMarkItem::PropertiesDict) { | 1480 if (item.GetName() == FX_BSTRC("OC") && item.GetParamType() == CPDF_Cont
entMarkItem::PropertiesDict) { |
| 1481 CPDF_Dictionary* pOCG = (CPDF_Dictionary*)item.GetParam(); | 1481 CPDF_Dictionary* pOCG = (CPDF_Dictionary*)item.GetParam(); |
| 1482 if (!CheckOCGVisible(pOCG)) { | 1482 if (!CheckOCGVisible(pOCG)) { |
| 1483 return FALSE; | 1483 return FALSE; |
| 1484 } | 1484 } |
| 1485 } | 1485 } |
| 1486 } | 1486 } |
| 1487 return TRUE; | 1487 return TRUE; |
| 1488 } | 1488 } |
| OLD | NEW |