Rev 4190 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4190 | Rev 4192 | ||
---|---|---|---|
Line 658... | Line 658... | ||
658 | if (!chTag("center")) |
658 | if (!chTag("center")) |
659 | { |
659 | { |
660 | if (rez) text_align = ALIGN_CENTER; |
660 | if (rez) text_align = ALIGN_CENTER; |
661 | if (!rez) text_align = ALIGN_LEFT; |
661 | if (!rez) text_align = ALIGN_LEFT; |
662 | } |
662 | return; |
- | 663 | } |
|
663 | if (!chTag("right")) |
664 | if (!chTag("right")) |
664 | { |
665 | { |
665 | if (rez) text_align = ALIGN_RIGHT; |
666 | if (rez) text_align = ALIGN_RIGHT; |
666 | if (!rez) text_align = ALIGN_LEFT; |
667 | if (!rez) text_align = ALIGN_LEFT; |
667 | } |
668 | return; |
- | 669 | } |
|
668 | if (!chTag("h1")) || (!chTag("h2")) || (!chTag("h3")) || (!chTag("h4")) { |
670 | if (!chTag("h1")) || (!chTag("h2")) || (!chTag("h3")) || (!chTag("h4")) { |
669 | if (rez) |
671 | TextGoDown(left1, top1, width1); |
- | 672 | IF(rez) TextGoDown(left1, top1 + 10, width1); |
|
- | 673 | strcpy(#oldtag, #tag); |
|
- | 674 | if (rez) |
|
670 | { |
675 | { |
671 | if (!strcmp(#parametr, "align=")) && (!strcmp(#options,"center")) text_align = ALIGN_CENTER; |
676 | if (!strcmp(#parametr, "align=")) && (!strcmp(#options,"center")) text_align = ALIGN_CENTER; |
672 | if (!strcmp(#parametr, "align=")) && (!strcmp(#options,"right")) text_align = ALIGN_RIGHT; |
677 | if (!strcmp(#parametr, "align=")) && (!strcmp(#options,"right")) text_align = ALIGN_RIGHT; |
673 | b_text = 1; |
678 | b_text = 1; |
674 | } |
679 | } |
Line 676... | Line 681... | ||
676 | { |
681 | { |
677 | text_align = ALIGN_LEFT; |
682 | text_align = ALIGN_LEFT; |
678 | b_text = 0; |
683 | b_text = 0; |
679 | } |
684 | } |
680 | TextGoDown(left1, top1, width1); |
685 | return; |
681 | IF(rez) TextGoDown(left1, top1 + 10, width1); |
- | |
682 | strcpy(#oldtag, #tag); |
- | |
683 | return; |
- | |
684 | } |
686 | } |
685 | else |
687 | else |
686 | oldtag=NULL; |
688 | oldtag=NULL; |
687 | 689 |