47 lines
1.0 KiB
C#
47 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Volian.Print.Library
|
|
{
|
|
public class pkParagraph
|
|
{
|
|
private vlnParagraph _MyParagraph;
|
|
public vlnParagraph MyParagraph
|
|
{
|
|
get { return _MyParagraph; }
|
|
}
|
|
private pkParagraphs _MyChildren;
|
|
public pkParagraphs MyChildren
|
|
{
|
|
get { return _MyChildren; }
|
|
}
|
|
private pkParagraphs _MyCautionsAndNotes;
|
|
public pkParagraphs MyCautionsAndNotes
|
|
{
|
|
get { return _MyCautionsAndNotes; }
|
|
}
|
|
public pkParagraph(vlnParagraph myParagraph)
|
|
{
|
|
_MyParagraph = myParagraph;
|
|
_MyChildren = new pkParagraphs();
|
|
_MyCautionsAndNotes = new pkParagraphs();
|
|
}
|
|
public pkParagraph AddChild(vlnParagraph myParagraph)
|
|
{
|
|
pkParagraph tmp = new pkParagraph(myParagraph);
|
|
_MyChildren.Add(tmp);
|
|
return tmp;
|
|
}
|
|
public pkParagraph AddCautionsAndNotes(vlnParagraph myParagraph)
|
|
{
|
|
pkParagraph tmp = new pkParagraph(myParagraph);
|
|
_MyCautionsAndNotes.Add(tmp);
|
|
return tmp;
|
|
}
|
|
}
|
|
public class pkParagraphs:List<pkParagraph>
|
|
{
|
|
}
|
|
}
|