internal SCParagraph(A.Paragraph aParagraph, SCTextBox textBox) { this.AParagraph = aParagraph; this.Level = GetInnerLevel(aParagraph); this.bullet = new Lazy <Bullet>(this.GetBullet); this.ParentTextBox = textBox; this.portions = new ResettableLazy <PortionCollection>(() => new PortionCollection(this.AParagraph, this)); }
private void ClearText() { PCTextBox.Clear(); PNTextBox.Clear(); SNTextBox.Clear(); SCTextBox.Clear(); PriceTextBox.Clear(); StockTextBox.Clear(); }
internal ParagraphCollection(OpenXmlCompositeElement textBodyCompositeElement, SCTextBox textBox) { this.textBodyCompositeElement = textBodyCompositeElement; this.textBox = textBox; this.paragraphs = new ResettableLazy <List <SCParagraph> >(this.GetParagraphs); }