- void CopyIntoMinibuffer(size_type pos);
- ///
- void CutIntoMinibuffer(size_type pos);
- ///
- void InsertFromMinibuffer(size_type pos);
- ///
- bool IsHfill(size_type pos) {
- return IsHfillChar(GetChar(pos));
- }
-
- ///
- bool IsInset(size_type pos) {
- return IsInsetChar(GetChar(pos));
- }
-
- ///
- bool IsFloat(size_type pos) {
- return IsFloatChar(GetChar(pos));
- }
-
- ///
- bool IsNewline(size_type pos) {
- bool tmp = false;
- if (pos >= 0)
- tmp= IsNewlineChar(GetChar(pos));
- return tmp;
- }
-
- ///
- bool IsSeparator(size_type pos) {
- return IsSeparatorChar(GetChar(pos));
- }
-
- ///
- bool IsLineSeparator(size_type pos) {
- return IsLineSeparatorChar(GetChar(pos));
- }
-
- ///
- bool IsKomma(size_type pos){
- return IsKommaChar(GetChar(pos));
- }
-
- /// Used by the spellchecker
- bool IsLetter(size_type pos);
-
- ///
- bool IsWord(size_type pos ) {
- return IsWordChar( GetChar(pos) ) ;
- }
-#else
- ///
- int Last();
- ///
- void Erase(int pos);
- /** the flag determines wether the layout should be copied
- */
- void BreakParagraph(int pos, int flag);
- ///
- void BreakParagraphConservative(int pos);
- /** Get unistantiated font setting. Returns the difference
- between the characters font and the layoutfont.
- This is what is stored in the fonttable
- */
- LyXFont GetFontSettings(int pos);
- /** Get fully instantiated font. If pos == -1, use the layout
- font attached to this paragraph.
- If pos == -2, use the label font of the layout attached here.
- In all cases, the font is instantiated, i.e. does not have any
- attributes with values LyXFont::INHERIT, LyXFont::IGNORE or
- LyXFont::TOGGLE.
- */
- LyXFont getFont(int pos);
- ///
- char GetChar(int pos);
- ///
- void SetFont(int pos, LyXFont const & font);
- ///
- string GetWord(int &);
- /// Returns the height of the highest font in range
- LyXFont::FONT_SIZE HighestFontInRange(int startpos, int endpos) const;
- ///
- void InsertChar(int pos, char c);
- ///
- void InsertInset(int pos, Inset * inset);
- ///
- Inset * GetInset(int pos);
- ///
- Inset * ReturnNextInsetPointer(int & pos);
- ///
- void OpenFootnote(int pos);
- ///
- void CloseFootnote(int pos);
- /// important for cut and paste
- void CopyIntoMinibuffer(int pos);