首页 \ 问答 \ laravel 建立数据库 索引怎么加

laravel 建立数据库 索引怎么加

更新时间:2019-10-30 12:29

最满意答案

我还没有找到任何规范版本中的任何内容,但我明白这一点 - 我是否正确? 规范中是否有任何内容禁止评论和/或随机出现? 有没有更强大的方式,我错过了?

首先,最好使用ISO 32000-2或至少ISO 32000-1 PDF规范。 Adobe在这里发布了后者的一个版本; 该版本和ISO标准之间的技术资料是相同的,页码和章节号码也保留。 另一方面,根据Adobe个人的观点,Adobe PDF参考文献不被视为“规范性质”。

你的想法是xref部分后面总是跟着拖车,如果是这样的话,我可以在xref非常精确,如果使用交叉参考 后,通过紧接着解析倒数第二个拖车 。 评论栏可能介于中间,但不是“随意的”。

另一方面,如果使用交叉引用 ,则尾部信息被合并到交叉引用流字典中,考虑到交叉引用的偏移量,其实际上更容易找到。


I'm yet to find anything in any of the specification versions that I have been following that is explicit about this though - am I correct? is there anything in the spec prohibiting comments and or random cruft appearing between? Is there a more robust way that I missed?

First of all it is preferable to use the ISO 32000-2 or at least the ISO 32000-1 PDF specification. Adobe published a version of the latter here; the technical material is identical between this version and the ISO Standard, the page and sections numbers are also preserved. The Adobe PDF References, on the other hand, are not considered "normative in nature" according to Adobe personal.

Your idea that xref section is always followed by the trailer and if so I can parse the penultimate trailer by following on immediately after the xref is quite accurate if cross reference tables are used. Comment lines may come in-between but not "random cruft".

If cross reference streams are used, on the other hand, the trailer information is merged into the cross reference stream dictionary which actually is even easier to find given the offset of the cross reference.

相关问答

更多
  • 我还没有找到任何规范版本中的任何内容,但我明白这一点 - 我是否正确? 规范中是否有任何内容禁止评论和/或随机出现? 有没有更强大的方式,我错过了? 首先,最好使用ISO 32000-2或至少ISO 32000-1 PDF规范。 Adobe在这里发布了后者的一个版本; 该版本和ISO标准之间的技术资料是相同的,页码和章节号码也保留。 另一方面,根据Adobe个人的观点,Adobe PDF参考文献不被视为“规范性质”。 你的想法是xref部分后面总是跟着拖车,如果是这样的话,我可以在xref非常精确,如果使用 ...
  • 这有时很难做到,因为BizTalk只读取它不能只找到页脚,所以你需要使用标签标识符或根据页脚记录的内容构建自定义反汇编组件。 This is sometimes difficult to do since BizTalk reads forward only it cannot just locate the footer, so you'll need to either use a tag identifier or build a custom disassembly component based ...
  • 使用pdftk修复它。 与ghostscript不同,它保存了表单字段并重新构建了预告片。 pdftk.exe coorruptedfile.pdf输出fixedfile.pdf 像魅力一样工作 Fixed it using pdftk. Unlike ghostscript it preservs the form fields and reconstructs the trailers nice and fine. pdftk.exe coorruptedfile.pdf output fixedfil ...
  • 一个双重答案: 1)不,Apple没有提供进入预告片的功能。 如果您仍想访问它,则必须将PDF文件作为二进制文件打开,并构建一个通过它的解析器(如描述PDF文件格式的ISO 32000-1标准中所述)。 2)很可能,你不需要(幸运的是,因为这不是一件容易的事)。 Apple精心为您提供以下两个功能: bool CGPDFDocumentIsEncrypted ( CGPDFDocumentRef document ); 这将告诉您文档是否加密。 bool CGPDFDocumentAllowsCopyin ...
  • 似乎没有正式的方法来删除它。 这适用于具有IPv4作为网络层协议的帧: packet_without_trailer=IP(str(packet[IP])[0:packet[IP].len]) It seems there is no official way to remove it. This work on frames that have IPv4 as network layer protocol: packet_without_trailer=IP(str(packet[IP])[0:pack ...
  • 尝试这个: 创建工作流变量,例如$$ TargetFileName 创建一个Assignment Task并为变量分配所需的名称,例如'output_file_' || TO_CHAR(SYSTIMESTAMP(), 'YYYYMMDDHHMISS') || '.txt' 'output_file_' || TO_CHAR(SYSTIMESTAMP(), 'YYYYMMDDHHMISS') || '.txt' 使用会话后命令(例如wc -l < $$TargetFileName >> $$TargetFil ...
  • 有不同的选择: 在路由器之前创建标头并将其发送到所有输出 - 然后将始终创建每个目标 通过命令行回显您的标题和预告片,这将创建一个文件 在路由器联合一行之前(如果没有问题则使其为空,或者将其作为会话后命令的一部分删除) 如果您有关于如何创建整个输出的更多详细信息,那将会很高兴。 Ended up assigning the row count in the detail files to a variable, then generating headers and trailers in a subseq ...
  • 从技术上讲,某些类型的HTTP请求或响应具有“预告片” - 即包含在消息末尾而不是开头的标头。 例如: HTTP/1.1 200 OK Trailer: Expires Expires: %{}^ti和%{}^to日志格式可用于记录这些预告片。 不知道这是为了什么? 别担心,你并不孤单。 大多数HTTP客户端和服务器(包括Web浏览器)不支持或使用预告片。 除非您的应用程序专门使用HTTP预告片,否则您可以放心地忽略它。 It's technical ...
  • 您描述的内容看起来像线性化的PDF。 因此,您已经参考了PDF规范,因此您还应该查看附录F(规范性)线性化PDF ,特别是F.3.11主要交叉引用和预告片(第11部分) : 主预告片没有Prev条目,不得包含Size以外的任何条目。 因此,至少对于线性化的PDF,预告片不需要具有您正在寻找的条目。 严格地说,样本文件的最终预告片实际上存在不同的错误:它包含一个ID条目,尽管它要求它不包含除Size之外的任何条目 。 在F.3.1中,您将找到线性化PDF结束的示例: trailer << /Size 43>> ...
  • 我想您使用的是(错误的)导入方法,但您可以将百分比操作数与字符串一起使用 template = """

    %(text)s

    """ html_message = template % {"text":"Hello World!"} 不要忘记,变量名称格式为:百分号+括号中的名称+格式(s表示字符串) I suppose that you are using a (wrong) impor ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)