Merge pull request #5150 from tsiegleauq/no-export-inline-numbers
Remove option for inline line number PDF
This commit is contained in:
commit
2c120dd67c
@ -1350,7 +1350,7 @@ export class MotionDetailComponent extends BaseViewComponent implements OnInit,
|
|||||||
*/
|
*/
|
||||||
public onDownloadPdf(): void {
|
public onDownloadPdf(): void {
|
||||||
this.pdfExport.exportSingleMotion(this.motion, {
|
this.pdfExport.exportSingleMotion(this.motion, {
|
||||||
lnMode: this.lnMode,
|
lnMode: this.lnMode === this.LineNumberingMode.Inside ? this.LineNumberingMode.Outside : this.lnMode,
|
||||||
crMode: this.crMode,
|
crMode: this.crMode,
|
||||||
comments: this.motion.commentSectionIds.concat([PERSONAL_NOTE_ID]) // export all comment fields as well as personal note
|
comments: this.motion.commentSectionIds.concat([PERSONAL_NOTE_ID]) // export all comment fields as well as personal note
|
||||||
});
|
});
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
<p class="toggle-group-head" translate>Line numbering</p>
|
<p class="toggle-group-head" translate>Line numbering</p>
|
||||||
<mat-button-toggle-group class="smaller-buttons" formControlName="lnMode">
|
<mat-button-toggle-group class="smaller-buttons" formControlName="lnMode">
|
||||||
<mat-button-toggle [value]="lnMode.None"> <span translate>None</span> </mat-button-toggle>
|
<mat-button-toggle [value]="lnMode.None"> <span translate>None</span> </mat-button-toggle>
|
||||||
<mat-button-toggle [value]="lnMode.Inside"> <span translate>Inline</span> </mat-button-toggle>
|
|
||||||
<mat-button-toggle [value]="lnMode.Outside"> <span translate>Outside</span> </mat-button-toggle>
|
<mat-button-toggle [value]="lnMode.Outside"> <span translate>Outside</span> </mat-button-toggle>
|
||||||
</mat-button-toggle-group>
|
</mat-button-toggle-group>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user