* src/insets/insetgraphics.C
(findTargetFormat): return pdf for vector graphics
* src/format.h
(Flags): new enum describing format flags
(flags_): new member variable for format flags
(vectorFormat): new, tell whether a format can contain vector graphics
* src/format.C: adjust to flags changes
* src/frontends/qt2QPrefsDialog.C
(QPrefsDialog::QPrefsDialog): handle new vector flag
(QPrefsDialog::switch_format): ditto
(QPrefsDialog::updateFormatsButtons): ditto
(QPrefsDialog::new_format): ditto
(QPrefsDialog::modify_format): ditto
* src/frontends/qt2/ui/QPrefFileformatsModule.ui
(vectorCB): new checkbox for vector flag
* src/lyxrc.C
(LyXRC::read): read vector flag
(LyXRC::write): write vector flag
* lib/doc/Customization.lyx: document format flags
* lib/configure.py
(checkFormatEntries): Add vector flag to some formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16432 a592a061-630c-0410-9148-cb99ea01b6c8
notifyCursorLeaves may have killed the inset and put its contents
at lower level (bug 2908)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16431 a592a061-630c-0410-9148-cb99ea01b6c8
false by default.
(metrics): do not set to openinlined if
hasFixedWidth is true.
* insetbox.C (hasFixedWidth): returns true if the box has a fixed
width.
(metrics): use hasFixedWidth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16425 a592a061-630c-0410-9148-cb99ea01b6c8
* src/text.C
(LyXText::dissolveInset): Reset language to buffer language if the
dissolved inset is an ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16412 a592a061-630c-0410-9148-cb99ea01b6c8
* src/paragraph.C
(Paragraph::changeLanguage): Don't forget the dummy font change at
the end of the paragraph when changing the language. This does not
affect the other place where this code is used:
Buffer::changeLanguage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16409 a592a061-630c-0410-9148-cb99ea01b6c8
* rowpainter.C (paintPar): do not use wide insets when the
paragraph is centered or right-justified.
* paragraph.C (getAlign): take in account LYX_ALIGN_LAYOUT if
needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16321 a592a061-630c-0410-9148-cb99ea01b6c8
(parse_text): Don't output a newline in front of an InsetLatexAccent
(because InsetLatexAccent::write does does it neither)
(parse_text): Don't create invalid code for \i{} and \j{}
(parse_text): Handle \l{} and \L{}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16255 a592a061-630c-0410-9148-cb99ea01b6c8
than the workarea.
* src/text3.C
(cursorPrevious): use cur.dispatch(FuncRequest(LFUN_UP)) instead of
cursorUp(cur).
(cursorNext): ditto for cur.dispatch(FuncRequest(LFUN_DOWN)) vs
cursorDown(cur).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16225 a592a061-630c-0410-9148-cb99ea01b6c8
really expensive on some platforms.
* src/frontends/qt2/qfont_loader.[Ch]
(QLFontInfo::width): rename WidthCache as MetricsCache.
(QLFontInfo::ascent,QLFontInfo::descent): new, return (possibly cached)
ascent/descent values.
* src/frontends/qt2/qfont_loader.h:
implement cache for ascent/descent values in the QLFontInfo class.
* src/frontends/qt2/qfont_metrics.C
(ascent, descent): use the corresponding methods in QLFontInfo class.
Remove support for obsolete Qt/Win 3.2.1nc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16224 a592a061-630c-0410-9148-cb99ea01b6c8
(known_quotes): Fix typo (found by Charles de Miramon)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16204 a592a061-630c-0410-9148-cb99ea01b6c8
- writeout \begin and \end alignment tags on their own lines (bug 3010).
(patch from Gregor Gorjanc and me).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16163 a592a061-630c-0410-9148-cb99ea01b6c8
if we have selected some cells (bug 2715).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16073 a592a061-630c-0410-9148-cb99ea01b6c8
mode, make the cursor jump over it; avoid crash in setCursorIntern
by using the right LyXText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16002 a592a061-630c-0410-9148-cb99ea01b6c8
* src/CutAndPaste.C
(pasteParagraphList): Don't record undo info here...
(pasteSelection): ... but here ...
* src/BufferView_pimpl.C
(BufferView::Pimpl::menuInsertLyXFile): ... and here instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15962 a592a061-630c-0410-9148-cb99ea01b6c8
* src/text3.C
(LyXText::dispatch): An empty argument of LFUN_LAYOUT is now allowd
and means the default layout of the text class
* lib/images/layout.xpm: New image for default layout
* lib/Makefile.am: Add new file
* development/scons/scons_manifest.py: ditto
* lib/ui/stdtoolbars.ui: Add "Deafult" layout button to the extra toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15953 a592a061-630c-0410-9148-cb99ea01b6c8
* lib/configure.py:
Add compatibility code for booleans and use True and False
instead of 'true' and 'false'
* lib/scripts/lyxpreview_tools.py:
* lib/scripts/fig_copy.py:
* lib/scripts/TeXFiles.py:
Fix typo and make code compatible also with python versions
greater than 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15947 a592a061-630c-0410-9148-cb99ea01b6c8
* src/mathed/math_hullinset.C
(MathHullInset::doDispatch): move code for ref insert to MathNestInset
(MathHullInset::getStatus): move code for ref insert to MathNestInset
* src/mathed/math_nestinset.C
(MathNestInset::doDispatch): move code from MathHullInset here
(MathNestInset::getStatus): move code from MathHullInset here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15901 a592a061-630c-0410-9148-cb99ea01b6c8