Skip to content

Commit

Permalink
Merge pull request #2379 from rahon6000/master
Browse files Browse the repository at this point in the history
changed default section margin from inch to Twip
  • Loading branch information
dolanmiu authored Oct 20, 2023
2 parents d5d8055 + 3a36d91 commit f9d1c19
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { FooterWrapper } from "@file/footer-wrapper";
import { HeaderWrapper } from "@file/header-wrapper";
import { VerticalAlign, VerticalAlignElement } from "@file/vertical-align";
import { OnOffElement, XmlComponent } from "@file/xml-components";
import { PositiveUniversalMeasure, UniversalMeasure } from "@util/values";

import { HeaderFooterReference, HeaderFooterReferenceType, HeaderFooterType } from "./properties/header-footer-reference";
import { Columns, IColumnsAttributes } from "./properties/columns";
Expand Down Expand Up @@ -76,10 +75,10 @@ export interface ISectionPropertiesOptions {
// </xsd:group>

export const sectionMarginDefaults = {
TOP: "1in" as UniversalMeasure,
RIGHT: "1in" as PositiveUniversalMeasure,
BOTTOM: "1in" as UniversalMeasure,
LEFT: "1in" as PositiveUniversalMeasure,
TOP: 1440,
RIGHT: 1440,
BOTTOM: 1440,
LEFT: 1440,
HEADER: 708,
FOOTER: 708,
GUTTER: 0,
Expand Down

0 comments on commit f9d1c19

Please sign in to comment.