LibreOffice Module sw (master) 1
|
Run the graphic size checks for all the graphic objects in the DOM and store a list of violations. More...
#include <GraphicSizeCheck.hxx>
Public Member Functions | |
GraphicSizeCheck (SwDoc *pDocument) | |
void | check () |
std::vector< std::unique_ptr< GraphicSizeViolation > > & | getViolationList () |
Private Attributes | |
SwDoc * | m_pDocument |
std::vector< std::unique_ptr< GraphicSizeViolation > > | m_aGraphicSizeViolationList |
Run the graphic size checks for all the graphic objects in the DOM and store a list of violations.
Definition at line 52 of file GraphicSizeCheck.hxx.
|
inline |
Definition at line 59 of file GraphicSizeCheck.hxx.
void sw::GraphicSizeCheck::check | ( | ) |
Definition at line 96 of file GraphicSizeCheck.cxx.
References sw::ModelTraverser::addNodeHandler(), SwDoc::getIDocumentSettingAccess(), IDocumentSettingAccess::getImagePreferredDPI(), m_aGraphicSizeViolationList, m_pDocument, and sw::ModelTraverser::traverse().
Referenced by sw::GraphicSizeCheckGUIResult::GraphicSizeCheckGUIResult().
|
inline |
Definition at line 66 of file GraphicSizeCheck.hxx.
References m_aGraphicSizeViolationList.
Referenced by sw::GraphicSizeCheckGUIResult::GraphicSizeCheckGUIResult().
|
private |
Definition at line 56 of file GraphicSizeCheck.hxx.
Referenced by check(), and getViolationList().
|
private |
Definition at line 55 of file GraphicSizeCheck.hxx.
Referenced by check().