Pārlūkot izejas kodu

ComPdfKit(android) - sdk增加接口:View模式下是否能选中文本

libaiaaa 6 mēneši atpakaļ
vecāks
revīzija
5b4b99e1cc

BIN
ComPDFKit_Repo/compdfkit-ui/ComPDFKit-UI.aar


BIN
ComPDFKit_Repo/compdfkit/ComPDFKit.aar


+ 2 - 1
ComPDFKit_Tools/src/main/java/com/compdfkit/tools/common/pdf/CPDFApplyConfigUtil.java

@@ -92,7 +92,8 @@ public class CPDFApplyConfigUtil {
             readerView.setVerticalMode(readerViewConfig.verticalMode);
             readerView.setCropMode(readerViewConfig.cropMode);
             readerView.setPageSameWidth(readerViewConfig.pageSameWidth);
-            readerView.setReaderViewHorizontalMargin(50);
+            //readerView.setReaderViewHorizontalMargin(50);
+            //readerView.setCanSelectTextInViewMode(false);
             switch (readerViewConfig.themes) {
                 case Dark:
                     readerView.setReadBackgroundColor(ContextCompat.getColor(fragment.getContext(), R.color.tools_themes_dark));