summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpreader.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-06-04 09:01:49 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-06-04 09:01:49 +0000
commitca28a7236d7ee6670f5363dbf9960a51e64fdd31 (patch)
tree8ea57e57fe8c409f88083ab46f7329793b644a52 /hwpfilter/source/hwpreader.cxx
parent9be6a3f0dcdea27918eb03de6490c40f7fa407cc (diff)
INTEGRATION: CWS sw30bf04 (1.10.2); FILE MERGED
2008/04/16 14:07:55 ama 1.10.2.1: Patch #i86356#: Remove unused methods
Diffstat (limited to 'hwpfilter/source/hwpreader.cxx')
-rw-r--r--hwpfilter/source/hwpreader.cxx348
1 files changed, 140 insertions, 208 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 2254943f3487..fc253ed4ce13 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hwpreader.cxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -365,7 +365,7 @@ void HwpReader::makeMeta()
}
sprintf(buf,"%d-%02d-%02dT%02d:%02d:00",year,month,day,hour,minute);
-/* 2001³â 9¿ù 8ÀÏ Åä¿äÀÏ, 14½Ã 16ºÐ */
+/* 2001?? 9?? 8?? ??????, 14?? 16?? */
// 2001-09-07T11:16:47
rstartEl( ascii("meta:creation-date"), rList );
rchars( ascii(buf));
@@ -374,7 +374,7 @@ void HwpReader::makeMeta()
if (hwpinfo->summary.keyword[0][0] || hwpinfo->summary.etc[0][0])
{
-/* ½ºÆå¿¡´Â dc·Î µÇ¾îÀÖ´Ù. */
+/* ???????? dc?? ????????. */
rstartEl(ascii("meta:keywords"), rList);
if (hwpinfo->summary.keyword[0][0])
{
@@ -502,7 +502,7 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
if( hdo->type == HWPDO_LINE || hdo->type == HWPDO_ARC || hdo->type == HWPDO_FREEFORM ||
hdo->type == HWPDO_ADVANCED_ARC )
{
- /* È­»ìÇ¥¸¦ »ç¿ë */
+ /* ???????? ???? */
if( prop->line_tstyle && !ArrowShape[prop->line_tstyle].bMade )
{
ArrowShape[prop->line_tstyle].bMade = sal_True;
@@ -555,7 +555,7 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
if( hdo->type != HWPDO_LINE )
{
- if( prop->flag >> 18 & 0x01 ) /* ºñÆ®¸Ê ÆÄÀÏ ¼Ó¼º Á¸Àç */
+ if( prop->flag >> 18 & 0x01 ) /* ?????? ???? ???? ???? */
{
padd( ascii("draw:name"), sXML_CDATA, ascii(Int2Str(hdo->index, "fillimage%d", buf)));
if( !prop->pictype )
@@ -563,7 +563,7 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
padd( ascii("xlink:href"), sXML_CDATA,
hconv(kstr2hstr( (uchar *)urltounix(prop->szPatternFile, buf), sbuf), gstr));
}
- else /* ÀÓº£µðµå image·Î¼­ ÆÄÀÏ·Î ÀúÀåÇØ¾ß ÇÑ´Ù. */
+ else /* ???????? image???? ?????? ???????? ????. */
{
EmPicture *emp = 0L;
if ( strlen( prop->szPatternFile ) > 3)
@@ -615,8 +615,8 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
pList->clear();
rendEl( ascii("draw:fill-image"));
}
-/* ±×¶óµ¥À̼ÇÀÌ Á¸ÀçÇصµ, ºñÆ®¸ÊÆÄÀÏÀÌ Á¸ÀçÇϸé, ÀÌ°ÍÀÌ ¿ì¼±ÀÌ´Ù. */
- else if( prop->flag >> 16 & 0x01 ) /* ±×¶óµ¥ÀÌ¼Ç Á¸Àç¿©ºÎ */
+/* ???????????? ????????, ???????????? ????????, ?????? ????????. */
+ else if( prop->flag >> 16 & 0x01 ) /* ?????????? ???????? */
{
padd( ascii("draw:name"), sXML_CDATA, ascii(Int2Str(hdo->index, "Grad%d", buf)));
switch( prop->gstyle )
@@ -698,7 +698,7 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
pList->clear();
rendEl( ascii("draw:gradient"));
}
- /* ÇØĪ */
+ /* ???? */
else if( prop->pattern_type >> 24 & 0x01 )
{
int type = prop->pattern_type & 0xffffff;
@@ -862,8 +862,8 @@ void HwpReader::makeStyles()
/**
* parse automatic styles from hwpfile
- * ÀÚµ¿ÀûÀ¸·Î ¹Ý¿µÀÌ µÇ´Â ½ºÅ¸ÀÏÀ» Á¤ÀÇÇÑ´Ù. ¿¹¸¦µé¾î °¢°¢ÀÇ ¹®´ÜÀ̳ª, Å×À̺í, Çì´õ µîµîÀÇ ½ºÅ¸ÀÏÀ» ÀÌ°÷¿¡¼­ Á¤ÀÇÇÏ°í, Body¿¡¼­´Â ÀÌ°÷¿¡ Á¤ÀÇµÈ ½ºÅ¸ÀÏÀ» ÀÌ¿ëÇÑ´Ù.
- * 1. paragraph, text, fbox, page½ºÅ¸ÀÏ¿¡ ´ëÇØ Áö¿øÇÑ´Ù.
+ * ?????????? ?????? ???? ???????? ????????. ???????? ?????? ????????, ??????, ???? ?????? ???????? ???????? ????????, Body?????? ?????? ?????? ???????? ????????.
+ * 1. paragraph, text, fbox, page???????? ???? ????????.
*/
void HwpReader::makeAutoStyles()
{
@@ -1094,7 +1094,7 @@ void HwpReader::makeMasterStyles()
rstartEl(ascii("style:master-page"), rList);
pList->clear();
- if( pSet[i].bIsSet ) /* ÇöÀç ¼³Á¤ÀÌ ¹Ù²î¾úÀ¸¸é */
+ if( pSet[i].bIsSet ) /* ???? ?????? ?????????? */
{
if( !pSet[i].pagenumber ){
if( pPrevSet && pPrevSet->pagenumber )
@@ -1136,11 +1136,11 @@ void HwpReader::makeMasterStyles()
pPage = &pSet[i];
pPrevSet = &pSet[i];
}
- else if( pPrevSet ) /* ÀÌÀüÀÇ ¼³Á¤µÈ °ÍÀÌ ÀÖÀ¸¸é. */
+ else if( pPrevSet ) /* ?????? ?????? ???? ??????. */
{
pPage = pPrevSet;
}
- else /* ¾ÆÁ÷ ¼³Á¤ÀÌ ¾ø´Ù¸é ±âº»¼³Á¤À¸·Î */
+ else /* ???? ?????? ?????? ???????????? */
{
rstartEl(ascii("style:header"), rList);
padd(ascii("text:style-name"), sXML_CDATA, ascii("Standard"));
@@ -1190,7 +1190,7 @@ void HwpReader::makeMasterStyles()
d->nPnPos = 0;
rendEl(ascii("style:header"));
}
- /* ±âº»À¸·Î ÇÑ´Ù. */
+ /* ???????? ????. */
else if( pPage->header_odd && !pPage->header_even )
{
rstartEl(ascii("style:header"), rList);
@@ -1225,7 +1225,7 @@ void HwpReader::makeMasterStyles()
d->nPnPos = 0;
rendEl(ascii("style:header-left"));
}
- /* ±âº»À¸·Î ÇÑ´Ù. */
+ /* ???????? ????. */
else if( pPage->header_even && !pPage->header_odd )
{
rstartEl(ascii("style:header-left"), rList);
@@ -1291,7 +1291,7 @@ void HwpReader::makeMasterStyles()
d->nPnPos = 0;
rendEl(ascii("style:footer"));
}
- /* ±âº»À¸·Î ÇÑ´Ù. */
+ /* ???????? ????. */
else if( pPage->footer_odd && !pPage->footer_even )
{
rstartEl(ascii("style:footer"), rList);
@@ -1326,7 +1326,7 @@ void HwpReader::makeMasterStyles()
d->nPnPos = 0;
rendEl(ascii("style:footer-left"));
}
- /* ±âº»À¸·Î ÇÑ´Ù. */
+ /* ???????? ????. */
else if( pPage->footer_even && !pPage->footer_odd )
{
rstartEl(ascii("style:footer-left"), rList);
@@ -1369,11 +1369,11 @@ void HwpReader::makeMasterStyles()
/**
- * ÅؽºÆ® ½ºÅ¸ÀÏÀ» À§ÇÑ ÇÁ·ÎÆÛƼµéÀ» ¸¸µç´Ù.
+ * ?????? ???????? ???? ???????????? ??????.
* 1. fo:font-size, fo:font-family, fo:letter-spacing, fo:color,
* style:text-background-color, fo:font-style, fo:font-weight,
* style:text-underline,style:text-outline,fo:text-shadow,style:text-position
- * À» Áö¿øÇÑ´Ù.
+ * ?? ????????.
*/
void HwpReader::parseCharShape(CharShape * cshape)
{
@@ -1443,11 +1443,11 @@ void HwpReader::parseCharShape(CharShape * cshape)
/**
- * ½ÇÁ¦ Paragraph¿¡ ÇØ´çÇÏ´Â propertiesµéÀ» ¸¸µç´Ù.
+ * ???? Paragraph?? ???????? properties???? ??????.
* 1. fo:margin-left,fo:margin-right,fo:margin-top, fo:margin-bottom,
* fo:text-indent, fo:line-height, fo:text-align, fo:border
- * °¡ ±¸ÇöµÊ.
- * TODO : ÅǼ³Á¤ => ±âº»°ªÀÌ ¾Æ´Ñ°Íµé¸¸ ¼±ÅÃÀûÀ¸·Î ¼³Á¤ÇØ¾ß ÇÑ´Ù.
+ * ?? ??????.
+ * TODO : ?????? => ???????? ?????????? ?????????? ???????? ????.
*/
void HwpReader::parseParaShape(ParaShape * pshape)
{
@@ -1515,7 +1515,7 @@ void HwpReader::parseParaShape(ParaShape * pshape)
/**
- * Paragraph¿¡ ´ëÇÑ ½ºÅ¸ÀÏÀ» ¸¸µç´Ù.
+ * Paragraph?? ???? ???????? ??????.
*/
void HwpReader::makePStyle(ParaShape * pshape)
{
@@ -1585,8 +1585,8 @@ void HwpReader::makePStyle(ParaShape * pshape)
/**
- * ÆäÀÌÁöÀÇ ½ºÅ¸ÀÏÀ» ¸¸µç´Ù. ¿©±â¿¡´Â header/footer, footnoteµîÀÌ Æ÷ÇԵȴÙ.
- * TODO : , fo:background-color(Á¤º¸°¡ ¾ø´Ù)
+ * ???????? ???????? ??????. ???????? header/footer, footnote???? ????????.
+ * TODO : , fo:background-color(?????? ????)
*/
void HwpReader::makePageStyle()
{
@@ -1818,7 +1818,7 @@ void HwpReader::makePageStyle()
rendEl(ascii("style:properties"));
rendEl(ascii("style:footer-style"));
- /* footnote style ÀÌ°Ç dtd¿¡¼­´Â ºüÁ³À¸³ª, ½ºÆå¿¡´Â Á¤ÀǵǾî ÀÖ´Ù. REALKING */
+ /* footnote style ???? dtd?????? ????????, ???????? ???????? ????. REALKING */
rstartEl(ascii("style:footnote-layout"), rList);
padd(ascii("style:distance-before-sep"), sXML_CDATA,
@@ -1857,17 +1857,17 @@ void HwpReader::makeColumns(ColumnDef *coldef)
{
switch( coldef->separator )
{
- case 1: /* ¾ãÀº¼± */
+ case 1: /* ?????? */
padd(ascii("style:width"), sXML_CDATA, ascii("0.02mm"));
- case 3: /* Á¡¼± */
+ case 3: /* ???? */
padd(ascii("style:style"), sXML_CDATA, ascii("dotted"));
padd(ascii("style:width"), sXML_CDATA, ascii("0.02mm"));
break;
- case 2: /* µÎ²¨¿î¼± */
- case 4: /* 2Áß¼± */
+ case 2: /* ???????? */
+ case 4: /* 2???? */
padd(ascii("style:width"), sXML_CDATA, ascii("0.35mm"));
break;
- case 0: /* ¾øÀ½ */
+ case 0: /* ???? */
default:
padd(ascii("style:style"), sXML_CDATA, ascii("none"));
break;
@@ -1981,14 +1981,14 @@ void HwpReader::makeTableStyle(Table *tbl)
{
switch( cl->linetype[2] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -1998,56 +1998,56 @@ void HwpReader::makeTableStyle(Table *tbl)
{
switch( cl->linetype[0] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-left"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cl->linetype[1] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-right"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cl->linetype[2] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-top"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cl->linetype[3] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-bottom"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -2392,14 +2392,14 @@ void HwpReader::makeCaptionStyle(FBoxStyle * fstyle)
case 0:
padd(ascii("fo:padding"), sXML_CDATA,ascii("0mm"));
break;
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -2409,56 +2409,56 @@ void HwpReader::makeCaptionStyle(FBoxStyle * fstyle)
{
switch( cell->linetype[0] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-left"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[1] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-right"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[2] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-top"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[3] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-bottom"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -2477,11 +2477,11 @@ void HwpReader::makeCaptionStyle(FBoxStyle * fstyle)
/**
- * Floating °´Ã¼¿¡ ´ëÇÑ ½ºÅ¸ÀÏÀ» ¸¸µç´Ù.
+ * Floating ?????? ???? ???????? ??????.
*/
void HwpReader::makeFStyle(FBoxStyle * fstyle)
{
- /* ĸ¼Ç exist */
+ /* ???? exist */
if( ( fstyle->boxtype == 'G' || fstyle->boxtype == 'X' ) && fstyle->cap_len > 0 )
{
makeCaptionStyle(fstyle);
@@ -2603,14 +2603,14 @@ void HwpReader::makeFStyle(FBoxStyle * fstyle)
case 0:
padd(ascii("fo:border"), sXML_CDATA, ascii("none"));
break;
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -2620,56 +2620,56 @@ void HwpReader::makeFStyle(FBoxStyle * fstyle)
{
switch( cell->linetype[0] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-left"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-left"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[1] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-right"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-right"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[2] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-top"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-top"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
}
switch( cell->linetype[3] )
{
- case 1: /* °¡´Â½Ç¼± */
- case 3: /* Á¡¼± -> ½ºÅ¸¿ÀÇǽº¿¡´Â Á¡¼±ÀÌ ¾ø´Ù. */
+ case 1: /* ???????? */
+ case 3: /* ???? -> ?????????????? ?????? ????. */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.002cm solid #000000"));
break;
- case 2: /* ±½Àº½Ç¼± */
+ case 2: /* ???????? */
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.035cm solid #000000"));
break;
- case 4: /* 2Áß¼± */
+ case 4: /* 2???? */
padd(ascii("style:border-line-width-bottom"), sXML_CDATA,ascii("0.002cm 0.035cm 0.002cm"));
padd(ascii("fo:border-bottom"), sXML_CDATA,ascii("0.039cm double #000000"));
break;
@@ -2761,7 +2761,7 @@ void HwpReader::makeChars(hchar *str, int size)
/**
- * ¹®´Ü³»¿¡ Ư¼ö¹®ÀÚ°¡ ¾ø°í ¸ðµç ¹®ÀÚ°¡ µ¿ÀÏÇÑ CharShape¸¦ »ç¿ëÇÏ´Â °æ¿ì
+ * ???????? ?????????? ???? ???? ?????? ?????? CharShape?? ???????? ????
*/
void HwpReader::make_text_p0(HWPPara * para, sal_Bool bParaStart)
{
@@ -2778,7 +2778,7 @@ void HwpReader::make_text_p0(HWPPara * para, sal_Bool bParaStart)
}
if( d->bFirstPara && d->bInBody )
{
- strcpy(buf,"[¹®¼­ÀÇ Ã³À½]");
+ strcpy(buf,"[?????? ????]");
padd(ascii("text:name"), sXML_CDATA, OUString(buf, strlen(buf), RTL_TEXTENCODING_EUC_KR));
rstartEl(ascii("text:bookmark"), rList);
pList->clear();
@@ -2828,7 +2828,7 @@ void HwpReader::make_text_p0(HWPPara * para, sal_Bool bParaStart)
/**
- * ¹®´Ü³»¿¡ Ư¼ö¹®ÀÚ°¡ ¾øÀ¸³ª ¹®ÀÚµéÀÌ ´Ù¸¥ CharShape¸¦ »ç¿ëÇÏ´Â °æ¿ì
+ * ???????? ?????????? ?????? ???????? ???? CharShape?? ???????? ????
*/
void HwpReader::make_text_p1(HWPPara * para,sal_Bool bParaStart)
{
@@ -2848,7 +2848,7 @@ void HwpReader::make_text_p1(HWPPara * para,sal_Bool bParaStart)
if( d->bFirstPara && d->bInBody )
{
/* for HWP's Bookmark */
- strcpy(buf,"[¹®¼­ÀÇ Ã³À½]");
+ strcpy(buf,"[?????? ????]");
padd(ascii("text:name"), sXML_CDATA, OUString(buf, strlen(buf), RTL_TEXTENCODING_EUC_KR));
rstartEl(ascii("text:bookmark"), rList);
pList->clear();
@@ -2911,7 +2911,7 @@ void HwpReader::make_text_p1(HWPPara * para,sal_Bool bParaStart)
/**
- * ¹®´Ü ³»ÀÇ Æ¯¼ö¹®ÀÚ°¡ ÀÖÀ¸¸ç ¹®ÀÚµéÀÌ ´Ù¸¥ CharShape¸¦ °®´Â °æ¿ì¿¡ ´ëÇØ Ã³¸®
+ * ???? ???? ?????????? ?????? ???????? ???? CharShape?? ???? ?????? ???? ????
*/
void HwpReader::make_text_p3(HWPPara * para,sal_Bool bParaStart)
{
@@ -2927,7 +2927,7 @@ void HwpReader::make_text_p3(HWPPara * para,sal_Bool bParaStart)
{
if( !pstart )
STARTP;
- strcpy(buf,"[¹®¼­ÀÇ Ã³À½]");
+ strcpy(buf,"[?????? ????]");
padd(ascii("text:name"), sXML_CDATA, OUString(buf, strlen(buf), RTL_TEXTENCODING_EUC_KR));
rstartEl(ascii("text:bookmark"), rList);
pList->clear();
@@ -3050,9 +3050,9 @@ void HwpReader::make_text_p3(HWPPara * para,sal_Bool bParaStart)
}
makeTab((Tab *) para->hhstr[n]);
break;
- case CH_TEXT_BOX: /* 10 - Ç¥/ÅؽºÆ®¹Ú½º/¼ö½Ä/¹öÆ°/ÇÏÀÌÆÛÅؽºÆ® ¼ø */
+ case CH_TEXT_BOX: /* 10 - ??/??????????/????/????/???????????? ?? */
{
-/* ÀÏ´ÜÀº Ç¥¸¸ ó¸®ÇÏ°í, ¼ö½ÄÀº text:p¾È¿¡ µé¾î°¡´Â °ÍÀ¸·Î ó¸®. */
+/* ?????? ???? ????????, ?????? text:p???? ???????? ?????? ????. */
TxtBox *hbox = (TxtBox *) para->hhstr[n];
if( hbox->style.anchor_type == 0 )
@@ -3159,11 +3159,11 @@ void HwpReader::make_text_p3(HWPPara * para,sal_Bool bParaStart)
l = 0;
makeMailMerge((MailMerge *) para->hhstr[n]);
break;
- case CH_COMPOSE: /* 23 - ±ÛÀÚ°ãħ */
+ case CH_COMPOSE: /* 23 - ???????? */
break;
case CH_HYPHEN: // 24
break;
- case CH_TOC_MARK: /* 25 ¾Æ·¡ÀÇ 3°³´Â ÀÛ¾÷ÇØ¾ß ÇÑ´Ù. */
+ case CH_TOC_MARK: /* 25 ?????? 3???? ???????? ????. */
if( !pstart ) {STARTP;}
if( !tstart ) {STARTT;}
makeChars(gstr, l);
@@ -3196,7 +3196,7 @@ void HwpReader::make_text_p3(HWPPara * para,sal_Bool bParaStart)
void HwpReader::makeFieldCode(FieldCode *hbox)
{
-/* ´©¸§Æ² */
+/* ?????? */
if( hbox->type[0] == 4 && hbox->type[1] == 0 )
{
padd(ascii("text:placeholder-type"), sXML_CDATA, ascii("text"));
@@ -3207,7 +3207,7 @@ void HwpReader::makeFieldCode(FieldCode *hbox)
rchars( OUString(gstr));
rendEl( ascii("text:placeholder") );
}
-/* ¹®¼­¿ä¾à */
+/* ???????? */
else if( hbox->type[0] == 3 && hbox->type[1] == 0 )
{
if( hconv( hbox->str3, gstr ).equals(OUString::createFromAscii("title")))
@@ -3235,7 +3235,7 @@ void HwpReader::makeFieldCode(FieldCode *hbox)
rendEl( ascii("text:keywords") );
}
}
-/* °³ÀÎÁ¤º¸ */
+/* ???????? */
else if( hbox->type[0] == 3 && hbox->type[1] == 1 )
{
if( hconv( hbox->str3, gstr ).equals(OUString::createFromAscii("User")))
@@ -3300,7 +3300,7 @@ void HwpReader::makeFieldCode(FieldCode *hbox)
}
}
- else if( hbox->type[0] == 3 && hbox->type[1] == 2 ) /* ¸¸µç³¯Â¥ */
+ else if( hbox->type[0] == 3 && hbox->type[1] == 2 ) /* ???????? */
{
if( hbox->m_pDate )
padd(ascii("style:data-style-name"), sXML_CDATA,
@@ -3315,7 +3315,7 @@ void HwpReader::makeFieldCode(FieldCode *hbox)
/**
* Completed
- * ½ºÅ¸¿ÀÇǽº¿¡¼­´Â ºÏ¸¶Å©¸¦ Reference·Î ÂüÁ¶Çϳª hwp¿¡´Â ±× ±â´ÉÀÌ ¾ø´Ù.
+ * ???????????????? ???????? Reference?? ???????? hwp???? ?? ?????? ????.
*/
void HwpReader::makeBookmark(Bookmark * hbox)
{
@@ -3326,7 +3326,7 @@ void HwpReader::makeBookmark(Bookmark * hbox)
pList->clear();
rendEl(ascii("text:bookmark"));
}
- else if (hbox->type == 1) /* ºí·Ï ºÏ¸¶Å©ÀÏ °æ¿ì ½ÃÀÛ°ú ³¡ÀÌ ÀÖ´Ù */
+ else if (hbox->type == 1) /* ???? ???????? ???? ?????? ???? ???? */
{
padd(ascii("text:name"), sXML_CDATA, (hconv(hbox->id, gstr)));
rstartEl(ascii("text:bookmark-start"), rList);
@@ -3587,10 +3587,10 @@ void HwpReader::makeTable(TxtBox * hbox)
/**
- * ÅؽºÆ®¹Ú½º¿Í Å×À̺íÀ» ÆĽÌÇÑ´Ù.
+ * ???????????? ???????? ????????.
* 1. draw:style-name, draw:name, text:anchor-type, svg:width,
* fo:min-height, svg:x, svg:y
- * TODO : fo:background-color·Î ¼¿ÀÇ Ä®¶ó ¼³Á¤=>½ºÅ¸ÀÏ¿¡ µé¾î°¡´Â Áö ¾ÆÁ÷ ¸ð¸£°Ú´Ù.
+ * TODO : fo:background-color?? ???? ???? ????=>???????? ???????? ?? ???? ????????.
*/
void HwpReader::makeTextBox(TxtBox * hbox)
{
@@ -3634,7 +3634,7 @@ void HwpReader::makeTextBox(TxtBox * hbox)
Double2Str(WTMM(( hbox->box_ys + hbox->cap_ys) )) + ascii("mm"));
rstartEl(ascii("draw:text-box"), rList);
pList->clear();
- if( hbox->cap_pos % 2 ) /* ĸ¼ÇÀÌ À§ÂÊ¿¡ À§Ä¡ÇÑ´Ù */
+ if( hbox->cap_pos % 2 ) /* ?????? ?????? ???????? */
{
parsePara(hbox->caption.first());
}
@@ -3705,7 +3705,7 @@ void HwpReader::makeTextBox(TxtBox * hbox)
{
rstartEl(ascii("draw:text-box"), rList);
pList->clear();
-/* ĸ¼ÇÀÌ Á¸ÀçÇÏ°í, À§ÂÊ¿¡ ÀÖÀ¸¸é */
+/* ?????? ????????, ?????? ?????? */
if( hbox->style.cap_len > 0 && (hbox->cap_pos % 2) && hbox->type == TBL_TYPE )
{
parsePara(hbox->caption.first());
@@ -3718,7 +3718,7 @@ void HwpReader::makeTextBox(TxtBox * hbox)
{
parsePara(hbox->plists[0].first());
}
-/* ĸ¼ÇÀÌ Á¸ÀçÇÏ°í, ¾Æ·¡ÂÊ¿¡ ÀÖÀ¸¸é */
+/* ?????? ????????, ???????? ?????? */
if( hbox->style.cap_len > 0 && !(hbox->cap_pos % 2) && hbox->type == TBL_TYPE)
{
parsePara(hbox->caption.first());
@@ -3746,7 +3746,7 @@ void HwpReader::makeTextBox(TxtBox * hbox)
/**
- * MathML·Î º¯È¯ÇØ¾ß ÇÑ´Ù.
+ * MathML?? ???????? ????.
*
*/
void HwpReader::makeFormula(TxtBox * hbox)
@@ -3804,9 +3804,9 @@ void HwpReader::makeFormula(TxtBox * hbox)
/**
- * platformÁ¤º¸¸¦ Àоîµé¿©¼­ href°¡ C:\³ª D:\·Î ½ÃÀÛÇÒ °æ¿ì ¸®´ª½º³ª ¼Ö¶ó¸®½ºÀ̸é
- * C:\ => ȨÀ¸·Î, D:\ => ·çÆ®(/)·Î ¹Ù²Ù¾îÁÖ´Â ÀÛ¾÷ÀÌ ÇÊ¿äÇÏ´Ù. ÀÌ°ÍÀº
- * ÇÑÄÄÀÌ µµ½º¿¡¹Ä·¹ÀÌÅ͸¦ ¾²±â ¶§¹®ÀÌ´Ù.
+ * platform?????? ?????????? href?? C:\?? D:\?? ?????? ???? ???????? ????????????
+ * C:\ => ??????, D:\ => ????(/)?? ?????????? ?????? ????????. ??????
+ * ?????? ???????????????? ???? ????????.
*/
void HwpReader::makeHyperText(TxtBox * hbox)
{
@@ -3849,9 +3849,9 @@ void HwpReader::makeHyperText(TxtBox * hbox)
/**
- * platformÁ¤º¸¸¦ Àоîµé¿©¼­ href°¡ C:\³ª D:\·Î ½ÃÀÛÇÒ °æ¿ì ¸®´ª½º³ª ¼Ö¶ó¸®½ºÀ̸é
- * C:\ => ȨÀ¸·Î, D:\ => ·çÆ®(/)·Î ¹Ù²Ù¾ú´Ù. ÀÌ°ÍÀº
- * ÇÑÄÄÀÌ µµ½º¿¡¹Ä·¹ÀÌÅ͸¦ ¾²±â ¶§¹®ÀÌ´Ù.
+ * platform?????? ?????????? href?? C:\?? D:\?? ?????? ???? ???????? ????????????
+ * C:\ => ??????, D:\ => ????(/)?? ????????. ??????
+ * ?????? ???????????????? ???? ????????.
*/
void HwpReader::makePicture(Picture * hbox)
{
@@ -3901,7 +3901,7 @@ void HwpReader::makePicture(Picture * hbox)
Double2Str(WTMM( hbox->box_ys + hbox->style.margin[1][2] + hbox->style.margin[1][3] + hbox->cap_ys )) + ascii("mm"));
rstartEl(ascii("draw:text-box"), rList);
pList->clear();
- if( hbox->cap_pos % 2 ) /* ĸ¼ÇÀÌ À§ÂÊ¿¡ À§Ä¡ÇÑ´Ù */
+ if( hbox->cap_pos % 2 ) /* ?????? ?????? ???????? */
{
parsePara(hbox->caption.first());
}
@@ -4048,7 +4048,7 @@ void HwpReader::makePicture(Picture * hbox)
if( hbox->style.cap_len > 0 )
{
rendEl( ascii("text:p"));
- if( !(hbox->cap_pos % 2)) /* ĸ¼ÇÀÌ ¾Æ·¡ÂÊ¿¡ À§Ä¡Çϸé, */
+ if( !(hbox->cap_pos % 2)) /* ?????? ???????? ????????, */
{
parsePara(hbox->caption.first());
}
@@ -4068,10 +4068,6 @@ void HwpReader::makePicture(Picture * hbox)
}
-void HwpReader::makePictureOLE(Picture * )
-{
-}
-
#define DBL(x) ((x) * (x))
void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
{
@@ -4130,13 +4126,13 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
ZZPoint pt[3], r_pt[3];
for(i = 0 ; i < 3 ; i++ ){
pt[i].x = pal->pt[i].x - drawobj->property.rot_originx;
- /* ¹°¸®ÁÂÇ¥°è·Î º¯È¯ */
+ /* ???????????? ???? */
pt[i].y = -(pal->pt[i].y - drawobj->property.rot_originy);
}
double rotate, skewX ;
- /* 2 - ȸÀü°¢ °è»ê */
+ /* 2 - ?????? ???? */
if( pt[1].x == pt[0].x ){
if( pt[1].y > pt[0].y )
rotate = PI/2;
@@ -4153,7 +4149,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
r_pt[i].y = (int)(pt[i].y * cos(-(rotate)) + pt[i].x * sin(-(rotate)));
}
- /* 4 - ÈØ°¢ °è»ê */
+ /* 4 - ???? ???? */
if( r_pt[2].y == r_pt[1].y )
skewX = 0;
else
@@ -4191,7 +4187,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
}
switch (drawobj->type)
{
- case HWPDO_LINE: /* ¼± - ½ÃÀÛÁÂÇ¥, ³¡ÁÂÇ¥. */
+ case HWPDO_LINE: /* ?? - ????????, ??????. */
if( drawobj->u.line_arc.flip & 0x01 )
{
padd(ascii("svg:x1"), sXML_CDATA,
@@ -4225,7 +4221,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
pList->clear();
rendEl(ascii("draw:line"));
break;
- case HWPDO_RECT: /* »ç°¢Çü - ½ÃÀÛÀ§Ä¡, °¡·Î/¼¼·Î */
+ case HWPDO_RECT: /* ?????? - ????????, ????/???? */
if( !bIsRotate )
{
padd(ascii("svg:x"), sXML_CDATA,
@@ -4267,8 +4263,8 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
}
rendEl(ascii("draw:rect"));
break;
- case HWPDO_ELLIPSE: /* Ÿ¿ø - ½ÃÀÛÀ§Ä¡, °¡·Î/¼¼·Î */
- case HWPDO_ADVANCED_ELLIPSE: /* º¯ÇüµÈ Ÿ¿ø */
+ case HWPDO_ELLIPSE: /* ???? - ????????, ????/???? */
+ case HWPDO_ADVANCED_ELLIPSE: /* ?????? ???? */
{
if( !bIsRotate )
{
@@ -4317,10 +4313,10 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
break;
}
- case HWPDO_ARC: /* ȣ */
+ case HWPDO_ARC: /* ?? */
case HWPDO_ADVANCED_ARC:
{
- /* È£ÀÏ°æ¿ì¿¡, ½ºÅ¸¿ÀÇǽº´Â Àüü Ÿ¿øÀÇ Å©±â¸¦ »çÀÌÁî·Î ÇÑ´Ù. */
+ /* ??????????, ???????????? ???? ?????? ?????? ???????? ????. */
uint flip = drawobj->u.line_arc.flip;
if( !bIsRotate )
{
@@ -4427,7 +4423,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
break;
}
- case HWPDO_CURVE: /* °î¼± : ´Ù°¢ÇüÀ¸·Î º¯È¯. */
+ case HWPDO_CURVE: /* ???? : ?????????? ????. */
{
sal_Bool bIsNatural = sal_True;
// os unused
@@ -4535,7 +4531,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
break;
}
case HWPDO_CLOSED_FREEFORM:
- case HWPDO_FREEFORM: /* ´Ù°¢Çü */
+ case HWPDO_FREEFORM: /* ?????? */
{
bool bIsPolygon = false;
@@ -4678,8 +4674,8 @@ void HwpReader::makeLine(Line * )
/**
- * ÀÔ·Â-ÁÖ¼®-¼ûÀº¼³¸í : »ç¿ëÀÚ¿¡°Ô ¼ûÀº ¼³¸íÀ» º¸¿©ÁØ´Ù.
- * ¹®´ÜÀÌ Æ÷Ç﵃ ¼ö ÀÖÀ¸³ª, ´ÜÁö ¹®ÀÚ¿­¸¸ »Ì¾Æ³»¾î ÆĽÌÇÑ´Ù.
+ * ????-????-???????? : ?????????? ???? ?????? ????????.
+ * ?????? ?????? ?? ??????, ???? ???????? ???????? ????????.
*/
void HwpReader::makeHidden(Hidden * hbox)
{
@@ -4709,16 +4705,7 @@ void HwpReader::makeHidden(Hidden * hbox)
/**
- * ÀÌ¹Ì master-page¿¡¼­ ÀÛ¾÷ÀÌ µÇ¾ú±â ¶§¹®¿¡ µû·Î ÀÛ¾÷ÇÒ ÇÊ¿ä°¡ ¾ø´Ù.
- * TODO : ³ªÁß¿¡ ¼Ò½ºÁ¤¸®ÇÒ¶§ Á¦°Å.
- */
-void HwpReader::makeHeaderFooter(HeaderFooter * )
-{
-}
-
-
-/**
- * °¢ÁÖ´Â text:footnote, ¹ÌÁÖ´Â text:endnote·Î º¯È¯
+ * ?????? text:footnote, ?????? text:endnote?? ????
*/
void HwpReader::makeFootnote(Footnote * hbox)
{
@@ -4816,15 +4803,6 @@ rendEl(ascii("text:endnote-ref"));
}
-/**
- * input new number of page/footnote/endnote/picture/table/formula number
- * not support operation in OO writer
- */
-void HwpReader::makeNewNum(NewNum * ) /*hbox */
-{
-}
-
-
void HwpReader::makeShowPageNum()
{
ShowPageNum *hbox = d->pPn;
@@ -4835,7 +4813,7 @@ void HwpReader::makeShowPageNum()
nPos = 2;
else if( hbox->where == 3 || hbox->where == 6 )
nPos = 3;
- else /* ÀÌ °æ¿ì°¡ Á¸ÀçÇÏ¸é ¾ÈµÈ´Ù. */
+ else /* ?? ?????? ???????? ??????. */
{
if( d->nPnPos == 1 )
nPos = 1;
@@ -4879,16 +4857,6 @@ void HwpReader::makeShowPageNum()
/**
- * disappear page-number/header/footer/border in current page.
- * not support operation in OO writer.
- */
-/*hbox */
-void HwpReader::makePageNumCtrl(PageNumCtrl * )
-{
-}
-
-
-/**
* mail merge operation using hwp adressbook and hwp data form.
* not support operation in OO writer.
*/
@@ -4900,24 +4868,6 @@ void HwpReader::makeMailMerge(MailMerge * hbox)
/**
- * write character on another character.
- * not support operation in OO writer.
- */
-void HwpReader::makeCompose(Compose * ) /*hbox */
-{
-}
-
-
-/**
- * In hwp, hyphen is adapted for only one character to be placed hyphen.
- * but, OO do it as paragraph.
- */
-void HwpReader::makeHyphen(Hyphen * ) /*hbox */
-{
-}
-
-
-/**
* Make heading contents file using toc marks
* not support operation.
*/
@@ -4942,24 +4892,6 @@ void HwpReader::makeOutline(Outline * hbox)
}
-void HwpReader::makeKeepSpace(KeepSpace * )
-{
- padd(ascii("text:c"), sXML_CDATA, ascii("1"));
- rstartEl(ascii("text:s"), rList);
- pList->clear();
- rendEl(ascii("text:s"));
-}
-
-
-void HwpReader::makeFixedSpace(FixedSpace * )
-{
- padd(ascii("text:c"), sXML_CDATA, ascii("1"));
- rstartEl(ascii("text:s"), rList);
- pList->clear();
- rendEl(ascii("text:s"));
-}
-
-
void HwpReader::parsePara(HWPPara * para, sal_Bool bParaStart)
{
@@ -4977,7 +4909,7 @@ void HwpReader::parsePara(HWPPara * para, sal_Bool bParaStart)
if( d->bFirstPara && d->bInBody )
{
/* for HWP's Bookmark */
- strcpy(buf,"[¹®¼­ÀÇ Ã³À½]");
+ strcpy(buf,"[?????? ????]");
padd(ascii("text:name"), sXML_CDATA, OUString(buf, strlen(buf), RTL_TEXTENCODING_EUC_KR));
rstartEl(ascii("text:bookmark"), rList);
pList->clear();