📦 Initialize Geulbeot structure and merge Prompts & test projects
This commit is contained in:
116
03. Code/geulbeot_9th/templates/hwp_html_defaults.json
Normal file
116
03. Code/geulbeot_9th/templates/hwp_html_defaults.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"_comment": "A4 HTML 문서 레이아웃 기본값 - hwp_html_guide.md 참조. HWPX 추출값이 있으면 오버라이드됨",
|
||||
|
||||
"page": {
|
||||
"width": "210mm",
|
||||
"height": "297mm",
|
||||
"background": "white"
|
||||
},
|
||||
|
||||
"margins": {
|
||||
"top": "20mm",
|
||||
"bottom": "20mm",
|
||||
"left": "20mm",
|
||||
"right": "20mm"
|
||||
},
|
||||
|
||||
"headerPosition": {
|
||||
"top": "10mm",
|
||||
"left": "20mm",
|
||||
"right": "20mm"
|
||||
},
|
||||
|
||||
"footerPosition": {
|
||||
"bottom": "10mm",
|
||||
"left": "20mm",
|
||||
"right": "20mm"
|
||||
},
|
||||
|
||||
"bodyContent": {
|
||||
"top": "20mm",
|
||||
"left": "20mm",
|
||||
"right": "20mm",
|
||||
"bottom": "20mm"
|
||||
},
|
||||
|
||||
"bodyMaxHeight": "970px",
|
||||
|
||||
"preview": {
|
||||
"bodyBackground": "#f5f5f5",
|
||||
"sheetMargin": "20px auto",
|
||||
"sheetShadow": "0 0 15px rgba(0,0,0,0.1)"
|
||||
},
|
||||
|
||||
"typography": {
|
||||
"fontFamily": "'Noto Sans KR', sans-serif",
|
||||
"fontImport": "https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap",
|
||||
"body": {
|
||||
"fontSize": "10pt",
|
||||
"lineHeight": "1.6",
|
||||
"textAlign": "justify",
|
||||
"wordBreak": "keep-all"
|
||||
},
|
||||
"heading": {
|
||||
"h1": { "fontSize": "20pt", "fontWeight": "900" },
|
||||
"h2": { "fontSize": "16pt", "fontWeight": "700" },
|
||||
"h3": { "fontSize": "13pt", "fontWeight": "700" }
|
||||
},
|
||||
"headerFooter": {
|
||||
"fontSize": "9pt"
|
||||
}
|
||||
},
|
||||
|
||||
"colors": {
|
||||
"primary": "#1a365d",
|
||||
"accent": "#2c5282",
|
||||
"lightBg": "#EBF4FF",
|
||||
"text": "#000",
|
||||
"headerText": "#000",
|
||||
"footerText": "#555",
|
||||
"footerBorder": "#eee",
|
||||
"tableBorderTop": "#1a365d",
|
||||
"tableBorder": "#ddd",
|
||||
"tableHeaderBg": "#EBF4FF"
|
||||
},
|
||||
|
||||
"table": {
|
||||
"width": "100%",
|
||||
"borderCollapse": "collapse",
|
||||
"tableLayout": "fixed",
|
||||
"fontSize": "9.5pt",
|
||||
"th": {
|
||||
"fontSize": "9pt",
|
||||
"fontWeight": "900",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"whiteSpace": "nowrap",
|
||||
"padding": "6px 5px"
|
||||
},
|
||||
"td": {
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"wordBreak": "keep-all",
|
||||
"padding": "6px 5px"
|
||||
}
|
||||
},
|
||||
|
||||
"headerFooterTable": {
|
||||
"border": "none",
|
||||
"width": "100%",
|
||||
"fontSize": "9pt",
|
||||
"cellPadding": "2px 5px"
|
||||
},
|
||||
|
||||
"bulletList": {
|
||||
"marker": "·",
|
||||
"className": "bullet-list",
|
||||
"paddingLeft": "15px",
|
||||
"itemMargin": "3px 0"
|
||||
},
|
||||
|
||||
"pageBreak": {
|
||||
"h1Break": true,
|
||||
"orphanControl": true,
|
||||
"orphanMinSpace": "90px"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user