Re: How to import text boxes from MS Word.

From: Christian Meyer (chrisime_at_uni.de)
Date: Sun Mar 21 2004 - 06:27:26 EST

  • Next message: Frodo Looijaard: "Re: Commit (HEAD): Psion exporter enhancements"

    Hi!

    OK, here you go:

    line 754: setup size
    line 777: adjust width and height
    line 783: adjust width and preserve aspect ratio (hopefully they mean
    that)
    line 792: adjust height and preserver aspect ratio
    line 813: PCT-command arrived
    line 818: if Type != 0 then skip wrong declaration/statement of length
    line 834-837: the anchor is the SPoint of the "Pam", this will be
    changed if you insert a text etc., therefore store it on the attribute
    Stack, the attribute has to be asked from the format, to make sure that
    the format is recognized later on.
    line 861: with border
    line 865: 0 == full width (e.g. WW2)
    line 874: without border
    line 878: see 865
    line 900: try to read width and height, too
    line 914: important: return one (?!)
    line 917: where req. remove beginning and trailing blanks
    line 919: where req. remove quotation marks
    line 925: bear in mind style of passed string
    line 939: setup kind of binding (?!)
    line 940: for/as letters
    line 944: setup size
    line 949: bind link to the graphic (they definitely mean sth. else here)
    line 952 - 955: name of graphic, pointer to graphic, attribute of
    flyfrm, attribute for graphic
    line 957: where appl. fix length and width
    line 991: missing opt. parameter?
    line 996: APO with exact statements already available
    line 1003: read graphic
    line 1004: until PCT
    line 1014: workaround for among others "Panne"
    line 1031: graphic correctly read
    line 1033 - 1036: name of gfx, attribute for flyfrm, attribute for gfx
    line 1038: no gfx -> ...
    line 1043: surrounding border (in case of...)
    line 1044: make bigger until it fits
    line 1090: put \0x00 behind filename
    line 1093: evtl. skip the following params
    line 1101 - 1103: paragraph, page, letter
    line 1110: see 1014
    line 1147: left-aligned with offset
    line 1154: top-aligned with offset
    line 1179: put borders inside
    line 1188: in case of..set border
    line 1191: in case of..set background
    line 1198: in case of..set shadow
    line 1209: calculate horiz. border width
    line 1227: calculate vert. border width
    line 1250: read and link gfx
    line 1274 - 1277: We only read the content of the image if we didn't
    received a name. If we have a name we put in a link instead of an image.
    line 1314 - 1317: name of gfx, attr. for flyfrm, attr. for gfx
    line 1348: text-flyframe or formula or empty
    line 1367: override implicite stuff
    line 1382: don't steal HNL
    line 1383: before attributes are set
    line 1407: border
    line 1410: set border, call after SetPamInCell
    line 1411: Ret: Bit 0: set border
    line 1412: Bit 1: set shadow
    line 1416 - 1418: W4W doesn't use it's small region of the width, at least not WP and
    WW2, that means ... and ... is never used. I have optimized that table for WW2 now.
    line 1420: outer line
    line 1426: inner line
    line 1427: index see nOutTab
    line 1428: distance of lines
    line 1432: kind of lines
    line 1439: nothing to do
    line 1452: at least one line exists
    line 1453: or == 8 ??
    line 1455: shadow

    HTH; BTW, there's a really good translation page for german <-> english words:
    http://dict.leo.org
    In case you need some translations, check this site.

    cya,
    Christian



    This archive was generated by hypermail 2.1.4 : Sun Mar 21 2004 - 06:30:11 EST