[PATCH] resolved fdo#35756 import more than 64k HTML table cells

Eike Rathke (via Code Review) gerrit at gerrit.libreoffice.org
Fri May 10 04:28:42 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3838

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/38/3838/1

resolved fdo#35756 import more than 64k HTML table cells

Enhanced EditEngine to be able to hold more than 64k paragraphs. Used
also in RTF import Calc and Writer, so that could benefit as well.

* changed all EditEngine,Outliner,... related paragraph index/count
  variables from sal_uInt16 to sal_Int32
  * sal_Int32 instead of sal_uInt32 to match accessibility API
  * matched some Outliner methods' paragraph parameters from sal_uLong
    to sal_Int32
  * containers capable to hold size_t nevertheless are limited to a
    maximum of sal_Int32
* changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to
  SAL_MAX_INT32
+ added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize
  ESelection with what previously were hard coded 0xFFFF all over the
  place
+ for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL
  to initialize an ESelection spanning all available text like
  aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL)

Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00
---
M chart2/source/view/axes/VCartesianAxis.cxx
M editeng/source/accessibility/AccessibleEditableTextPara.cxx
M editeng/source/accessibility/AccessibleHyperlink.cxx
M editeng/source/accessibility/AccessibleHyperlink.hxx
M editeng/source/accessibility/AccessibleImageBullet.cxx
M editeng/source/accessibility/AccessibleParaManager.cxx
M editeng/source/accessibility/AccessibleStaticTextBase.cxx
M editeng/source/editeng/editdbg.cxx
M editeng/source/editeng/editdoc.cxx
M editeng/source/editeng/editdoc.hxx
M editeng/source/editeng/editeng.cxx
M editeng/source/editeng/editobj.cxx
M editeng/source/editeng/editobj2.hxx
M editeng/source/editeng/editundo.cxx
M editeng/source/editeng/editundo.hxx
M editeng/source/editeng/editview.cxx
M editeng/source/editeng/edtspell.cxx
M editeng/source/editeng/eehtml.cxx
M editeng/source/editeng/eertfpar.cxx
M editeng/source/editeng/eertfpar.hxx
M editeng/source/editeng/impedit.cxx
M editeng/source/editeng/impedit.hxx
M editeng/source/editeng/impedit2.cxx
M editeng/source/editeng/impedit3.cxx
M editeng/source/editeng/impedit4.cxx
M editeng/source/editeng/impedit5.cxx
M editeng/source/outliner/outleeng.cxx
M editeng/source/outliner/outleeng.hxx
M editeng/source/outliner/outlin2.cxx
M editeng/source/outliner/outliner.cxx
M editeng/source/outliner/outlobj.cxx
M editeng/source/outliner/outlundo.cxx
M editeng/source/outliner/outlundo.hxx
M editeng/source/outliner/outlvw.cxx
M editeng/source/outliner/paralist.cxx
M editeng/source/outliner/paralist.hxx
M editeng/source/rtf/svxrtf.cxx
M editeng/source/uno/unoedhlp.cxx
M editeng/source/uno/unoedprx.cxx
M editeng/source/uno/unofored.cxx
M editeng/source/uno/unoforou.cxx
M editeng/source/uno/unotext.cxx
M editeng/source/uno/unotext2.cxx
M filter/source/msfilter/msdffimp.cxx
M filter/source/msfilter/svdfppt.cxx
M forms/source/richtext/specialdispatchers.cxx
M include/editeng/AccessibleParaManager.hxx
M include/editeng/editdata.hxx
M include/editeng/editeng.hxx
M include/editeng/editobj.hxx
M include/editeng/editview.hxx
M include/editeng/outliner.hxx
M include/editeng/outlobj.hxx
M include/editeng/svxrtf.hxx
M include/editeng/unoedhlp.hxx
M include/editeng/unoedprx.hxx
M include/editeng/unoedsrc.hxx
M include/editeng/unofored.hxx
M include/editeng/unoforou.hxx
M include/editeng/unotext.hxx
M include/svx/svdomeas.hxx
M include/svx/svdotext.hxx
M include/svx/svdoutl.hxx
M sc/inc/editutil.hxx
M sc/qa/unit/subsequent_filters-test.cxx
M sc/source/core/data/attrib.cxx
M sc/source/core/data/cellvalue.cxx
M sc/source/core/data/column2.cxx
M sc/source/core/data/documen8.cxx
M sc/source/core/data/global.cxx
M sc/source/core/data/postit.cxx
M sc/source/core/tool/editutil.cxx
M sc/source/filter/excel/xehelper.cxx
M sc/source/filter/excel/xicontent.cxx
M sc/source/filter/html/htmlexp.cxx
M sc/source/filter/xml/xmlcelli.hxx
M sc/source/ui/app/inputhdl.cxx
M sc/source/ui/app/inputwin.cxx
M sc/source/ui/app/transobj.cxx
M sc/source/ui/docshell/docfunc.cxx
M sc/source/ui/drawfunc/drtxtob.cxx
M sc/source/ui/pagedlg/tphfedit.cxx
M sc/source/ui/unoobj/fielduno.cxx
M sc/source/ui/view/editsh.cxx
M sc/source/ui/view/output2.cxx
M sc/source/ui/view/viewdata.cxx
M sc/source/ui/view/viewfun4.cxx
M sc/source/ui/view/viewfunc.cxx
M sd/source/core/sdpage_animations.cxx
M sd/source/core/text/textapi.cxx
M sd/source/filter/html/htmlex.cxx
M sd/source/filter/html/htmlex.hxx
M sd/source/filter/ppt/pptinanimations.cxx
M sd/source/filter/xml/sdtransform.cxx
M sd/source/ui/annotations/annotationmanager.cxx
M sd/source/ui/annotations/annotationwindow.cxx
M sd/source/ui/app/sdmod2.cxx
M sd/source/ui/dlg/dlgassim.cxx
M sd/source/ui/dlg/headerfooterdlg.cxx
M sd/source/ui/func/fuexpand.cxx
M sd/source/ui/func/fuinsfil.cxx
M sd/source/ui/func/fuprobjs.cxx
M sd/source/ui/func/fusumry.cxx
M sd/source/ui/func/futext.cxx
M sd/source/ui/inc/OutlineView.hxx
M sd/source/ui/unoidl/unosrch.cxx
M sd/source/ui/view/DocumentRenderer.cxx
M sd/source/ui/view/Outliner.cxx
M sd/source/ui/view/drawview.cxx
M sd/source/ui/view/drtxtob.cxx
M sd/source/ui/view/drtxtob1.cxx
M sd/source/ui/view/outlnvs2.cxx
M sd/source/ui/view/outlnvsh.cxx
M sd/source/ui/view/outlview.cxx
M sd/source/ui/view/sdview.cxx
M sd/source/ui/view/sdview2.cxx
M starmath/inc/edit.hxx
M starmath/source/accessibility.cxx
M starmath/source/accessibility.hxx
M starmath/source/cursor.cxx
M starmath/source/edit.cxx
M starmath/source/view.cxx
M svx/source/accessibility/AccessibleEmptyEditSource.cxx
M svx/source/accessibility/AccessibleTextHelper.cxx
M svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
M svx/source/sdr/properties/textproperties.cxx
M svx/source/svdraw/svdedxv.cxx
M svx/source/svdraw/svdomeas.cxx
M svx/source/svdraw/svdotext.cxx
M svx/source/svdraw/svdotextpathdecomposition.cxx
M svx/source/svdraw/svdotxat.cxx
M svx/source/svdraw/svdotxed.cxx
M svx/source/svdraw/svdotxfl.cxx
M svx/source/svdraw/svdoutl.cxx
M svx/source/svdraw/svdview.cxx
M svx/source/table/cell.cxx
M svx/source/table/svdotable.cxx
M svx/source/table/tablecontroller.cxx
M svx/source/table/tablertfimporter.cxx
M sw/inc/docufld.hxx
M sw/source/core/fields/docufld.cxx
M sw/source/filter/ww8/docxattributeoutput.cxx
M sw/source/filter/ww8/docxexport.cxx
M sw/source/filter/ww8/rtfsdrexport.cxx
M sw/source/filter/ww8/wrtw8esh.cxx
M sw/source/filter/ww8/wrtww8.hxx
M sw/source/filter/ww8/ww8graf.cxx
M sw/source/ui/docvw/AnnotationWin.cxx
M sw/source/ui/docvw/PostItMgr.cxx
M sw/source/ui/docvw/SidebarWin.cxx
M sw/source/ui/shells/annotsh.cxx
M sw/source/ui/shells/drwtxtsh.cxx
M sw/source/ui/shells/langhelper.cxx
M sw/source/ui/uno/unotxdoc.cxx
154 files changed, 1,848 insertions(+), 1,751 deletions(-)




-- 
To view, visit https://gerrit.libreoffice.org/3838
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Eike Rathke <erack at redhat.com>



More information about the LibreOffice mailing list