예제 #1
0
        public void Create(Subject subject)
        {
            var fieldOfStudy = subject.FieldOfStudy;

            using (Document doc = PdfHelper.Document())
            {
                doc.SetFontSize(10);

                info(subject, fieldOfStudy, doc);

                // Tabelka
                Lesson Lecture, Classes, Laboratory, Project, Seminar;
                lessonsTable(subject, doc, out Lecture, out Classes, out Laboratory, out Project, out Seminar);

                // Wymagania, cele, narzędzia
                objectivesToolsPrerequisites(subject, doc);

                // treści programowe - forma zajęć
                programmeContent(doc, Lecture, Classes, Laboratory, Project, Seminar);

                doc.Add(new Paragraph(""));
                // OCENA OSIĄGNIĘCIA PRZEDMIOTOWYCH EFEKTÓW KSZTAŁCENIA
                achievementEvaluation(subject, doc);

                // Literatura
                literature(subject, doc);
            }
            PdfHelper.AddPages();
        }
예제 #2
0
파일: SyllabusPdf.cs 프로젝트: Natsyu/PSI
        public void Create(Syllabus syllabus, Dictionary <LearningOutcomeCategory, int> lods)
        {
            using (Document doc = PdfHelper.Document(true))
            {
                var fieldOfStudy        = syllabus.FieldOfStudy;
                var description         = syllabus.Description;
                var subjectDescriptions = syllabus.SubjectDescriptions;
                #region setup i nagłówek

                syllabusTitle(doc);

                doc.SetFontSize(12);
                #endregion

                #region dane podstawowe
                PdfStructures.fieldOfStudyInfo(doc, fieldOfStudy);
                #endregion

                #region tableka opis programu studiów
                generalDescription(doc, description);
                #endregion

                #region opis szczegółowy
                wku(lods, doc, fieldOfStudy);
                disciplineEcts50(syllabus.SubjectDescriptions, doc);
                accordanceToJobMarket(doc);
                directContact(syllabus.SubjectDescriptions, doc);
                basicScienceTotallEcts(syllabus.SubjectDescriptions, doc);
                generalModulesMinimalEcts(syllabus.PointLimits, doc);
                electiveSubjectsTotalEcts(doc, subjectDescriptions);
                learningOutcomeProcess(doc);
                #endregion

                #region lista modułów - tabele z przedmiotami
                modulesTable(doc, subjectDescriptions);
                #endregion

                #region blok praktyk i pracy dyplomowej
                // blok praktyk
                internAndThesis(syllabus.IntershipType, syllabus.ThesisCourse, doc);
                #endregion

                #region sposoby weryfikacji
                formOfCreditTable(doc);
                #endregion

                #region zakres egzaminu
                examScope(syllabus.ScopeOfDiplomaExam, doc);
                #endregion

                #region tabela z semestrami do kiedy zaliczyc
                semesterCompletitionTable(doc, subjectDescriptions);
                #endregion
            }
            PdfHelper.AddPages();
        }
예제 #3
0
파일: PlanPdf.cs 프로젝트: Natsyu/PSI
        public void Create(Syllabus syllabus)
        {
            using (Document doc = PdfHelper.Document(true))
            {
                var fieldOfStudy        = syllabus.FieldOfStudy;
                var description         = syllabus.Description;
                var subjectDescriptions = syllabus.SubjectDescriptions;

                #region setup i nagłówek
                planTitle(doc);
                doc.SetFontSize(12);
                #endregion


                #region dane podstawowe
                if (fieldOfStudy != null)
                {
                    PdfStructures.fieldOfStudyInfo(doc, fieldOfStudy);
                }
                // Specjalność
                if (syllabus.Specialization != null)
                {
                    specialization(syllabus.Specialization.Name, doc);
                }
                #endregion

                #region tabele z przedmiotami na semestr
                if (subjectDescriptions != null)
                {
                    subjectTables(subjectDescriptions, description.NumOfSemesters, doc);
                }
                #endregion

                #region deficyt
                if (description != null)
                {
                    deficit(doc, description);
                }
                #endregion

                #region Opinia
                opinion(doc);
                #endregion
            }

            PdfHelper.AddPages();
        }
예제 #4
0
        public void Create(LearningOutcomeDocument lod)
        {
            FieldOfStudy           fieldOfStudy     = lod.FieldOfStudy;
            List <LearningOutcome> learningOutcomes = lod.LearningOutcomes;

            using (Document doc = PdfHelper.Document(true))
            {
                learningOutcomeTitle(lod, doc);

                if (fieldOfStudy != null)
                {
                    fieldOfStudyInfo(fieldOfStudy, doc);
                }


                if (learningOutcomes != null)
                {
                    addLearningOutcomes(learningOutcomes, doc);
                }
            }
            PdfHelper.AddPages();
        }