private void ParseToCDefinition() { styles = new NormalStylePacket[childIDCount - 1]; for (int i = 0; i < childIDCount - 1; i++) { styles[i] = new NormalStylePacket(_document, childID[i] - 1); } format = new PageNumberFormatStringPacket(_document, childID[childIDCount - 1] - 1); }
public PageNumberFormat(WP6Document doc, int index) : base(doc, index) { pageNumberFormat = new PageNumberFormatStringPacket(doc, prefixIds[0] - 1); }