Changeset View
Changeset View
Standalone View
Standalone View
src/worksheet.h
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 105 | struct RichTextInfo { | |||
---|---|---|---|---|---|
111 | qreal fontSize; | 111 | qreal fontSize; | ||
112 | Qt::Alignment align; | 112 | Qt::Alignment align; | ||
113 | }; | 113 | }; | ||
114 | 114 | | |||
115 | public Q_SLOTS: | 115 | public Q_SLOTS: | ||
116 | WorksheetEntry* appendCommandEntry(); | 116 | WorksheetEntry* appendCommandEntry(); | ||
117 | void appendCommandEntry(const QString& text); | 117 | void appendCommandEntry(const QString& text); | ||
118 | WorksheetEntry* appendTextEntry(); | 118 | WorksheetEntry* appendTextEntry(); | ||
119 | WorksheetEntry* appendMarkdownEntry(); | ||||
119 | WorksheetEntry* appendImageEntry(); | 120 | WorksheetEntry* appendImageEntry(); | ||
120 | WorksheetEntry* appendPageBreakEntry(); | 121 | WorksheetEntry* appendPageBreakEntry(); | ||
121 | WorksheetEntry* appendLatexEntry(); | 122 | WorksheetEntry* appendLatexEntry(); | ||
122 | WorksheetEntry* insertCommandEntry(WorksheetEntry* current = nullptr); | 123 | WorksheetEntry* insertCommandEntry(WorksheetEntry* current = nullptr); | ||
123 | void insertCommandEntry(const QString& text); | 124 | void insertCommandEntry(const QString& text); | ||
124 | WorksheetEntry* insertTextEntry(WorksheetEntry* current = nullptr); | 125 | WorksheetEntry* insertTextEntry(WorksheetEntry* current = nullptr); | ||
126 | WorksheetEntry* insertMarkdownEntry(WorksheetEntry* current = nullptr); | ||||
125 | WorksheetEntry* insertImageEntry(WorksheetEntry* current = nullptr); | 127 | WorksheetEntry* insertImageEntry(WorksheetEntry* current = nullptr); | ||
126 | WorksheetEntry* insertPageBreakEntry(WorksheetEntry* current = nullptr); | 128 | WorksheetEntry* insertPageBreakEntry(WorksheetEntry* current = nullptr); | ||
127 | WorksheetEntry* insertLatexEntry(WorksheetEntry* current = nullptr); | 129 | WorksheetEntry* insertLatexEntry(WorksheetEntry* current = nullptr); | ||
128 | WorksheetEntry* insertCommandEntryBefore(WorksheetEntry* current = nullptr); | 130 | WorksheetEntry* insertCommandEntryBefore(WorksheetEntry* current = nullptr); | ||
129 | WorksheetEntry* insertTextEntryBefore(WorksheetEntry* current = nullptr); | 131 | WorksheetEntry* insertTextEntryBefore(WorksheetEntry* current = nullptr); | ||
132 | WorksheetEntry* insertMarkdownEntryBefore(WorksheetEntry* current = nullptr); | ||||
130 | WorksheetEntry* insertImageEntryBefore(WorksheetEntry* current = nullptr); | 133 | WorksheetEntry* insertImageEntryBefore(WorksheetEntry* current = nullptr); | ||
131 | WorksheetEntry* insertPageBreakEntryBefore(WorksheetEntry* current = nullptr); | 134 | WorksheetEntry* insertPageBreakEntryBefore(WorksheetEntry* current = nullptr); | ||
132 | WorksheetEntry* insertLatexEntryBefore(WorksheetEntry* current = nullptr); | 135 | WorksheetEntry* insertLatexEntryBefore(WorksheetEntry* current = nullptr); | ||
133 | 136 | | |||
134 | void updateLayout(); | 137 | void updateLayout(); | ||
135 | void updateEntrySize(WorksheetEntry* entry); | 138 | void updateEntrySize(WorksheetEntry* entry); | ||
136 | 139 | | |||
137 | void print(QPrinter*); | 140 | void print(QPrinter*); | ||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |