node.cxx (79aad27f) node.cxx (1d1db856)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 2798 unchanged lines hidden (view full) ---

2807 pNode->CreateTextFromNode(aStr);
2808 if (aStr.Len() > 1)
2809 rText.Append(aStr);
2810 else
2811 {
2812 nLast = aStr.GetChar(0);
2813 switch (nLast)
2814 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 2798 unchanged lines hidden (view full) ---

2807 pNode->CreateTextFromNode(aStr);
2808 if (aStr.Len() > 1)
2809 rText.Append(aStr);
2810 else
2811 {
2812 nLast = aStr.GetChar(0);
2813 switch (nLast)
2814 {
2815 case 0xAF:
2815 case 0xAF: // MACRON
2816 APPEND(rText,"overline ");
2817 break;
2816 APPEND(rText,"overline ");
2817 break;
2818 case 0x2d9:
2818 case 0x2d9: // DOT ABOVE
2819 APPEND(rText,"dot ");
2820 break;
2819 APPEND(rText,"dot ");
2820 break;
2821 case 0x2dc:
2821 case 0x2dc: // SMALL TILDE
2822 APPEND(rText,"widetilde ");
2823 break;
2822 APPEND(rText,"widetilde ");
2823 break;
2824 case 0xA8:
2824 case 0xA8: // DIAERESIS
2825 APPEND(rText,"ddot ");
2826 break;
2827 case 0xE082:
2828 break;
2829 case 0xE09B:
2825 APPEND(rText,"ddot ");
2826 break;
2827 case 0xE082:
2828 break;
2829 case 0xE09B:
2830 case 0x20DB: // COMBINING THREE DOTS ABOVE
2830 APPEND(rText,"dddot ");
2831 break;
2831 APPEND(rText,"dddot ");
2832 break;
2833 case 0x301: // COMBINING ACUTE ACCENT
2834 APPEND(rText,"acute ");
2835 break;
2836 case 0x300: // COMBINING GRAVE ACCENT
2837 APPEND(rText,"grave ");
2838 break;
2839 case 0x30C: // COMBINING CARON
2840 APPEND(rText,"check ");
2841 break;
2842 case 0x306: // COMBINING BREVE
2843 APPEND(rText,"breve ");
2844 break;
2845 case 0x30A: // COMBINING RING ABOVE
2846 APPEND(rText,"circle ");
2847 break;
2848 case 0x20D7: // COMBINING RIGHT ARROW ABOVE
2849 APPEND(rText,"vec ");
2850 break;
2851 case 0x303: // COMBINING TILDE
2852 APPEND(rText,"tilde ");
2853 break;
2854 case 0x302: // COMBINING CIRCUMFLEX ACCENT
2855 APPEND(rText,"hat ");
2856 break;
2857 case 0x304: // COMBINING MACRON
2858 APPEND(rText,"bar ");
2859 break;
2832 default:
2833 rText.Append(nLast);
2834 break;
2835 }
2836 }
2837 }
2838
2839 if (nSize == 2)

--- 243 unchanged lines hidden ---
2860 default:
2861 rText.Append(nLast);
2862 break;
2863 }
2864 }
2865 }
2866
2867 if (nSize == 2)

--- 243 unchanged lines hidden ---