Thanks Fabrizio Cionimaster
| String value = styleId.Value; | String value = styleId.Value; | ||||
| styleId.Remove(); | styleId.Remove(); | ||||
| String key = Regex.Replace(temp.ToString(), @"\s+", ""); | String key = Regex.Replace(temp.ToString(), @"\s+", ""); | ||||
| local_styles.Add(key, value); | |||||
| if (!local_styles.ContainsKey(key)) local_styles.Add(key, value); | |||||
| } | } | ||||
| // Add each remote style to this document. | // Add each remote style to this document. |