From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Mon Jun 02 2003 - 05:13:19 EDT
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/text/fmt/xp/fl_BlockLayout.cpp
CVS: src/text/fmt/xp/fl_BlockLayout.h
CVS: src/text/fmt/xp/fl_ContainerLayout.cpp
CVS: src/text/fmt/xp/fl_ContainerLayout.h
CVS: src/text/fmt/xp/fp_TextRun.cpp src/text/fmt/xp/fp_TextRun.h
CVS: src/text/fmt/xp/fv_View.cpp src/text/fmt/xp/fv_View.h
CVS:
----------------------------------------------------------------------
New methods to extract text from the document for plugins and other
uses.
OK these new methods are:
void FV_View::getTextInCurrentBlock(UT_GrowBuf & buf);
void FV_View::getTextInCurrentSection(UT_GrowBuf & buf);
void FV_View::getTextInDocument(UT_GrowBuf & buf);
void fl_ContainerLayout::appendTextToBuf(UT_GrowBuf & buf);
These are useful for plugins such as ots and grammer chackers who want
to extract text from the document.
Please let me know if you need more hooks into abi internals for your
favourite plugin.
Cheers
Martin
-- Martin Sevior <msevior@physics.unimelb.edu.au> University of Melbourne
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 04:21:12 EDT