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/javascript/JavaScript.h" | 7 #include "../../include/javascript/JavaScript.h" |
8 #include "../../include/javascript/IJavaScript.h" | 8 #include "../../include/javascript/IJavaScript.h" |
9 #include "../../include/javascript/JS_GlobalData.h" | 9 #include "../../include/javascript/JS_GlobalData.h" |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 0xf0,0xe0,0x1e,0x51,0xee
,0x46,0xfd,0x0b,0xc9,0x93, | 110 0xf0,0xe0,0x1e,0x51,0xee
,0x46,0xfd,0x0b,0xc9,0x93, |
111 0x25,0x55,0x4a,0xee,0xe0
,0x16,0xd0,0xdf,0x8c,0xfa, | 111 0x25,0x55,0x4a,0xee,0xe0
,0x16,0xd0,0xdf,0x8c,0xfa, |
112 0x2a,0xa9,0x49,0xfd,0x97
,0x1c,0x0e,0x22,0x13,0x28, | 112 0x2a,0xa9,0x49,0xfd,0x97
,0x1c,0x0e,0x22,0x13,0x28, |
113 0x7c,0xaf,0xc4,0xfc,0x9c
,0x12,0x65,0x8c,0x4e,0x5b, | 113 0x7c,0xaf,0xc4,0xfc,0x9c
,0x12,0x65,0x8c,0x4e,0x5b, |
114 0x04,0x75,0x89,0xc9,0xb1
,0xed,0x50,0xca,0x96,0x6f, | 114 0x04,0x75,0x89,0xc9,0xb1
,0xed,0x50,0xca,0x96,0x6f, |
115 0x1a,0x7a,0xfe,0x58,0x5d
,0xec,0x19,0x4a,0xf6,0x35, | 115 0x1a,0x7a,0xfe,0x58,0x5d
,0xec,0x19,0x4a,0xf6,0x35, |
116 0x6a,0x97,0x14,0x00,0x0e
,0xd0,0x6b,0xbb,0xd5,0x75, | 116 0x6a,0x97,0x14,0x00,0x0e
,0xd0,0x6b,0xbb,0xd5,0x75, |
117 0x55,0x8b,0x6e,0x6b,0x19
,0xa0,0xf8,0x77,0xd5,0xa3 | 117 0x55,0x8b,0x6e,0x6b,0x19
,0xa0,0xf8,0x77,0xd5,0xa3 |
118 }; | 118 }; |
119 | 119 |
120 CJS_GlobalData::CJS_GlobalData(CPDFDoc_Environment* pApp) : m_pApp(pApp) | 120 CJS_GlobalData::CJS_GlobalData(CPDFDoc_Environment* pApp) |
121 { | 121 { |
122 // IBaseAnnot* pBaseAnnot = IBaseAnnot::GetBaseAnnot(m_pApp); | 122 // IBaseAnnot* pBaseAnnot = IBaseAnnot::GetBaseAnnot(m_pApp); |
123 // ASSERT(pBaseAnnot != NULL); | 123 // ASSERT(pBaseAnnot != NULL); |
124 // | 124 // |
125 // m_sFilePath = pBaseAnnot->GetUserPath(); | 125 // m_sFilePath = pBaseAnnot->GetUserPath(); |
126 m_sFilePath += SDK_JS_GLOBALDATA_FILENAME; | 126 m_sFilePath += SDK_JS_GLOBALDATA_FILENAME; |
127 | 127 |
128 LoadGlobalPersistentVariables(); | 128 LoadGlobalPersistentVariables(); |
129 } | 129 } |
130 | 130 |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 sData.AppendString(name); | 572 sData.AppendString(name); |
573 | 573 |
574 sData.AppendBlock(&wType, sizeof(FX_DWORD)); | 574 sData.AppendBlock(&wType, sizeof(FX_DWORD)); |
575 } | 575 } |
576 break; | 576 break; |
577 default: | 577 default: |
578 break; | 578 break; |
579 } | 579 } |
580 } | 580 } |
581 | 581 |
OLD | NEW |