Inheritance: FrameExport, IFrameExport
        private void _exportLegacyFrames(StreamWriter w, bool isFirst, string standard, long size)
        {
            IFrameExport frameEx = new LegacyFrameGraphicExport(_helper, standard);

            _icons.Clear();

            if (isFirst)
            {
                w.WriteLine(frameEx.Headers);
                w.Flush();
            }

            foreach (LibraryAffiliation affiliation in _lib.Library.Affiliations)
            {
                logger.Info("Exporting legacy frames for: " + affiliation.ID);

                try
                {
                    if (affiliation.LegacyFrames != null)
                    {
                        LegacyFrameGraphicExport fe = (LegacyFrameGraphicExport)frameEx;
                        fe.Affiliation = affiliation;

                        foreach (LegacyLetterCodeType legacyFrame in affiliation.LegacyFrames)
                        {
                            if (legacyFrame.LimitUseTo == standard && legacyFrame.Function == "")
                            {
                                fe.LegacyFrame = legacyFrame;

                                string id = fe.IDIt(_lib.Status(0));

                                if (!_icons.Contains(id))
                                {
                                    _icons.Add(id);

                                    LibraryContext context = _lib.Context(affiliation.ContextID);
                                    LibraryStandardIdentity identity = _lib.StandardIdentity(affiliation.StandardIdentityID);
                                    LibraryDimension dimension = _lib.Dimension(affiliation.DimensionID);

                                    string line = frameEx.Line(_lib, context, identity, dimension, _lib.Status(0), false, false);

                                    w.WriteLine(line);
                                    w.Flush();

                                    //if (legacyFrame.IsPlanned)
                                    //{
                                    //    LibraryStatus status = _lib.Status(1);

                                    //    id = fe.IDIt(status);

                                    //    if (!_icons.Contains(id))
                                    //    {
                                    //        _icons.Add(id);

                                    //        status.LabelAlias = "Planned";
                                    //        line = frameEx.Line(_lib, context, identity, dimension, status, false, false);
                                    //        status.LabelAlias = "";

                                    //        w.WriteLine(line);
                                    //        w.Flush();
                                    //    }
                                    //}
                                }
                            }
                        }
                    }
                }

                catch (Exception ex)
                {
                    logger.Error(ex.Message);
                }
            }
        }