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 "core/include/fxcodec/fx_codec.h" | |
7 #include "core/include/fxcrt/fx_xml.h" | 8 #include "core/include/fxcrt/fx_xml.h" |
8 #include "xfa/src/foxitlib.h" | 9 #include "core/include/fxge/fx_ge.h" |
9 #include "xfa/src/fxfa/src/common/xfa_docdata.h" | 10 #include "xfa/src/fxfa/src/common/xfa_docdata.h" |
10 #include "xfa/src/fxfa/src/common/xfa_doclayout.h" | 11 #include "xfa/src/fxfa/src/common/xfa_doclayout.h" |
11 #include "xfa/src/fxfa/src/common/xfa_document.h" | 12 #include "xfa/src/fxfa/src/common/xfa_document.h" |
12 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h" | 13 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h" |
13 #include "xfa/src/fxfa/src/common/xfa_localemgr.h" | 14 #include "xfa/src/fxfa/src/common/xfa_localemgr.h" |
Tom Sepez
2016/02/29 19:22:30
this one goes first.
dsinclair
2016/02/29 19:52:03
Done. Had skipped it due to the common vs parser d
| |
14 #include "xfa/src/fxfa/src/common/xfa_object.h" | 15 #include "xfa/src/fxfa/src/common/xfa_object.h" |
15 #include "xfa/src/fxfa/src/common/xfa_parser.h" | 16 #include "xfa/src/fxfa/src/common/xfa_parser.h" |
16 #include "xfa/src/fxfa/src/common/xfa_script.h" | 17 #include "xfa/src/fxfa/src/common/xfa_script.h" |
17 #include "xfa/src/fxfa/src/common/xfa_utils.h" | 18 #include "xfa/src/fxfa/src/common/xfa_utils.h" |
18 #include "xfa/src/fxfa/src/parser/xfa_locale.h" | 19 #include "xfa/src/fxfa/src/parser/xfa_locale.h" |
19 | 20 |
20 const uint8_t g_enUS_Locale[] = { | 21 const uint8_t g_enUS_Locale[] = { |
21 0x78, 0x9C, 0x95, 0x56, 0xD1, 0x6E, 0x9B, 0x30, 0x14, 0x7D, 0x9F, 0xB4, | 22 0x78, 0x9C, 0x95, 0x56, 0xD1, 0x6E, 0x9B, 0x30, 0x14, 0x7D, 0x9F, 0xB4, |
22 0x7F, 0x40, 0xD6, 0x2A, 0xB5, 0x52, 0x56, 0x6F, 0x8F, 0xA9, 0x88, 0xA5, | 23 0x7F, 0x40, 0xD6, 0x2A, 0xB5, 0x52, 0x56, 0x6F, 0x8F, 0xA9, 0x88, 0xA5, |
23 0x6C, 0x24, 0x9B, 0x3A, 0xD1, 0x55, 0x22, 0x55, 0xB5, 0xBE, 0x4C, 0x0E, | 24 0x6C, 0x24, 0x9B, 0x3A, 0xD1, 0x55, 0x22, 0x55, 0xB5, 0xBE, 0x4C, 0x0E, |
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1294 m_tz.tzMinute = (int8_t)((FXSYS_abs((int)timezone) % 3600) / 60); | 1295 m_tz.tzMinute = (int8_t)((FXSYS_abs((int)timezone) % 3600) / 60); |
1295 #endif | 1296 #endif |
1296 } | 1297 } |
1297 CXFA_TimeZoneProvider::~CXFA_TimeZoneProvider() {} | 1298 CXFA_TimeZoneProvider::~CXFA_TimeZoneProvider() {} |
1298 void CXFA_TimeZoneProvider::SetTimeZone(FX_TIMEZONE& tz) { | 1299 void CXFA_TimeZoneProvider::SetTimeZone(FX_TIMEZONE& tz) { |
1299 m_tz = tz; | 1300 m_tz = tz; |
1300 } | 1301 } |
1301 void CXFA_TimeZoneProvider::GetTimeZone(FX_TIMEZONE& tz) { | 1302 void CXFA_TimeZoneProvider::GetTimeZone(FX_TIMEZONE& tz) { |
1302 tz = m_tz; | 1303 tz = m_tz; |
1303 } | 1304 } |
OLD | NEW |