Commits

Kohei Yoshida  committed 285a80f

Debug statements, to see if I'm importing data correctly.

  • Participants
  • Parent commits 65552ec

Comments (0)

Files changed (1)

File sc/source/filter/xml/xmlcelli.cxx

 {
     pOUPhoneticText.reset(rOUPhoneticText);
     aPhoneticPortions = rPortions;
+
+    fprintf(stdout, "ScXMLTableRowCellContext::SetPhoneticText:   ruby text = '%s'\n", 
+            rtl::OUStringToOString(*pOUPhoneticText, RTL_TEXTENCODING_UTF8).getStr());
+    size_t n = aPhoneticPortions.size();
+    for (size_t i = 0; i < n; ++i)
+    {
+        const ScPhonetic::Portion& r = aPhoneticPortions[i];
+        fprintf(stdout, "ScXMLTableRowCellContext::SetPhoneticText:   ruby pos = %d  base pos = %d  base len = %d\n",
+                r.mnPosRuby, r.mnPosBase, r.mnBaseLen);
+    }
 }