问题标签 [docview]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
487 浏览

emacs - 强制 DocView 模式在不确认的情况下显示更新的文件?

我使用 DocView 模式通过“latex-preview-pane-mode”显示 .pdf 编译。最近,Emacs 会问我“文件____.pdf 已在磁盘上更改。从磁盘重新读取?(是或否)”。

每次输入“是”都会扰乱我的工作流程。我尝试为 DocView 缓冲区设置自动恢复模式,但这没有帮助。有没有办法解决这个问题,或者知道为什么它突然改变了(最近我的 .emacs.d 没有变化)。

0 投票
4 回答
569 浏览

c++ - Tracking tooltip in CScrollView?

In a standard C++/MFC MDI doc/view project, I want to implement a tracking tooltip in the view (the tabbed view windows which generally occupy most of the main frame window). So, in class MyAppView, I have a member CToolTipCtrl tooltip. Function MyAppView::OnInitialUpdate() contains the initialization

to make the entire client area of the view be the "tool". The message map contains an entry

and the function OnNeedToolTipText is defined as

What happens is that only placing the mouse on the menu items (File, Edit, View, Window, Help) causes the code to enter OnNeedToolTipText, with an ID of 0-5. Moving the mouse into the client area (the view) does nothing.

How can I get the tooltip to appear in the client area of the view only?

Visual Studio 2017; C++; 64-bit Windows 7

0 投票
0 回答
42 浏览

docview - 需要帮助为 .clr 创建规则以帮助将一些数据导出到 Excel 文件

基本上,这些数据在我可以使用“Unicenter Outpout Management Document Viewer”查看的报告中......一旦我看到结果,我就可以使用以下参数导出导出类型 = 工作表工作表格式 = .XLS

我还可以加载包含我喜欢应用的规则的列规则名称文件,即“COLRULE BLANKLINE DISCARD”

下面是如何呈现数据的示例。由于隐私原因,我更改了一些值,我没有更改格式或间距。

标题:文件编号:CN15 处理日期:20170923

细节

SL Agt Reason Cd 保单号 Prem Amt. 通信率 通信量。Agt Shr
Comm Yr Ins Name Pay To Date Cov Code GW Agt SL Agt Name Annual Prem Amt

001234 CSERF 0012345678 3.92 5.0000 0.20- 100.000
17 EVESO 20171028 00220 652348 ABCDE 47.04
001234 CSERF 0012345678 70.30 5.0000 3.52- 100.000
17 EVESO 20171028 30086 652348 ABCDE 843.60
001234 CSERF 0012345678 14.83 5.0000 0.74- 100.000
17 EVESO 20171028 30015 652348 ABCDE 177.96
001234 CSERF 0012345678 26.28 5.0000 1.31- 100.000
17 EVESO 20171028 30086 652348 ABCDE 315.36

由于数据接缝自动转到下一行,我不知道可以应用什么类型的规则来让标题进入第 1 行,然后正确读取数据。

如果有人有想法,请帮忙。

先感谢您。

干杯

0 投票
0 回答
69 浏览

reactjs - 无法在 spfx 的反应文件查看器中查看来自 sharepoint 的文件

当我尝试从此 repo https://codesandbox.io/s/react-file-reader-forked-3oszl?file=/src/index.js中的反应文件查看器时,我能够查看来自在线示例的文件,但不能查看共享点url,当我这样做时,我收到了 cros 错误

在 'https://sharepoint.com/sites/DevL/Clients/AVM001103/Forms/AllItems.aspx?id=%2Fsites%2FDevL%2FClients%2FAVM001103%2FResults%2Edocx&parent=%2Fsites%2FDevL%2FClients%2FAVM001103 访问 XMLHttpRequest ' from origin 'https://w2hpd.csb.app' 已被 CORS 策略阻止:请求的资源上不存在“Access-Control-Allow-Origin”标头。