|
26 | 26 | import java.util.HashMap;
|
27 | 27 | import java.util.Map;
|
28 | 28 |
|
29 |
| -import net.sf.mpxj.Day; |
30 |
| -import net.sf.mpxj.MPXJException; |
31 |
| -import net.sf.mpxj.ProjectFile; |
32 |
| -import net.sf.mpxj.ProjectProperties; |
33 |
| -import net.sf.mpxj.Rate; |
34 |
| -import net.sf.mpxj.ScheduleFrom; |
35 |
| -import net.sf.mpxj.TimeUnit; |
36 |
| -import net.sf.mpxj.common.NumberHelper; |
37 |
| - |
38 | 29 | import org.apache.poi.hpsf.CustomProperties;
|
39 | 30 | import org.apache.poi.hpsf.CustomProperty;
|
40 | 31 | import org.apache.poi.hpsf.DocumentSummaryInformation;
|
|
44 | 35 | import org.apache.poi.poifs.filesystem.DocumentEntry;
|
45 | 36 | import org.apache.poi.poifs.filesystem.DocumentInputStream;
|
46 | 37 |
|
| 38 | +import net.sf.mpxj.Day; |
| 39 | +import net.sf.mpxj.MPXJException; |
| 40 | +import net.sf.mpxj.ProjectFile; |
| 41 | +import net.sf.mpxj.ProjectProperties; |
| 42 | +import net.sf.mpxj.Rate; |
| 43 | +import net.sf.mpxj.ScheduleFrom; |
| 44 | +import net.sf.mpxj.TimeUnit; |
| 45 | +import net.sf.mpxj.common.NumberHelper; |
| 46 | + |
47 | 47 | /**
|
48 | 48 | * This class reads project properties data from MPP8, MPP9, and MPP12 files.
|
49 | 49 | */
|
@@ -126,7 +126,7 @@ public void process(ProjectFile file, Props props, DirectoryEntry rootDir) throw
|
126 | 126 | CustomProperties customProperties = documentSummaryInformation.getCustomProperties();
|
127 | 127 | if (customProperties != null)
|
128 | 128 | {
|
129 |
| - for (CustomProperty property : customProperties.values()) |
| 129 | + for (CustomProperty property : customProperties.properties()) |
130 | 130 | {
|
131 | 131 | customPropertiesMap.put(property.getName(), property.getValue());
|
132 | 132 | }
|
|
0 commit comments