https://bugs.documentfoundation.org/show_bug.cgi?id=138691
--- Comment #13 from Robert Großkopf <rob...@familiegrosskopf.de> --- (In reply to Mike Kaganski from comment #12) > (In reply to Robert Großkopf from comment #10) > > (In reply to Julien Nabet from comment #9) > > > perhaps we should check image size just after having selected it? > > > It's in OImageControlControl::implInsertGraphics ... > > > If the image size is > field size => error message and the action isn't > > > done. > > > > I would prefer this solution. > > But can't forms pre-process data before inserting into tables? Then isn't > checking something at entry time too soon? Forms will only link from the path of the image to the table of the database. It works like this: oSimpleFileAccess = createUnoService("com.sun.star.ucb.SimpleFileAccess") oStream = oSimpleFileAccess.openFileRead(stUrl) oField.BoundField.updateBinaryStream(oStream, oStream.getLength()) There is no possibility to limit the content for this field in the form. -- You are receiving this mail because: You are the assignee for the bug.