Пример #1
0
        protected void SaveItemToStreamAlone(HCCustomItem aItem, Stream aStream)
        {
            HC._SaveFileFormatAndVersion(aStream);
            aItem.SaveToStream(aStream);
            if (aItem.StyleNo > HCStyle.Null)
            {
                Style.TextStyles[aItem.StyleNo].SaveToStream(aStream);
            }

            Style.ParaStyles[aItem.ParaNo].SaveToStream(aStream);
        }
Пример #2
0
 public void SaveItemToStreamAlone(Stream aStream, HCCustomItem aItem)
 {
     HC._SaveFileFormatAndVersion(aStream);
     Style.SaveToStream(aStream);
     aItem.SaveToStream(aStream);
 }